Skip to content

πŸͺ„ A simple static blog generator written in Go.

License

Notifications You must be signed in to change notification settings

pprobst/beatrice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

308a463 Β· Sep 22, 2021

History

26 Commits
Sep 13, 2019
Sep 10, 2019
Sep 13, 2019
Mar 25, 2020
Sep 22, 2021
Nov 26, 2019
Mar 10, 2020
Nov 26, 2019
Nov 26, 2019
Sep 17, 2019

Repository files navigation

beatrice

A simple static blog generator written in Go.

https://beatrice-example.surge.sh/

Installation

go get github.com/pprobst/beatrice

Or just download this repository and run go build or go install.

How do I even...?

After "getting" the package/repo, you can initially configure your blog by editing the file config.yml. It comes with some pre-defined configs just as an example.

There're mainly two directories you'll work with: about and posts.

about will hold a markdown file regarding yourself, while posts will, of course, hold your posts' markdown files. You can get started by looking at the pre-defined files; get used at how the header in each file must be written, and then... have some fun writing your own posts!

Running

When you're ready, just run beatrice. If everything went right, the message Fin. will be displayed. The generated files will be inside the static directory.


Inspirations

Todo

  • Better error handling, maybe.
  • Dedicated directory for images.