diff options
author | Michał Sapka <michal@sapka.me> | 2023-01-06 23:14:49 +0100 |
---|---|---|
committer | Michał Sapka <michal@sapka.me> | 2023-01-06 23:14:49 +0100 |
commit | 8987664e3ab4dd08879c3d45ba4ba954aaec6f69 (patch) | |
tree | 5f1e7cadc94c56ed5f24349c81f7d9204b98e6e2 /layouts/_default | |
parent | 98c04aa1e19e9391a19daf903a024e7ebeaeb36b (diff) |
feat: add logos
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 8 | ||||
-rw-r--r-- | layouts/_default/list.html | 6 |
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 }} |