~rjpcasalino/bss

a boring static site generator written in perl
updates a say
adds YAML to nix-shell
gets collections working the correct way...I hope

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~rjpcasalino/bss
read/write
git@git.sr.ht:~rjpcasalino/bss

You can also use your local clone with git send-email.

hi

**this is a work in progress!

bss - boring static site generator

  • Getting Started VERBOSE=1 will make bss talkative.

    bss reads manifest.ini for configuration options:

    [build]
    src=src/
    dest=_site/
    templates_dir=src/templates
    watch=false
    collections=posts
    exclude=*.md,*.markdown,templates,junk
    encoding=UTF-8
    [server]
    port=8090
    host=127.0.0.1
    
    

    Please note the lack of quotes in values.

    Pages begin (as in Jekyll) with a YAML "front matter" block:

    ---
    title: Nine Stories
    layout: default 
    meta:
     - description: A collection of short stories by American fiction writer J. D. Salinger published in 1953. 
         - og:image
    draft: true
        author: J.D. Salinger 
    ---
    

    bss assumes template files use the .tmpl extention, which can be omitted.

A simple web server is included but one would be wise in using it only for local development purposes.

#TODO

  • [] config is messy
  • [] move some code into .pm files
  • [] makefile.pl
  • [] meta tags