comment for adding publication date
This commit is contained in:
parent
1760c5b014
commit
1b7ac0d205
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
<!-- Adds meta tags to page head -->
|
||||
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
|
@ -18,6 +20,12 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<!-- Add to meta fields date of publication via Hugo frontmatter field `publishDate` -->
|
||||
<!-- {{ if .PublishDate }} -->
|
||||
<!-- {{"Published date: " }}{{ .PublishDate | time.Format "Jan 2, 2006" }} -->
|
||||
<!-- <meta name="date" content = "{{ .PublishDate }}"/> -->
|
||||
<!-- {{ end }} -->
|
||||
|
||||
{{ if .Params.authors }}
|
||||
{{ range .Params.authors }}
|
||||
{{ $e := $.GetPage (printf "author/%s" .) }}
|
||||
|
|
Loading…
Add table
Reference in a new issue