mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
separate contact links semantically
This commit is contained in:
parent
16f8cd7100
commit
a469653f75
2 changed files with 23 additions and 0 deletions
|
@ -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 -}}
|
||||||
​<a href="{{.link}}">{{.link_name}}</a>
|
​<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…
Reference in a new issue