Merge pull request #83 from meleu/patch-2

This commit is contained in:
Jacky Zhao 2022-04-02 14:53:05 -07:00 committed by GitHub
commit 8e083d4a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 7 deletions

View File

@ -525,3 +525,15 @@ header {
user-select: none;
}
}
#contact_buttons ul {
list-style-type: none;
li {
display: inline-block;
}
li a {
padding: 5px 20px;
}
}

View File

@ -2,11 +2,13 @@
<div id="contact_buttons">
<footer>
<p>Made by {{ $.Site.Data.config.name }} using <a href="https://github.com/jackyzha0/quartz">Quartz</a>, © {{ dateFormat "2006" now }}</p>
{{ if not .IsHome }}
<a href="/">Home</a>
{{end}}
{{- range $.Site.Data.config.links -}}
<a href="{{.link}}">{{.link_name}}</a>
{{- end -}}
<ul>
{{ if not .IsHome }}
<li><a href="/">Home</a></li>
{{end}}
{{- range $.Site.Data.config.links -}}
<li><a href="{{.link}}">{{.link_name}}</a></li>
{{- end -}}
</ul>
</footer>
</div>
</div>