diff options
Diffstat (limited to 'layouts')
-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 }} |