88 lines
6.1 KiB
HTML
88 lines
6.1 KiB
HTML
{{ "<!-- Footer -->" | safeHTML }}
|
||
<footer id="footer" class="panel">
|
||
<div class="inner split">
|
||
<div>
|
||
<section>
|
||
<h2>{{ with .Site.Params.footer.paragraph.headline }}{{ . | markdownify }}{{ end }}</h2>
|
||
<p>{{ with .Site.Params.footer.paragraph.text }}{{ . | markdownify }}{{ end }}</p>
|
||
</section>
|
||
<section>
|
||
<h2>{{ with .Site.Params.footer.social.headline }}{{ . | markdownify }}{{ end }}</h2>
|
||
<ul class="icons">
|
||
{{ range .Site.Params.footer.social.links }}
|
||
<li><a href="{{ .url }}" class="icon {{ .icon }}"><span class="label">{{ .label }}</span></a></li>
|
||
{{ end }}
|
||
</ul>
|
||
</section>
|
||
|
||
{{- /* Unfortunately I cannot find a way to determine if disableKinds
|
||
is turned on, so I cannot check that for taxonomy or term.
|
||
Instead I have to use this new parameter */}}
|
||
{{- if (default false ($.Param "taxonomies_links")) }}
|
||
|
||
{{- with $.Site.Taxonomies }}
|
||
<section class="taxonomy_list flexrow">
|
||
<h2>View all:</h2>
|
||
<div>
|
||
{{- range $taxname, $taxterms := $.Site.Taxonomies }}
|
||
{{- $url := ( printf "/%s/" ($taxname | urlize) ) | relURL }}
|
||
<div class="tax_term"><a href="{{ $url }}">{{ $taxname | humanize }}</a></div>
|
||
{{- end }}
|
||
</div>
|
||
</section>
|
||
{{- end }}
|
||
|
||
{{- /* Only display the terms list if this page has some */}}
|
||
{{- $.Scratch.Set "terms_present" false }}
|
||
{{- range $taxname, $taxterms := $.Site.Taxonomies }}
|
||
{{- range ($.Param $taxname) }}
|
||
{{- $.Scratch.Set "terms_present" true }}
|
||
{{- end }}
|
||
{{- end }}
|
||
{{- if $.Scratch.Get "terms_present" }}
|
||
<section class="taxonomy_list flexrow">
|
||
<h2>Terms:</h2>
|
||
<div>
|
||
{{- range $taxname, $taxterms := $.Site.Taxonomies }}
|
||
{{- range ($.Param $taxname) }}
|
||
{{- $url := ( printf "/%s/#%s" ($taxname | urlize) ( . | urlize ) ) | relURL }}
|
||
<div class="tax_term"><a href="{{ $url }}">{{ . | humanize }}</a></div>
|
||
{{- end }}
|
||
{{- end }}
|
||
</div>
|
||
</section>
|
||
{{- end }}
|
||
{{- end }}
|
||
</div>
|
||
{{ if not .Site.Params.footer.contact.hide }}
|
||
<div>
|
||
<section>
|
||
<h2>{{ with .Site.Params.footer.contact.headline }}{{ . | markdownify }}{{ end }}</h2>
|
||
<p>If you want to contact me, it’s easy…</br>
|
||
You can visit any of my social networks on the left of this page, or you can make it happen on Delat Chat : all you have to do is scan the QR Code below with your Delta Chat application, then send me a message and I’ll reply as soon as I can.</p>
|
||
<p class="align-center"><a href="OPENPGP4FPR:B309119B75596F78835A539C8E705C55786BCF4A#a=jme69%40vivaldi.net&n=Julie%C3%B1&i=gBb5CCCF9er&s=LGUxX9megUO" title="Contact me on Delta Chat" target="_blank"><img src="/delta-chat.webp" width="70%" height="70%" alt="Contact me on Delta Chat" /></a></p>
|
||
<!-- <p class="align-center"><a href="https://matrix.to/#/@jme69:matrix.org" title="Contact me on Matrix" target="_blank"><img src="contact.webp" width="75%" height="75%" alt="Contact me on Matrix" /></a></p> -->
|
||
<!-- <form method="post" action="//formspree.io/f/{{ with .Site.Params.footer.contact.formspreeID }}{{.}}{{ end }}" novalidate>
|
||
<div class="field half first">
|
||
<input type="text" name="name" required data-validation-required-message="{{ with .Site.Params.footer.contact.name.warning }}{{ . | markdownify}}{{ end }}" id="name" placeholder="{{ with .Site.Params.footer.contact.name.text }}{{ . | markdownify }}{{ end }}" />
|
||
</div>
|
||
<div class="field half">
|
||
<input type="email" name="email" required data-validation-required-message="{{ with .Site.Params.footer.contact.email.warning }}{{ . | markdownify }}{{ end }}" id="email" placeholder="{{ with .Site.Params.footer.contact.email.text }}{{ . | markdownify }}{{ end }}" />
|
||
</div>
|
||
<div class="field">
|
||
<textarea name="message" required data-validation-required-message="{{ with .Site.Params.footer.contact.message.warning }}{{ . | markdownify }}{{ end }}" id="message" rows="4" placeholder="{{ with .Site.Params.footer.contact.message.text }}{{ . | markdownify }}{{ end }}"></textarea>
|
||
</div>
|
||
<ul class="actions">
|
||
<li><input type="submit" value="{{ .Site.Params.footer.contact.buttonText }}" class="special" /></li>
|
||
<li><input type="reset" value="{{ .Site.Params.footer.contact.resetText }}" /></li>
|
||
</ul>
|
||
</form> -->
|
||
</section>
|
||
</div>
|
||
{{ end }}
|
||
</div>
|
||
<p class="copyright">
|
||
© 2024, {{ with .Site.Params.footer.copyright.name }}{{ . | markdownify }}{{ end }}. Made with <a href="https://gohugo.io/" title="Hugo" target="_blank">Hugo</a>, theme largely based on <a href="https://github.com/kc0bfv/autophugo/" title="View on GitHub" target="_blank">AutoPhugo</a>.
|
||
</p>
|
||
</footer>
|