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