Brak opisu

Lucas Stadler e2361eb334 Write to the same directory as the input file 10 lat temu
..
.gitignore 2c8b5e2aab Ignore generated html files 10 lat temu
Makefile 70c970da8e Add a Makefile 10 lat temu
README.md 769427e00d Update the README with some of the new features 10 lat temu
blog.go e2361eb334 Write to the same directory as the input file 10 lat temu
blog.yaml 575f389259 Allow specifying the output file in the YAML prefix 10 lat temu

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