Skip to content

Latest commit

 

History

History
66 lines (38 loc) · 1.55 KB

README.md

File metadata and controls

66 lines (38 loc) · 1.55 KB

Mart's Hugo blog

Visit https://blog.martdegraaf.nl/

A PR will trigger a deployment to Azure Static Web Apps for staging purposes.

A commit on the main branch will (also) be deployed to GitHub pages. Visit https://martdegraaf.github.io/

Navigate to the blog

cd .\src\blog

New code post

hugo new --kind code-post posts/new

New book review

hugo new --kind book-review reviews/books/cool-book.md

Blog in Dutch

Not use this for findability

hugo new posts/nederlandse-blog-post.nl.md

Blog covers

Generate a cover image with the following dimensions: 776x582
for the blog: https://green-ocean-0187fc203-19.westeurope.2.azurestaticapps.net/posts/consulting/foreach-repo-push-and-pr/

Run it

Add --disableFastRender to disable the fast render of the site. This will make sure the CSS is generated correctly.

hugo server --buildDrafts --buildFuture --disableFastRender

See future posts

hugo list future

Links to start blogging

  1. Emoiji cheat sheet
  2. Fontmatter Hugo

notes to self

Abbreviation examples Azure resources

Thanks to

  1. Jackson Lucky's blog - LastModified

Ideas for blog:

  1. SonarCloud?
  2. Builder pattern TestContainers Respawn