diff --git a/layouts/partials/year.html b/layouts/partials/year.html new file mode 100644 index 0000000..c1b06a4 --- /dev/null +++ b/layouts/partials/year.html @@ -0,0 +1 @@ +{{- now.Format "2006" -}} diff --git a/layouts/shortcodes/year.html b/layouts/shortcodes/year.html index c1b06a4..b870c65 100644 --- a/layouts/shortcodes/year.html +++ b/layouts/shortcodes/year.html @@ -1 +1 @@ -{{- now.Format "2006" -}} +{{ partial "year" . }}