separate contact links semantically

hugo
meleu 3 years ago
parent 16f8cd7100
commit a469653f75

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

@ -2,11 +2,22 @@
<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>
<<<<<<< Updated upstream
{{ if not .IsHome }} {{ if not .IsHome }}
<a href="/">Home</a> <a href="/">Home</a>
{{end}} {{end}}
{{- range $.Site.Data.config.links -}} {{- range $.Site.Data.config.links -}}
&ZeroWidthSpace;<a href="{{.link}}">{{.link_name}}</a> &ZeroWidthSpace;<a href="{{.link}}">{{.link_name}}</a>
{{- end -}} {{- 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>
>>>>>>> Stashed changes
</footer> </footer>
</div> </div>

Loading…
Cancel
Save