HeimdallFramework.Templates.SsgApp
3.1.0
dotnet new install HeimdallFramework.Templates.SsgApp@3.1.0
Heimdall SSG App Template
ASP.NET Core static site generation starter for Heimdall.
Use this template when you want an app that can generate public static HTML at build time while still using the ASP.NET Core host, dependency injection, FluentHtml pages, MVC view rendering, markdown content, copied assets, sitemap generation, robots.txt, and optional live Heimdall runtime sections when the app is served dynamically.
Install
dotnet new install HeimdallFramework.Templates.SsgApp
dotnet new heimdall-ssg -n MyHeimdallDocs
cd MyHeimdallDocs
dotnet run
Generate Static Output
The template generates static output during build:
dotnet build
You can also run generation directly:
dotnet run -- --heimdall-generate-static
The helper also accepts --generate-static and generate-static.
What You Get
- Explicit Heimdall static page registration
- FluentHtml static pages
- MVC view static rendering
- Markdown rendering through Markdig
- A hybrid static page that can load live content from a Heimdall action
- Shared path-base aware layout
- Copied web root assets
- Copied Heimdall runtime static web assets
- Favicon, stylesheet, sitemap.xml, robots.txt, 404.html, and generation manifest
GenerateHeimdallStaticSiteOnBuildenabled by default
Package Versions
The template currently targets:
HeimdallFramework.Server3.0.0HeimdallFramework.Web3.0.0Markdig1.3.2.NETnet10.0
Documentation
Full documentation:
https://heimdall-framework.org
License
MIT
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.