Skip to content

rmorais/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages