posts-go/README.md

25 lines
666 B
Markdown

# posts-go
[![Go](https://github.com/haunt98/posts-go/workflows/Go/badge.svg?branch=main)](https://github.com/haunt98/posts-go/actions)
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/posts-go)](https://github.com/haunt98/posts-go/tags)
Write markdown, convert to html, then publish using Github Pages.
First add GitHub access token in `~/.netrc`.
Steps:
- Write new post in `posts`
- Update index in `posts/index.md`
- Generate HTML by running `make`
I use
[My fonts CSS](https://gist.github.com/haunt98/b2e40a3e4882e820a04816a7f1dc2358)
## Thanks
- https://github.com/sindresorhus/github-markdown-css
- https://github.com/google/go-github