Move all layouts to platters theme

This commit is contained in:
Eryn Wells 2024-10-07 21:39:17 -07:00
parent de8101efed
commit 66adceaf24
91 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{{- $currentPage := . -}}
{{- $url := .RelPermalink -}}
<header class="site">
<div class="platter grid">
<h1 class="site gradient">
<a class="site-name" href="{{ `` | absURL }}">{{ partial "site_name.html" site.Params.shortTitle }}</a>
</h1>
{{ partial "site_nav.html" . }}
<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 }}" width=20 height=20>
</a>
</li>
{{- end -}}
{{ end }}
</nav>
</div>
</header>