Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 858 Bytes

SETUP.md

File metadata and controls

60 lines (37 loc) · 858 Bytes

Setup

dotnet new console --name blog

cd blog

dotnet add package Statiq.Web --version 1.0.0-beta.54

dotnet add package Devlead.Statiq --version 0.18.0

Update Program.cs

using System.Threading.Tasks;
using Statiq.App;
using Statiq.Web;

return await Bootstrapper
  .Factory
  .CreateWeb(args)
  .AddTabGroupShortCode()
  .AddIncludeCodeShortCode()
  .RunAsync();

mkdir input

cd input

mkdir posts

cd posts

touch index.md

Title: My First Statiq page
---
# Hello World!

Hello from my first Statiq page.

Testing

touch paged-archive.cshtml

Copy from Paged Archive

dotnet run

dotnet run -- preview

Theme

cd src

git submodule add https://github.com/statiqdev/CleanBlog.git theme