forked from markus/AMPERION_Webpage
Add themes folder
This commit is contained in:
parent
78eab7dcac
commit
077da5b941
108 changed files with 6225 additions and 0 deletions
9
themes/airspace-hugo/layouts/shortcodes/date_l10n.html
Normal file
9
themes/airspace-hugo/layouts/shortcodes/date_l10n.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!-- {{/*
|
||||
Localize a date string like "2006-01-02" based on the current language; returns e.g. "January 2, 2006" if current language is English
|
||||
|
||||
Usage: {{< date_l10n INPUT [LAYOUT] >}}
|
||||
*/}} -->
|
||||
{{ $layout := ":date_long" -}}
|
||||
{{ with .Get 1 }}{{ $layout = . }}{{ end -}}
|
||||
{{ time.Format $layout (.Get 0) -}}
|
||||
{{/* Dummy comment to strip trailing newline */ -}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue