Skip to content

Project for the Mojovation Consulting website (published via GitHub Pages / Jekyll)

Notifications You must be signed in to change notification settings

neilstudd/mojovation

Repository files navigation

Notes to self

Config currently coded to the Minimal theme, with additional CSS tweaks which are annotated in style.scss

To run locally:

bundle exec jekyll serve

To view with draft posts:

Add --drafts to the above command

Automatically publishing posts:

If you include a future timestamp on a post, the post won't get created until that time has passed. Unfortunately that doesn't happen automatically (requires a rebuild of the site in order for the post to be generated). For that reason, there's a GitHub Action which does a daily deployment at 5am UTC; so if you create a blog post with a timestamp of "tomorrow at 1am", it will go live at 5am tomorrow when the action runs. 🪄

Configuration options

  • To hide the contact CTA in a page footer: add hide_contact_cta: true in front matter
  • To hide a page from the sitemap XML: add sitemap: false in the front matter
  • To display a published date on a static page: just add date: <timestamp> as per blog posts
  • To display a cover image at the top of the post: add image: /assets/img/my-header-image.jpg in the front matter (NB: requires complete relative path so that RSS feed generates correct link)
  • To ensure books have a thumbnail on the book review page: add cover: /assets/img/my-book-image.jpg in the front matter

Jekyll cheat sheets

Jekyll docs
Jekyll cheat sheet
Setting up a GitHub Pages site with Jekyll
Date formats - strftime

About

Project for the Mojovation Consulting website (published via GitHub Pages / Jekyll)

Resources

Stars

Watchers

Forks