2021-11-30 15:17:01 +00:00
|
|
|
# posts-go
|
2020-12-23 07:44:24 +00:00
|
|
|
|
2024-06-08 09:02:15 +00:00
|
|
|
[![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)
|
2023-09-24 18:13:52 +00:00
|
|
|
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/posts-go)](https://github.com/haunt98/posts-go/tags)
|
|
|
|
|
2022-07-10 11:24:30 +00:00
|
|
|
Write markdown, convert to html, then publish using Github Pages.
|
|
|
|
|
2023-08-15 09:41:35 +00:00
|
|
|
First add GitHub access token in `~/.netrc`.
|
2022-12-25 19:13:58 +00:00
|
|
|
|
2022-07-10 11:24:30 +00:00
|
|
|
Steps:
|
|
|
|
|
2022-12-25 19:13:58 +00:00
|
|
|
- Write new post in `posts`
|
2022-07-10 11:24:30 +00:00
|
|
|
|
2022-12-25 19:13:58 +00:00
|
|
|
- Update index in `posts/index.md`
|
2022-07-10 11:24:30 +00:00
|
|
|
|
2022-12-25 19:13:58 +00:00
|
|
|
- Generate HTML by running `make`
|
2022-07-12 06:57:31 +00:00
|
|
|
|
2024-03-01 10:11:20 +00:00
|
|
|
I use
|
|
|
|
[My fonts CSS](https://gist.github.com/haunt98/b2e40a3e4882e820a04816a7f1dc2358)
|
|
|
|
|
2022-07-12 06:57:31 +00:00
|
|
|
## Thanks
|
|
|
|
|
2022-12-25 19:13:58 +00:00
|
|
|
- https://github.com/sindresorhus/github-markdown-css
|
|
|
|
- https://github.com/google/go-github
|