Migration from self-hosted Wordpress to Jeykll on Github Pages => https://automationadmin.com.
Minimal Mistakes => The blog's parent theme
-
Setup my markdown template for new posts as follows:
--- title: New Note date: Ctrl + Shift + Alt + i author: gerryw1389 layout: single classes: wide permalink: /copy file name WITHOUT Extension - ex: /2019/08/opendns/ tags: - Azure - Terraform --- <!--more--> ### Description: Text ### To Resolve: 1. Text2 -
To get it to show line numbers for code blocks, inside
_config.ymlI set:markdown: kramdown kramdown: syntax_highlighter: rouge syntax_highlighter_opts: css_class: "highlight" span: line_numbers: false block: line_numbers: true
-
Recently, I wanted to change the font to be smaller, I did this by editing
/assets/css/main.scssand putting in:--- # Only the main Sass file needs front matter (the dashes are enough) --- @charset "utf-8"; @import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin @import "minimal-mistakes"; // main partials // https://github.com/mmistakes/minimal-mistakes/issues/1219#issuecomment-326809412 html { font-size: 12px; // originally 16px @include breakpoint($medium) { font-size: 16px; // originally 18px } @include breakpoint($large) { font-size: 18px; // originally 20px } @include breakpoint($x-large) { font-size: 20px; // originally 22px } }- So font size went from
18 => 16,20 => 18, and22 => 20for each type
- So font size went from
-
For left sidebar options for single posts, I use the following at
_data/naviagation.yml:categories: - title: Home children: - title: "<= Back To Home" url: https://automationadmin.com/ - title: "Popular Posts" url: https://automationadmin.com/2016/02/popular-posts/ - title: Donate children: - title: "Buy me a coffee ❤" url: https://www.paypal.com/paypalme2/gerryw1389 -
For Google Adsense I pasted code into
includes/head/custom.html- More info on my blog if needed
- I recently moved from disqus to utterances per the Parent Theme's docs.
-
Change dates from
%B %d, %Yto%Y-%m-%dby adding underdefaults:the sub valuesshow_date: trueanddate_formatper docs -
Anything I might have missed should be here.
-
NOTE: I'm currently stuck on version 4.16.5 due to an issue I discussed here. It's probably an easy fix but I haven't figured it out yet :/
See Parent Theme for any licenses with anything outside of _posts. Please see the MIT license for licensing for my content inside _posts.