Commit graph

9 commits

Author SHA1 Message Date
Stephan Hadan
a8e9812999 - eliminated 's in page_header.html 2025-01-28 10:17:29 +01:00
Dan Xin
558b8b4ae0
fix: migrate ".Site.Author" to ".Site.Params.Author" (#17)
* feat: migrate ".Site.Author" to ".Site.Params.Author"
* feat: update README
2024-11-08 14:16:58 -05:00
Ghyslain Leclerc
db12d07cb6 Using .URL in menu items instead of .Permalink
Using .Permalink was causing my site to not compile anymore with version 0.59.1
of Hugo.  According to this issue on the Hugo Github repository:

   https://github.com/gohugoio/hugo/issues/5868

in menus, .URL is not deprecated and can/should be kept.
2019-11-26 20:58:18 -05:00
Josh Johnson
e15be0e410
Uses correct URL accessor and removes use of deprecated .URL 2019-08-30 21:43:07 -04:00
Josh Johnson
a8a2b05461
Updates page header to show menu items if there are no rss 2019-08-18 00:33:39 -04:00
Josh Johnson
2fa06ec88b
Updates to support 0.57.2 2019-08-17 18:54:19 -04:00
Josh Johnson
85ddc72eb7
Adds check for required variable before rendering menu - Fix for #9 2018-11-15 10:54:42 -05:00
Ghyslain Leclerc
8262ab6f2d Made the theme compatible with Hugo 0.18.
At least in Hugo 0.18 (I don't know for prior versions), the variables in the
templates are all set to lowercase even if they are not lowercase in the
config file.

For instance, for a configuration as follows:
[Author]
   Handle = "bla"
the variable must be used as .Site.Author.handle and not .Site.Author.Handle.
2016-12-28 21:17:35 -05:00
Josh Johnson
f92932b947 initial commit 2016-02-19 23:35:42 -05:00