jmacdotorg / plerd

Ultralight Dropbox-friendly Markdown-based blogging.
MIT License
112 stars 21 forks source link

If tags.tt is missing, publication breaks messily #41

Open jmacdotorg opened 5 years ago

jmacdotorg commented 5 years ago

Even if a blog doesn't have any tags (that is, $plerd->has_tags returns false), if tags.tt is missing then trying to publish the blog will result in a fatal error.

tags.tt is arguably the one non-critical template. The blog should always publish if it's missing. Maybe it should voice some warns if the blog does use tags.