Skip to content

phanan/til

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published