Commit Graph

5 Commits

Author SHA1 Message Date
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
Jan Raasch
90982df8c9 Revert "Fix link to »Blog« on demo page"
This reverts commit 9863ab4f50.

Whoops. I should update my local version of `hugo` 😊.

This broke the build, see https://github.com/janraasch/hugo-bearblog/actions/runs/3057300422/jobs/4932310672
2022-09-15 04:04:45 +02:00
Jan Raasch
9863ab4f50 Fix link to »Blog« on demo page
The demo is hosted at https://janraasch.github.io/hugo-bearblog/, but currently the link is »/blog«, so we end up at https://janraasch.github.io/blog with a `404` 🥹.
2022-09-15 04:00:41 +02:00
Nick Badal
dcff8a4f85
feat: hide blog link if page not created (#4)
Allows this theme to be used for sites that do not have a blog.
2020-09-17 07:35:58 +02:00
Jan Raasch
5880538157 chore: initial commit 2020-09-03 20:22:23 +02:00