diff --git a/docs/_preview/go.mod b/docs/_preview/go.mod index db0dd4c..48711bc 100644 --- a/docs/_preview/go.mod +++ b/docs/_preview/go.mod @@ -3,7 +3,7 @@ module github.com/SpineEventEngine/documentation/docs/_preview go 1.22.0 require ( - github.com/SpineEventEngine/site-commons v0.0.0-20260722151517-5ab10187ff58 // indirect + github.com/SpineEventEngine/site-commons v0.0.0-20261001182820-d2b63aedd0f4 // indirect github.com/SpineEventEngine/validation/docs v0.0.0-20260902132507-6465029c83b9 // indirect github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800 // indirect github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect diff --git a/docs/_preview/go.sum b/docs/_preview/go.sum index e153af0..64c98fe 100644 --- a/docs/_preview/go.sum +++ b/docs/_preview/go.sum @@ -1,7 +1,5 @@ -github.com/SpineEventEngine/site-commons v0.0.0-20260522171914-2a606d89558f h1:yF43XTDNj+w1S0fLA/XhrWMrhAoDpqPB7gmc4mUF/9Q= -github.com/SpineEventEngine/site-commons v0.0.0-20260522171914-2a606d89558f/go.mod h1:tkAl4StIREKmz9r5PiJtuDhvwMMkFXKWcaTyxhIikho= -github.com/SpineEventEngine/site-commons v0.0.0-20260722151517-5ab10187ff58 h1:kk5qp6+puECLgtYMT855XHUbNidOMWviA6qmhU5Y+tA= -github.com/SpineEventEngine/site-commons v0.0.0-20260722151517-5ab10187ff58/go.mod h1:tkAl4StIREKmz9r5PiJtuDhvwMMkFXKWcaTyxhIikho= +github.com/SpineEventEngine/site-commons v0.0.0-20261001182820-d2b63aedd0f4 h1:PoGISjoFRXwKpWwG/oTaGuSG6qF3I3THV2p+/r7qgk0= +github.com/SpineEventEngine/site-commons v0.0.0-20261001182820-d2b63aedd0f4/go.mod h1:tkAl4StIREKmz9r5PiJtuDhvwMMkFXKWcaTyxhIikho= github.com/SpineEventEngine/validation/docs v0.0.0-20260205202311-181ba8844107 h1:2DHRIwwLudP6l3Kh7Nd4KR4uXcsDtIAXE9adW68ivME= github.com/SpineEventEngine/validation/docs v0.0.0-20260205202311-181ba8844107/go.mod h1:STHyjXejVvPmfrxujfDvhofmjg55mMk+fwI3TVL0b4Y= github.com/SpineEventEngine/validation/docs v0.0.0-20260522175555-cf09b4c706ea h1:YEMSlr5KJXkZdK7epMSnN+6HSr2K41n8O3c8OhtF8pM= diff --git a/docs/layouts/_shortcodes/date.html b/docs/layouts/_shortcodes/date.html deleted file mode 100644 index 8428420..0000000 --- a/docs/layouts/_shortcodes/date.html +++ /dev/null @@ -1,19 +0,0 @@ -{{- /* -Renders the page `lastmod` date. - -Usage: -{{< date label="Last updated:" >}} - -The spine.io site has a shortcode of the same name and output, which takes -precedence there. This one lets the preview render the pages that use it. -*/ -}} - -{{- $label := .Get "label" -}} -{{- $formattedDate := .Page.Lastmod | time.Format ":date_long" -}} -{{- $isoDate := .Page.Lastmod | time.Format "2006-01-02" -}} -
- {{- with $label -}} - {{ . }} - {{- end -}} - -