In the process of learning more Nim I whipped this up last night:

[https://github.com/bketelsen/blog](https://github.com/bketelsen/blog)

Served on netlify at:

[https://loving-albattani-9f17d6.netlify.com](https://loving-albattani-9f17d6.netlify.com)/

  * the Contact link in the header doesn't work (no page there yet)
  * the blog posts list (which is served in the default route) is hard-coded
  * about/links content in the nav bar come from the /pages folder and are 
stored in markdown - the blog posts will be like this too



I had one major issue... none of the yaml or markdown parsers worked with nim's 
JS backend. So my yaml frontmatter is parsed as key/value pairs (probably 
poorly too) and I parse the markdown in javascript. WOW the .importc pragma is 
amazing for doing things like that. just wow.

Any constructive criticism or advice on the code so far would be welcomed, I'd 
much rather start with good habits than bad!

Reply via email to