summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorMichał Sapka <michal@sapka.me>2023-01-06 23:14:49 +0100
committerMichał Sapka <michal@sapka.me>2023-01-06 23:14:49 +0100
commit8987664e3ab4dd08879c3d45ba4ba954aaec6f69 (patch)
tree5f1e7cadc94c56ed5f24349c81f7d9204b98e6e2 /layouts/_default
parent98c04aa1e19e9391a19daf903a024e7ebeaeb36b (diff)
feat: add logos
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html8
-rw-r--r--layouts/_default/list.html6
2 files changed, 2 insertions, 12 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b0bfc6f..280135e 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -64,14 +64,10 @@
</OL>
</ASIDE>
<div>
- Created by <a href="https://sapka.me" target="_blank">Michal</a>
+ Created by <a href="https://sapka.me" target="_blank">Michal</a>.
+ <a href="https://github.com/michalsapka/meme.sapka.me" target="_blank">Source code is available</a>.
<BR>
<BR>
- <a href="/index.xml">
- {{ $image := resources.Get "rss.png" }}
- {{ $image := $image.Resize "x25" }}
- <img alt="rss" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/>
- </a>
</div>
</FOOTER>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index cc3addd..b9ddde4 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,12 +1,6 @@
{{ define "main" }}
{{ range where .Pages "Params.category" "meme"}}
<article class="list">
- <a href="{{ .RelPermalink }}">
- {{ $imageUrl := .Param "image" }}
- {{ $image := resources.Get $imageUrl }}
- {{ $image := $image.Resize "350x" }}
- <img alt="{{ .Param "title"}}" src="{{ $image.Permalink }}" width={{ $image.Width }} height={{ $image.Height }}/>
- </a>
</article>
{{ end }}
{{ end }}