aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-11-27 23:44:38 -0500
committerThedro Neely <thedroneely@gmail.com>2019-11-27 23:58:41 -0500
commita5d0beab1bdd2927419b3a881215189519738466 (patch)
tree3ec84c200abbd1ea69e37fa9012ab10d42575983 /generators/hugo/themes/tdro
parent78e7bcc880bd777b00a4a56de102b2f5112a8d51 (diff)
downloadthedroneely.com-a5d0beab1bdd2927419b3a881215189519738466.tar.gz
thedroneely.com-a5d0beab1bdd2927419b3a881215189519738466.tar.bz2
thedroneely.com-a5d0beab1bdd2927419b3a881215189519738466.zip
hugo/layouts/partials/article-image: Use .Slug here
Diffstat (limited to 'generators/hugo/themes/tdro')
-rw-r--r--generators/hugo/themes/tdro/layouts/partials/article-image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/article-image.html b/generators/hugo/themes/tdro/layouts/partials/article-image.html
index 7d2e599..6221bb5 100644
--- a/generators/hugo/themes/tdro/layouts/partials/article-image.html
+++ b/generators/hugo/themes/tdro/layouts/partials/article-image.html
@@ -1 +1 @@
-{{ replaceRE "posts|projects|post|project" "/images/thumbnails" (trim .Permalink "/") }}{{ print ".png" -}}
+/images/thumbnails/{{ .Slug }}{{- print ".png" -}}