Closed sc0ttj closed 5 years ago
if create_page is building a page NOT from a .mdsh file, we dont have meta info for the page.
create_page
.mdsh
So, if building a custom page ( page with no .mdsh file):
create_post
<h2>
<title>
in update_pages, do this:
update_pages
post_title="foo" post_descr="bar" create_page "$html" > file.html
option 3 now used in update_pages, should be documented in README and wiki.
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
create_page
should ask for title, description, etc - just likecreate_post
does..option 2
create_page
, grab value of first<h2>
or "unslugify" the filename (slug name to "Title case")..<title>
, meta info, etc..option 3
in
update_pages
, do this: