Nav apraksta

Lucas Stadler 2c8b5e2aab Ignore generated html files 10 gadi atpakaļ
..
.gitignore 2c8b5e2aab Ignore generated html files 10 gadi atpakaļ
Makefile 70c970da8e Add a Makefile 10 gadi atpakaļ
README.md 769427e00d Update the README with some of the new features 10 gadi atpakaļ
blog.go 56f48db831 Allow specifying content options in the YAML file 10 gadi atpakaļ
blog.yaml 56f48db831 Allow specifying content options in the YAML file 10 gadi atpakaļ

README.md

A very simple (link)blog

Want a very simple blog? Just run blog blog.yaml and be done.

See https://papill0n.org/blog.html for an example blog.

Usage

$ go get github.com/heyLu/lp/go/blog
$ blog <yaml-file> > blog.html
$ firefox blog.html
# upload it somewhere!

Features

Not many.

  • post types (see blog.yaml for usage examples)
    • shell: Write about an interesting shell command
    • link: Quickly post a link
    • image: Post an image
    • song: Post a song (using <audio>)
    • text: Write an actual blog post (or just a heading)
    • video: Post a video (from YouTube)
  • a simple tagging system