Commit Graph

4 Commits

Author SHA1 Message Date
Akira Baruah
be0ba327e3 feat: enable optional custom date format
Adds a .Site.Params.dateFormat setting to let users specify a Hugo-style
date format string for content. Previously, the date format was
hardcoded to "02 Jan, 2006", presumably to match the original BearBlog
style. This format gets used by default if the new "dateFormat" setting
is absent from the site config.
2021-04-12 17:18:41 +02:00
Jan Raasch
ed4cda1ac4 fix: improve accessibility on mobile
Fixes #6.

To be honest I did not think about this at all. I simply copied the code from the original »Bear Blog«

https://github.com/HermanMartinus/bearblog/blob/master/templates/base.html#L7

It seems like iOS ignores the declarations of user-scalable, minimum-scale, and maximum-scale, as of iOS 10, see https://sitebulb.com/hints/mobile-friendly/the-viewport-meta-tag-prevents-the-user-from-scaling/ so we might as well remove this.
2020-10-02 15:57:36 +02:00
Jan Raasch
6e2f054d42 fix: styling of ul.blog-posts
see 0c3efa6
2020-10-01 16:12:16 +02:00
Jan Raasch
5880538157 chore: initial commit 2020-09-03 20:22:23 +02:00