diff options
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/footer.html | 10 | ||||
| -rw-r--r-- | layouts/partials/head.html | 4 |
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"> |
