Post & Feature Workflow
Read this file before starting any post or feature.
New Posts
- Create GitHub issue — use the Post Idea template; select appropriate category
- Create branch —
git checkout -b post/<issue-number>-<slug>(e.g.,post/42-graph-neural-networks) - Write draft — create
_drafts/<slug>.mdwith proper front matter - Preview —
bundle exec jekyll serve --drafts - Finalize — move to
_posts/YYYY-MM-DD-<slug>.md - Create PR — use the PR template, include
Closes #<issue-number> - Merge — issue auto-closes
Site Features
- Create GitHub issue — use the Feature Request template
- Create branch — use appropriate prefix (see below)
- Implement — follow code conventions
- Create PR — use the PR template, reference issue
Trivial Changes
Skip issue for typos, small fixes, docs-only changes. Branch + PR still recommended.
Branch Naming
post/<issue>-<slug>— new postsfeat/<name>— new featuresfix/<name>— bug fixesdocs/<name>— documentation only
Categories
| Category | Description | Use gh-page for external link |
|---|---|---|
learning |
Tutorial, educational content | rarely |
thought |
Personal reflection, opinion | no |
resource |
Curated list, reference guide | sometimes |
book |
Book summary or review | no |
repository |
Project showcase (GitHub repo) | yes |
paper |
Published paper page | yes |
For repository and paper posts, use gh-page: <url> in front matter to link directly to the external GitHub Pages site.
Templates
- Issues:
.github/ISSUE_TEMPLATE/(post-idea.yml, post-feedback.yml, feature-request.yml) - PRs:
.github/PULL_REQUEST_TEMPLATE.md— fill out Summary, Type, Checklist - Contributing:
.github/CONTRIBUTING.mdfor full setup guide
Front Matter Reference
---
layout: post
title: Post Title
abstract: Short summary for listings
category: learning # learning, thought, resource, book, repository, paper
tags: [tag1, tag2]
time: 5 # reading time in minutes
words: 1000 # word count
image: https://assets.hummat.com/images/thumb.png # thumbnail
gh-page: https://hummat.github.io/project # external link (repository/paper)
circular: true # round thumbnail (optional)
mathjax: true # LaTeX math (optional)
plotly: true # Plotly charts (optional)
jquery: true # data-include loader (optional)
---
