aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
Commit message (Collapse)AuthorAgeFiles
* fix: remove trailing slashesJan Raasch2023-03-151
| | | | | | | | Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65
* feat: enable optional custom date formatAkira Baruah2021-04-122
| | | | | | | | 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.
* fix: improve accessibility on mobileJan Raasch2020-10-021
| | | | | | | | | | 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.
* fix: styling of ul.blog-postsJan Raasch2020-10-011
| | | | see 0c3efa6
* chore: initial commitJan Raasch2020-09-033