diff options
Diffstat (limited to 'themes/hugo-theme-stack/layouts/partials/article/components/links.html')
-rw-r--r-- | themes/hugo-theme-stack/layouts/partials/article/components/links.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/themes/hugo-theme-stack/layouts/partials/article/components/links.html b/themes/hugo-theme-stack/layouts/partials/article/components/links.html deleted file mode 100644 index a2ac26c..0000000 --- a/themes/hugo-theme-stack/layouts/partials/article/components/links.html +++ /dev/null @@ -1,30 +0,0 @@ -<div class="article-list--compact links"> - {{ range $i, $link := .Params.links }} - <article> - <a href="{{ $link.website }}" target="_blank" rel="noopener"> - <div class="article-details"> - <h2 class="article-title"> - {{- $link.title -}} - </h2> - <footer class="article-time"> - {{ with $link.description }} - {{ . }} - {{ else }} - {{ $link.website }} - {{ end }} - </footer> - </div> - - {{ with $link.image }} - {{ $permalink := . }} - {{ with ($.Resources.GetMatch (printf "%s" (. | safeURL))) }} - {{ $permalink = .RelPermalink }} - {{ end }} - <div class="article-image"> - <img src="{{ $permalink }}" loading="lazy"> - </div> - {{ end }} - </a> - </article> - {{ end }} -</div>
\ No newline at end of file |