2021-11-30 15:17:01 +00:00
|
|
|
# posts-go
|
2020-12-23 07:44:24 +00:00
|
|
|
|
2023-09-24 18:13:52 +00:00
|
|
|
[![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)
|
|
|
|
|
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
|
|
|
|
|
|
|
## Thanks
|
|
|
|
|
2022-12-25 19:13:58 +00:00
|
|
|
- https://github.com/sindresorhus/github-markdown-css
|
|
|
|
- https://github.com/google/go-github
|