summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAdam Whitlock <adam@adamwhitlock.com>2021-12-30 09:05:03 -0600
committerAdam Whitlock <adam@adamwhitlock.com>2021-12-30 09:21:22 -0600
commitd80b25f9593681d9eb6c405c185b6bd08fc08abb (patch)
tree3fbe0028e9301d5e75c407954d4f5e12fff47acd /layouts/partials
parentb4b02a5240c5503a66072cd2725a9d6ea76f985a (diff)
Updates to README, general fixes
Added clearer verbiage for the Huey README, including where to make modifications and expected behavior. footer.html now checks if Font Awesome enabled in configuration. head.html now displays the correct description Updated theme description in theme.toml
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html10
-rw-r--r--layouts/partials/head.html4
2 files changed, 10 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 1e509f3..80ff82c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,8 +2,14 @@
<div class="content has-text-centered">
<layer>
{{ if .Site.Menus.social }}
- {{ range .Site.Menus.social }}
- <a class="footer-social" href="{{ .URL }}">{{ .Pre }}</a>
+ {{ if .Site.Params.fontawesomeToken }}
+ {{ range .Site.Menus.social }}
+ <a class="footer-social" href="{{ .URL }}">{{ .Pre }}</a>
+ {{ end }}
+ {{ else }}
+ {{ range .Site.Menus.social }}
+ <a class="footer-social" href="{{ .URL }}">{{ .Name }}</a>
+ {{ end }}
{{ end }}
{{ end }}
</layer>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1bd36be..4d0668c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,8 +1,8 @@
<head>
{{- /* metadata */}}
- <title>{{ if .IsHome }}Home : {{ else }}{{ if .Page.Title }}{{ .Page.Title }} : {{ end }}{{ end }}{{ .Site.Title }}</title>
+ <title>{{ if .IsHome }}{{ else }}{{ if .Page.Title }}{{ .Page.Title }} : {{ end }}{{ end }}{{ .Site.Title }}</title>
<meta charset="utf-8">
- <meta name="description" content="{{ .Params.Description }}" />
+ <meta name="description" content="{{ .Site.Params.Description }}" />
<meta name="dc.relation" content="{{ .Site.BaseURL }}" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">