diff options
author | tdro <tdro@noreply.example.com> | 2022-12-21 00:20:05 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-21 00:20:05 -0500 |
commit | 7f5c73bc0384f1a0ffec2701d4183e2208007b40 (patch) | |
tree | 16f170cea156fa4e2d904c2f5fdb704843d618d1 /themes/default/layouts/shortcodes | |
parent | 2fb41a96097f335b3e5dbeb8dd0a2ad67bde2d3f (diff) | |
download | canory-7f5c73bc0384f1a0ffec2701d4183e2208007b40.tar.gz canory-7f5c73bc0384f1a0ffec2701d4183e2208007b40.tar.bz2 canory-7f5c73bc0384f1a0ffec2701d4183e2208007b40.zip |
themes/default/layouts/partials: Prevent feed fetches from multiplying0.11.9
By limiting to section. Add hugo option to version shortcode
Diffstat (limited to 'themes/default/layouts/shortcodes')
-rw-r--r-- | themes/default/layouts/shortcodes/version.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/default/layouts/shortcodes/version.html b/themes/default/layouts/shortcodes/version.html index 48aed2c..debd59a 100644 --- a/themes/default/layouts/shortcodes/version.html +++ b/themes/default/layouts/shortcodes/version.html @@ -1,11 +1,16 @@ -{{- $version := "0.11.8" -}} +{{- $version := "0.11.9" -}} {{- $number := default false (.Get "number" | default (.Get 0)) -}} {{- $clone := default false (.Get "clone" | default (.Get 1)) -}} +{{- $hugo := default false (.Get "hugo" | default (.Get 2)) -}} {{- if $number -}} {{ $version }} {{- end -}} +{{- if $hugo -}} +0.108.0 +{{- end -}} + {{- if $clone -}} ```shell git clone --branch {{ $version }} https://www.thedroneely.com/git/thedroneely/canory |