Skip to content

release: Scriban {{ include }} support#29

Merged
tgiachi merged 2 commits into
mainfrom
develop
Jul 2, 2026
Merged

release: Scriban {{ include }} support#29
tgiachi merged 2 commits into
mainfrom
develop

Conversation

@tgiachi

@tgiachi tgiachi commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Release

Promotes develop to main to trigger semantic-release + NuGet publish.

Included

  • feat(templating): {{ include 'name' }} in Scriban templates, resolving from registered templates (incl. the templates/**/*.tmpl auto-loaded at startup), via a NamedTemplateLoader. Model binding unchanged.

Full suite green (990 tests), build 0 errors / 0 new warnings.

public async Task Include_AutoLoadedFromDisk_Works()
{
using var temp = new TempDirectory();
var templatesDir = Path.Combine(temp.Path, "templates");
{
using var temp = new TempDirectory();
var templatesDir = Path.Combine(temp.Path, "templates");
Directory.CreateDirectory(Path.Combine(templatesDir, "partials"));
using var temp = new TempDirectory();
var templatesDir = Path.Combine(temp.Path, "templates");
Directory.CreateDirectory(Path.Combine(templatesDir, "partials"));
await File.WriteAllTextAsync(Path.Combine(templatesDir, "partials", "header.tmpl"), "HEADER");
Directory.CreateDirectory(Path.Combine(templatesDir, "partials"));
await File.WriteAllTextAsync(Path.Combine(templatesDir, "partials", "header.tmpl"), "HEADER");
await File.WriteAllTextAsync(
Path.Combine(templatesDir, "page.tmpl"),
@tgiachi
tgiachi merged commit 1088dd1 into main Jul 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants