Add knockout ring
This commit is contained in:
parent
88511383fa
commit
72da6045d5
3 changed files with 24 additions and 9 deletions
|
@ -36,6 +36,7 @@ params:
|
|||
fediverse_url: "@redstrate@mastodon.art"
|
||||
image_host: "https://images.redstrate.com"
|
||||
kofi_username: 'redstrate'
|
||||
enable_koring: true
|
||||
|
||||
permalinks:
|
||||
blog: 'blog/:year/:month/:title/'
|
||||
|
|
|
@ -691,3 +691,10 @@ model-viewer {
|
|||
.gallery-type-icon-hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#koring {
|
||||
table {
|
||||
width: 500px;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,18 +17,25 @@
|
|||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.geekring_site_id }}
|
||||
<map name="badge-geekring">
|
||||
<area shape="rect" coords="4,3,13,28" href="http://geekring.net/site/{{ . }}/previous" alt="Previous">
|
||||
<area shape="rect" coords="13,3,22,28" href="http://geekring.net/site/{{ . }}/random" alt="Random">
|
||||
<area shape="rect" coords="76,3,84,28" href="http://geekring.net/site/{{ . }}/next" alt="Next">
|
||||
<area shape="rect" coords="23,3,63,28" href="https://geekring.net/" alt="Geekring">
|
||||
</map>
|
||||
{{ with resources.Get "geek_2.gif" }}
|
||||
<img width="88" height="31" usemap="#badge-geekring" src="{{ .RelPermalink }}" alt="The Geekring">
|
||||
{{ end }}
|
||||
<map name="badge-geekring">
|
||||
<area shape="rect" coords="4,3,13,28" href="http://geekring.net/site/{{ . }}/previous" alt="Previous">
|
||||
<area shape="rect" coords="13,3,22,28" href="http://geekring.net/site/{{ . }}/random" alt="Random">
|
||||
<area shape="rect" coords="76,3,84,28" href="http://geekring.net/site/{{ . }}/next" alt="Next">
|
||||
<area shape="rect" coords="23,3,63,28" href="https://geekring.net/" alt="Geekring">
|
||||
</map>
|
||||
{{ with resources.Get "geek_2.gif" }}
|
||||
<img width="88" height="31" usemap="#badge-geekring" src="{{ .RelPermalink }}" alt="The Geekring">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ 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 }}
|
||||
|
||||
<div class="f-list">
|
||||
<ul class="nice-list">
|
||||
{{ range $.Site.Menus.footer }}
|
||||
|
|
Loading…
Add table
Reference in a new issue