diff options
author | Daniel Saunders <daniel.saunders@gmail.com> | 2021-05-08 04:22:09 +0300 |
---|---|---|
committer | Daniel Saunders <daniel.saunders@gmail.com> | 2021-05-08 04:22:09 +0300 |
commit | 8c4e055a2251724f42c5654522b1d370fc5a5647 (patch) | |
tree | a68af77848c8f5722ee4d94dfa2c46e168a5cfed | |
parent | 91bee0346013781a5c0c4fec547670b8c9c6e248 (diff) |
Closes #34
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d5d69c8..4cb5a8d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -85,10 +85,10 @@ unsafe = true [params] title = "Alpha Church" subtitle = "Another Church Theme" + #favicon = "/example.ico" author = "Daniel Saunders" keywords = ["theme", "hugo", "podcast"] languageCode = "en" # For accessibility this needs to be set. You can find all language codes at https://www.w3schools.com/tags/ref_language_codes.asp - bible_popups = "faithlife" #faithlife, blb bible_version = "CSB" #HCSB, NIV, NLT, ESV, etc. instant_page = true diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 9b885f4..8f360c9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -21,6 +21,7 @@ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end -}} {{ hugo.Generator }} + {{- with .Site.Params.favicon}}<link rel="shortcut icon" href="{{ . }}" />{{ end -}} {{ with .Site.Params.Podcast.itunes }} <meta name="apple-itunes-app" content="app-id={{ replaceRE "https\\:\\/\\/itunes\\.apple\\.com\\/[a-z]{2}\\/podcast\\/[a-z\\-]*\\/id(\\d{10}).*" "$1" . }}" /> {{ end }} |