sc0ttj / mdsh

A simple static site generator, using Markdown and Bash
https://sc0ttj.github.io/mdsh/
10 stars 0 forks source link

better meta info for custom pages #40

Closed sc0ttj closed 5 years ago

sc0ttj commented 5 years ago

if create_page is building a page NOT from a .mdsh file, we dont have meta info for the page.

So, if building a custom page ( page with no .mdsh file):

option 1

option 2

option 3

in update_pages, do this:

post_title="foo" post_descr="bar"  create_page "$html" > file.html
sc0ttj commented 5 years ago

option 3 now used in update_pages, should be documented in README and wiki.