Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexashley/blog-a-gogo
https://github.com/alexashley/blog-a-gogo
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexashley/blog-a-gogo
- Owner: alexashley
- Created: 2016-01-06T07:06:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T01:21:13.000Z (almost 9 years ago)
- Last Synced: 2023-03-02T08:32:24.033Z (over 1 year ago)
- Language: Go
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog a Gogo
A static site generator and content tracker written in Go.
## Dependencies
- [YAML](https://github.com/go-yaml/yaml)
- [blackfriday](https://github.com/russross/blackfriday)## Usage
A small sample site is included. After building, run `./blog-a-gogo -runServer` to see the generated site running on port 8080
Blog posts should use the extension `.post` and contain Markdown syntax. You can give Blog a Gogo some information about files in the content directory by using a YAML block at the start of the file (aka front matter).
```yaml
---
title: My First Post
blurb: This is my very first post.
date: 2016-01-010
---
```To add an HTML page, create a file ending in `.tmpl` and place it in the content directory.
## Configuration
See `./blog-a-gogo -help` and `config.yml` for configuration options.
## To-Do
- Unit testing
- Track the template directory