expectocode / pagong

pagong - a site generator for slow connections
Apache License 2.0
7 stars 2 forks source link

Root post or config file #8

Open Lonami opened 3 years ago

Lonami commented 3 years ago

7 needs some additional information that we simply don't have, such as:

If we had a root post or configuration file we could provide these details. Maybe we should emit a warning if these required fields are missing and don't emit the atom feed then?

expectocode commented 3 years ago

Maybe we should emit a warning if these required fields are missing and don't emit the atom feed then?

that sounds like a great idea to me :)

i'm curious what semantic meaning a "root post" would have - maybe some text to appear above the post listing, in index.html?

Lonami commented 3 years ago

I think some text above the listing would definitely be an improvement over nothing, but then again with some form of minimal templating we could also get text below. It's a tradeoff simplicity vs convenient magic (a la metadata).

expectocode commented 3 years ago

we already have the footer for that :) i'd go with simplicity

Lonami commented 3 years ago

Wouldn't the footer apply site-wide? Would we have a way to have post-specific header and footer (including special "root")? Thinking on it, it would be a useful override for the site-wide version.

expectocode commented 3 years ago

hm, would need some justification for the extra complexity. i don't see the appeal in the abstract