26 lines
843 B
Markdown
26 lines
843 B
Markdown
# posts-go
|
|
|
|
[![Go](https://github.com/haunt98/posts-go/actions/workflows/go.yml/badge.svg)](https://github.com/haunt98/posts-go/actions/workflows/go.yml)
|
|
[![gitleaks](https://github.com/haunt98/posts-go/actions/workflows/gitleaks.yml/badge.svg)](https://github.com/haunt98/posts-go/actions/workflows/gitleaks.yml)
|
|
[![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
|