diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-03-31 17:07:13 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-03-31 17:07:13 -0400 |
commit | c413547f032cbada5618f543a7890c29cbf82681 (patch) | |
tree | 49f93ea4dd4ed1eac0d67de08574ec3b7f07c569 | |
parent | a1a45d26b9a6e78a9bdf3b3237447f70a4b0c302 (diff) | |
download | thedroneely.com-c413547f032cbada5618f543a7890c29cbf82681.tar.gz thedroneely.com-c413547f032cbada5618f543a7890c29cbf82681.tar.bz2 thedroneely.com-c413547f032cbada5618f543a7890c29cbf82681.zip |
nerators/hugo/layouts/shortcodes/image.rss.xml: Remove
-rw-r--r-- | generators/hugo/themes/tdro/layouts/shortcodes/image.rss.xml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/image.rss.xml b/generators/hugo/themes/tdro/layouts/shortcodes/image.rss.xml deleted file mode 100644 index 41244e0..0000000 --- a/generators/hugo/themes/tdro/layouts/shortcodes/image.rss.xml +++ /dev/null @@ -1,14 +0,0 @@ -{{ $imageFile := print "public" (.Get `source`) }} -{{ $image := imageConfig $imageFile }} - -{{ $ratio := 0 }} -{{ if lt (mul (div (float $image.Height) $image.Width) 100) 100 }} -{{ $ratio = mul (div (float $image.Height) $image.Width) 100 }} -{{ end }} - -<figure> - <a href="{{ .Get `source` }}"> - <img data-image-zoom src="{{ .Get `source` }}" alt="{{ .Get `title` }}" title="{{ .Get `title` }}" width="{{ $image.Width }}" height="{{ $image.Height }}"/> - </a> - <figcaption class="has-text-centered has-text-grey-dark">{{ .Inner | markdownify }}</figcaption> -</figure> |