https://github.com/phanan/til
The source code for https://til.phanan.net
https://github.com/phanan/til
hugo
Last synced: 12 months ago
JSON representation
The source code for https://til.phanan.net
- Host: GitHub
- URL: https://github.com/phanan/til
- Owner: phanan
- Created: 2017-04-13T10:18:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-17T09:06:43.000Z (almost 8 years ago)
- Last Synced: 2025-04-11T02:51:17.334Z (about 1 year ago)
- Topics: hugo
- Language: HTML
- Size: 839 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIL
The source code for [my TIL site](https://til.phanan.net), powered by [Hugo](https://gohugo.io/) using [After Dark](https://comfusion.github.io/after-dark/) theme.
## Installation
1. Install Hugo
1. 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/.md`. Generally I'd use the date as the post name, so `hugo new post/27-01-17.md`.
1. Edit the post at will: `vi content/post/27-01-17.md`
1. Generate the content with `hugo --theme=after-dark`
1. Run the server with `hugo server`
## Deploy
1. Commit all changes
1. Run the deploy script: `bash _scripts/publish_toghpages.sh`