diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-11-27 23:44:38 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-11-27 23:58:41 -0500 |
commit | a5d0beab1bdd2927419b3a881215189519738466 (patch) | |
tree | 3ec84c200abbd1ea69e37fa9012ab10d42575983 /generators | |
parent | 78e7bcc880bd777b00a4a56de102b2f5112a8d51 (diff) | |
download | thedroneely.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')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/article-image.html | 2 |
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" -}} |