rmorais / blog

This is the source code for my personal blog

Home Page:https://blog.ruimorais.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the source code for my blog.

The blog is a static site generated with Hugo and hosted in GitHub Pages. We are also using Mdoc to compile the scala code snippets, so we always generate correct code. To help us with the site generation we use sbt-site and for publishing to ghpages we use sbt-ghpages

Blog post

Blog posts should be created in the posts directory. See existing posts for examples.

Validating scala snippets

After the post is created, we need to make sure that the code is actually correct. Execute the following to compile the source code

sbt mdoc

Preview the blog

To generate and preview the blog.

sbt previewSite

Publishing to GitHub Pages

To publish the blog, execute the folowing.

sbt ghpagesPushSite

Live reloading

This setup was heavily inspired by Viktor Lövgren's blog

About

This is the source code for my personal blog

https://blog.ruimorais.com


Languages

Language:Scala 100.0%