|
7 | 7 | <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> |
8 | 8 | <ul class="list-inline text-center footer-links"> |
9 | 9 | {{ range .Site.Data.beautifulhugo.social.social_icons }} |
10 | | - {{- if isset $.Site.Author .id }} |
| 10 | + {{- if isset $.Site.Params.Author .id }} |
11 | 11 | <li> |
12 | | - <a href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}"> |
| 12 | + <a href="{{ printf .url (index $.Site.Params.Author .id) }}" title="{{ .title }}"> |
13 | 13 | <span class="fa-stack fa-lg"> |
14 | 14 | <i class="fas fa-circle fa-stack-2x"></i> |
15 | 15 | <i class="{{ .icon }} fa-stack-1x fa-inverse"></i> |
|
31 | 31 | </ul> |
32 | 32 | <p class="credits copyright text-muted"> |
33 | 33 | © |
34 | | - {{ if .Site.Author.name }} |
35 | | - {{ if .Site.Author.website }} |
36 | | - <a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a> |
| 34 | + {{ if .Site.Params.Author.name }} |
| 35 | + {{ if .Site.Params.Author.website }} |
| 36 | + <a href="{{ .Site.Params.Author.website }}">{{ .Site.Params.Author.name }}</a> |
37 | 37 | {{ else }} |
38 | | - {{ .Site.Author.name }} |
| 38 | + {{ .Site.Params.Author.name }} |
39 | 39 | {{ end }} |
40 | 40 | {{ end }} |
41 | 41 |
|
42 | 42 | {{ if .Site.Params.since }} |
43 | | - {{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }} |
| 43 | + {{ .Site.Params.since }} - {{ .Site.Lastmod.Format "2006" }} |
44 | 44 | {{ else }} |
45 | | - {{ .Site.LastChange.Format "2006" }} |
| 45 | + {{ .Site.Lastmod.Format "2006" }} |
46 | 46 | {{ end }} |
47 | 47 | </p> |
48 | 48 | <!-- Please don't remove this, keep my open source work credited :) --> |
|
0 commit comments