date format comma position

This commit is contained in:
constantinos 2023-08-23 16:57:43 +03:00 committed by Marcell Mars
parent 8bdb5ee94b
commit 38f85dc36e

View file

@ -63,7 +63,7 @@ Tags: citation_keywords (semicolon-separated)
<meta name = "citation_title" content = "{{ .Page.Title }}"/>
<!-- DATE if available // Date: citation_date (preferred) -->
{{ with .Page.Params.publishDate }}
{{ $d:= .Format "Jan, 2 2006" }} <!-- default date format doesn't seem to work-->
{{ $d:= .Format "Jan 2, 2006" }} <!-- default date format doesn't seem to work-->
<meta name = "citation_date" content = "{{ $d }}"/>
{{ end }}
<!-- ABSTRACT -->