diff options
author | Max Mehl <mail@mehl.mx> | 2020-10-30 17:53:51 +0300 |
---|---|---|
committer | Max Mehl <mail@mehl.mx> | 2020-10-30 17:53:51 +0300 |
commit | 3b4b70ea0db9b64b8c3b628f1d6fad6d63f319ad (patch) | |
tree | 1a4ea47685dc70ded192960e98b7cf686845789e | |
parent | 4f44243e70d0ed07cdbe50c6215d79b04a78f771 (diff) |
fix demo errors
-rw-r--r-- | exampleSite/config.toml | 4 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 36a6a64..ce764bc 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -24,8 +24,8 @@ theme = "hugo-dpsg" post_meta = ["author", "date", "categories", "translations"] # Order of post meta information mainSections = ["post", "blog", "news"] # Specify section pages to show on home page and the "Recent articles" widget dateformat = "02.01.2006" # Change the format of dates - customCSS = ["css/custom.css"] # Include custom CSS files - customJS = ["js/custom.js"] # Include custom JS files + customCSS = [""] # Include custom CSS files + customJS = [""] # Include custom JS files [Params.style.vars] highlightColor = "#003056" # Override main theme color diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a5aa63a..adb728e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,7 +27,7 @@ {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }} - <link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}"> + <link rel="shortcut icon" href="{{ "favicon.ico" | absURL }}"> {{- if not .Site.IsServer }} {{ template "_internal/google_analytics_async.html" . }} {{- end }} |