Improve footer, add more badges
This commit is contained in:
parent
58bfffbec2
commit
70cda0d606
6 changed files with 44 additions and 13 deletions
BIN
assets/by-nc-sa.webp
Normal file
BIN
assets/by-nc-sa.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
BIN
assets/gentoo-badge2.webp
Normal file
BIN
assets/gentoo-badge2.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 482 B |
BIN
assets/nerv_button.webp
Normal file
BIN
assets/nerv_button.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 700 B |
BIN
assets/rssbanner.webp
Normal file
BIN
assets/rssbanner.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 422 B |
|
@ -131,3 +131,23 @@ tr:nth-child(even) {
|
|||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#f-badges {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#f-badges * {
|
||||
display: inline;
|
||||
margin-left: 0.2em;
|
||||
margin-right: 0.2em;
|
||||
}
|
||||
|
||||
#f-list {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#f-list * {
|
||||
display: inline;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
|
|
@ -1,17 +1,28 @@
|
|||
Copyright (c) 2022. <a href="https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/content/{{ .File.Path }}?view-source">View Source</a>
|
||||
|
||||
<div>
|
||||
{{ with resources.Get "cc-by-nc-sa.webp" }}
|
||||
<a href="/license">
|
||||
<img width="88" height="32" src="{{ .Permalink }}" alt="CC NC SA">
|
||||
</a>
|
||||
<div id="f-badges">
|
||||
{{ with resources.Get "by-nc-sa.webp" }}
|
||||
<img height="15" src="{{ .Permalink }}" alt="CC NC SA">
|
||||
{{ end }}
|
||||
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<a href="{{ .RelPermalink }}">
|
||||
{{ with resources.Get "rss-button.webp" }}
|
||||
<img width="88" height="32" src="{{ .Permalink }}" alt="RSS Feed">
|
||||
{{ end }}
|
||||
</a>
|
||||
{{ with resources.Get "rssbanner.webp" }}
|
||||
<img height="15" src="{{ .Permalink }}" alt="RSS Feed">
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "gentoo-badge2.webp" }}
|
||||
<img height="15" src="{{ .Permalink }}" alt="Powered by Gentoo">
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "nerv_button.webp" }}
|
||||
<img height="15" src="{{ .Permalink }}" alt="Evangelion">
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<div id="f-list">
|
||||
<a href="/blog/index.xml">RSS Feed</a>
|
||||
|
||||
<a href="/license">License</a>
|
||||
|
||||
<a href="/imprint">Imprint</a>
|
||||
|
||||
<a href="https://git.sr.ht/~redstrate/redstrate.com/tree/master/item/content/{{ .File.Path }}?view-source">Source</a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue