mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 10:58:33 +00:00
5ec8e6063a
Yay! Created my logo now.
57 lines
1.7 KiB
HTML
57 lines
1.7 KiB
HTML
<hr>
|
|
<footer>
|
|
<!-- A convenient back to top link. -->
|
|
<p><a href="#top">{{ i18n "back_to_top" | default "Back to top" }}</a></p>
|
|
|
|
<!-- Linking to other languages' homepage. -->
|
|
{{ if $.Site.IsMultiLingual }}
|
|
<p>{{ i18n "multilingual" }}:
|
|
<span class="list site__languages">
|
|
{{ range $.Site.Languages }}
|
|
<a href="{{ . | relURL }}" hreflang="{{ .Lang }}">{{ with .LanguageName }}{{ . }}{{ else }}{{ .Lang }}{{ end }}</a>
|
|
{{ end }}
|
|
</span>
|
|
</p>
|
|
{{ end }}
|
|
|
|
|
|
<!-- List all of the social media links -->
|
|
{{ with (index $.Site.Data "more-contentful").contacts }}
|
|
<ul class="list site__socials">
|
|
{{ $useImage := index . "useImage" | default false }}
|
|
|
|
{{ $links := sort .links "id" "asc" }}
|
|
{{ $links = sort $links "weight" "asc" }}
|
|
{{- range $links -}}
|
|
<li>
|
|
<a {{ if $useImage }}class="site__social-icon"{{ end }} rel="me" href="{{ .url | absLangURL }}" aria-label="{{ with .name }}{{ . }}{{ else }}{{ .id }}{{ end }}">
|
|
{{- if $useImage }}
|
|
{{- partial "components/icon.html" (dict "id" .id "output" "icons/brand/%s.svg" "template" "templates/simple-icon.svg") }}
|
|
{{- else }}
|
|
{{- .name }}
|
|
{{- end }}
|
|
</a>
|
|
</li>
|
|
{{- end -}}
|
|
</ul>
|
|
{{ end }}
|
|
|
|
|
|
<!-- Copyright info. -->
|
|
<p>{{ with $.Site.Copyright }}{{ . | markdownify }}{{ else }}© {{ now.Year }} {{ with $.Site.Author.name }}{{ . }}{{ else }}{{ $.Site.Title }}{{ end }}{{ end }}</p>
|
|
|
|
{{- /* Extra notes */ -}}
|
|
{{- with $.Site.Params.extraNotes }}
|
|
<p>{{ trim . " " | markdownify }}</p>
|
|
{{- end }}
|
|
|
|
<p>
|
|
<small>Generated on {{ now.Format "2006-01-02 15:04:05 -0700" }}</small></p>
|
|
|
|
{{ $logo := resources.Get "svg/logo.svg" }}
|
|
<div id="logo" data-tooltip="Hey there! :3">
|
|
{{ $logo.Content | safeHTML }}
|
|
</div>
|
|
</footer>
|
|
|