Move site header layout styles to columns; fix nav spacing
Do a bit of testing on Chrome too.
This commit is contained in:
parent
17f576406f
commit
20e76897ff
7 changed files with 141 additions and 129 deletions
|
@ -9,13 +9,18 @@
|
|||
<nav class="social">
|
||||
{{ with site.Menus.social }}
|
||||
{{- range . -}}
|
||||
{{- $id := .Identifier -}}
|
||||
{{- $targetBlank := .Params.targetBlank | default true -}}
|
||||
<li id="social-menu-{{ $id }}">
|
||||
<a href="{{ .URL }}" {{ if $targetBlank }}target="_blank"{{ end }} aria-label="{{ .Name }}">
|
||||
<img alt="{{ .Name }}">
|
||||
</a>
|
||||
</li>
|
||||
{{- $id := .Identifier -}}
|
||||
{{- $targetBlank := .Params.targetBlank | default true -}}
|
||||
<li id="social-menu-{{ $id }}">
|
||||
<a
|
||||
href="{{ .URL }}"
|
||||
{{ if $targetBlank }}
|
||||
target="_blank"
|
||||
{{ end }}
|
||||
aria-label="{{ .Name }}">
|
||||
<img alt="{{ .Name }}" width=20 height=20>
|
||||
</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue