This is a source code for the Statiq Tutorial article published on Netlify. The output of this project for published content is available on https://statiq-tutorial.netlify.app/. The output of this project for unpublished content is available on https://statiq-tutorial-preview.netlify.app/.
The project uses data from the input
directory markdown files. It also uses content from headless CMS Kontent from the 60bc2ac5-f3d6-004c-063e-56febdd011c2
projectId.
Generated models are stored in the Models
directory. They are generated by Kontent Generator tool. GenerateModels.ps1
is a Powershell script which gets projectId
from appsettings.json
and is responsible for generating these models.
Pipelines are responsible for processing markdown files or getting content from the headless CMS. This content is transformed into HTML documents using rendering modules.
Output directory is created by running dotnet run
or dotnet run --preview
. ❕.NET5 required