diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 17:47:53 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-03-12 17:47:53 -0500 |
commit | 17636fcd0897040c5e56a81a3048dfeda2420df7 (patch) | |
tree | c15fa73636ad301c1fb7d5206cc68fad9ec33dc7 /generators/hugo/themes/tdro/layouts/_default/single.html | |
parent | cbf058056e4bf3df6959a1a8250f8f5a4f496d60 (diff) | |
download | thedroneely.com-17636fcd0897040c5e56a81a3048dfeda2420df7.tar.gz thedroneely.com-17636fcd0897040c5e56a81a3048dfeda2420df7.tar.bz2 thedroneely.com-17636fcd0897040c5e56a81a3048dfeda2420df7.zip |
generators/hugo/layouts/_default/single: PHP decoupling
Use Hugo's readFile instead of calling PHP for svg icons on static
pages.
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/single.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/_default/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/single.html b/generators/hugo/themes/tdro/layouts/_default/single.html index 7dcaca7..0632433 100644 --- a/generators/hugo/themes/tdro/layouts/_default/single.html +++ b/generators/hugo/themes/tdro/layouts/_default/single.html @@ -82,7 +82,7 @@ title="Generated by Open Ring" class="attribution is-pulled-right has-text-grey-dark"> <span class="button item__box item__no__hover"> - {{ safeHTML "<?php echo icon('help-circle') ?>" }} + {{ safeHTML (readFile "public/css/icons/feather/help-circle.svg") }} <span>Openring</span> </span> </a> |