phanan / til

The source code for https://til.phanan.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TIL

The source code for my TIL site, powered by Hugo using After Dark theme.

Installation

  1. Install Hugo
  2. Install After Dark version 1.6.1 by copying the theme into themes/after-dark (the site was configured for this version and I'm just too lazy to upgrade)

Development

  1. Create a new post with hugo new post/<post-name>.md. Generally I'd use the date as the post name, so hugo new post/27-01-17.md.
  2. Edit the post at will: vi content/post/27-01-17.md
  3. Generate the content with hugo --theme=after-dark
  4. Run the server with hugo server

Deploy

  1. Commit all changes
  2. Run the deploy script: bash _scripts/publish_toghpages.sh

About

The source code for https://til.phanan.net


Languages

Language:HTML 66.9%Language:Shell 16.8%Language:CSS 16.3%