Skip to content

noizwaves/blog

Repository files navigation

noizwaves.github.io

Professional blog powered by F#, Suave.IO, and .NET Core. Inspired by Jekyll.

CircleCI

Quick start

  1. Open in VS Code using Dev Containers
  2. dotnet restore
  3. fake build
  4. dotnet run -p NoizwavesBlog
  5. View the blog
  6. View a post

Tests

  1. dotnet test

Features

Drafts

Draft posts can be displayed by setting the DRAFTS environment variable to a non-empty value.

To see drafts locally, run:

  1. DRAFTS=true dotnet run -p NoizwavesBlog

Static Site generation

In addition to running as a web server, a complete version of the blog can be generated.

  1. dotnet run -p NoizwavesBlog -- static
  2. python3 -m http.server --directory output
  3. open http://localhost:8000

TODO

  • build the concept of all posts and all pages into the domain
  • move HTML generation into HTML and handle into WebServer
  • pull concept of drafts and visibility into the domain
  • use a real YAML deserializer instead of the hand-rolled simple one