~rjpcasalino/bss

ref: 3986312629087f22b0b4c99c5cc1306919ec792e bss/README.md -rw-r--r-- 1.1 KiB
39863126rjpcasalino updates a say 1 year, 2 months ago

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