Overview
Template for github blog hosting.
Has Features:
- feed support
- post category support
- github comments
Theme
- add the following line in
pelicanconf.py
to enabled fenced code.
MARKDOWN = {"extensions": ["fenced_code", "codehilite"]}
- copy theme folder to your repo.
- add the following line in
pelicanconf.py
to use the theme.
THEME = "./theme"
- add the following line in
pelicanconf.py
to use 404 page.
TEMPLATE_PAGES = { "404.html": "404.html" }
Github comments
- add the following line in
publishconf.py
to use github comments.
GITHUB_REPO = "github repo name"
GITHUB_OWNER = "github user name"
- update field
assignees
in.github/ISSUE_TEMPLATE/comments-issue.md
to github user name.
Writing Posts
- create
content
folder (if not existing). - create
articles
folder in above folder (if not existing). - create category folder for the post in above folder (if not existing).
- create a post with "
year
-month
-day
_slug for post
.md" name. - add following yaml front matter.
---
issue: github-issue-number
status: published-or-unpublished
summary: summary-of-post
tags: comma-separated-tags
title: title-of-post
---
- following this content add your post in markdown format
Coming Soon
Todo list is here.