My tech blog where I write about my experiences, lessons learned, my projects and perhaps ideas.
My blog are currently hosted by Github Pages and use Jekyll to generate the site as supported by Github Pages.
Based on the official Posts guide
Add a file to the _posts
folder on the format YEAR-DAY-MONTH-TITLE.md
.
All posts must start with front matter (meta data inside a block of three dashes). Use this template:
---
layout: post
title: "TITLE"
description: "DESCRIPTION"
date: YYYY-MM-DD HH:MM:SS +0100
categories: [category]
tags: [tag]
permalink: /LINK/
lang: language_TERRITORY
image: /assets/IMAGE.png
author: "Stian Jørgensrud"
---
Add as many tags as you want to describe the post. Add few categories (because they can be part of the url). Categories is meant to group posts in a hierarchy (is my understanding).
Add this to the end of articles
---
Last updated May 1 2020
Comments on this text? [Create an issue on Github!](https://github.com/Sti2nd/sti2nd.github.io/issues)
- Ruby
- Bundler with
gem install bundler
- Everything else in the Gemfile with
bundle install
Run with bundle exec jekyll serve
Use bundle exec jekyll serve --drafts
to see drafts as well.
Just push, and Github will build and deploy.
- Delete
Gemfile.lock
- Set the
github-pages
gem to the latest version listed here: pages.github.com/versions/ - Run
bundle update