Commit Graph

18 Commits

Author SHA1 Message Date
0ee42d6223
hugo-bearblog : avoid onclick inline script 2024-03-14 12:10:38 +07:00
2615349a7d
hugo-bearblog : combine darkmode script 2024-03-14 03:26:50 +07:00
1b7f3ec2dc
hugo-bearblog : remove special status when linking external script 2024-03-14 03:09:44 +07:00
21292ae509
hugo-bearblog : only get required stylesheet 2024-03-14 02:46:45 +07:00
63e45137af Revert "hugo-bearblog : add smarter way to handle flickering on page load"
This reverts commit 00113c9222.
2024-03-14 02:39:42 +07:00
00113c9222
hugo-bearblog : add smarter way to handle flickering on page load 2024-03-14 02:15:40 +07:00
5c7b6a77d9
hugo-bearblog : match *.css 2024-03-10 23:37:32 +07:00
d734281a6a
hugo-bearblog : add custom footer 2024-03-10 14:33:56 +07:00
4fdb98d0ce
hugo-bearblog : script load order fix 2024-03-10 13:22:30 +07:00
1c1dd34eb2
hugo-bearblog : add option to diable integrity using papermod's solution 2024-03-10 13:18:57 +07:00
b46dab5ba6
hugo-bearblog : loading javascript,stylesheet out of HTML page (no unsafe CSP) 2024-03-10 11:47:53 +07:00
afc4681a01
hugo-bearblog : add _index.md for blog and add random color gimmick 2024-03-09 17:59:51 +07:00
e437c66e80
hugo-bear-blog : support 'lastmod' and add darkmode toggle 2024-03-09 13:27:57 +07:00
Jan Raasch
5fb7b33256 fix: remove trailing slashes
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
2023-03-15 13:01:49 +01:00
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