redstrate.com/themes/red/layouts/partials/footer.html

54 lines
2.1 KiB
HTML
Raw Permalink Normal View History

2022-11-03 15:13:15 -04:00
<div id="f-badges">
{{ range $.Site.Menus.badges }}
{{ $badgeScope := . }}
{{ with resources.Get .URL }}
2023-04-17 17:00:05 -04:00
<img style="image-rendering: pixelated;" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}" alt="{{ $badgeScope.Name }}">
{{ end }}
{{ end }}
2024-02-23 22:35:59 -05:00
<br/>
{{ range $.Site.Menus.otherbadges }}
{{ $badgeScope := . }}
2024-09-29 18:57:31 -04:00
{{ $url := .URL }}
{{ with resources.Get .Params.img }}
<a href="{{ $url }}"><img style="image-rendering: pixelated;" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}" alt="{{ $badgeScope.Name }}"></a>
2024-02-23 22:35:59 -05:00
{{ end }}
{{ end }}
2024-09-29 19:00:45 -04:00
{{ with .Site.Params.geekring_site_id }}
2024-10-14 15:38:09 -04:00
<map name="badge-geekring">
2024-11-06 16:21:13 -05:00
<area data-proofer-ignore shape="rect" coords="4,3,13,28" href="http://geekring.net/site/{{ . }}/previous" alt="Previous">
<area data-proofer-ignore shape="rect" coords="13,3,22,28" href="http://geekring.net/site/{{ . }}/random" alt="Random">
<area data-proofer-ignore shape="rect" coords="76,3,84,28" href="http://geekring.net/site/{{ . }}/next" alt="Next">
<area data-proofer-ignore shape="rect" coords="23,3,63,28" href="https://geekring.net/" alt="Geekring">
2024-10-14 15:38:09 -04:00
</map>
{{ with resources.Get "geek_2.gif" }}
<img width="88" height="31" usemap="#badge-geekring" src="{{ .RelPermalink }}" alt="The Geekring">
{{ end }}
2024-09-29 19:00:45 -04:00
{{ end }}
</div>
2022-11-03 15:13:15 -04:00
2024-10-14 15:38:09 -04:00
{{ if .Site.Params.enable_koring }}
<div id='koring'>
<script type="text/javascript" src="https://ottr.uk/koring/onionring-variables.js"></script>
<script type="text/javascript" src="https://ottr.uk/koring/onionring-widget.js"></script>
</div>
{{ end }}
2023-04-17 14:18:40 -04:00
<div class="f-list">
<ul class="nice-list">
{{ range $.Site.Menus.footer }}
<li>
2024-10-14 14:14:26 -04:00
{{ $url := .URL }}
{{ if not (strings.Contains $url "https") }}
{{ $url = printf "%s%s" $.Site.Home.Permalink .URL }}
{{ end }}
<a href="{{ $url }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
2022-11-03 15:13:15 -04:00
</div>
2022-11-06 16:42:01 -05:00