Skip to content

Commit

Permalink
Fix PublishDate parameter
Browse files Browse the repository at this point in the history
Also rename from PublishedDate, as PublishDate seems to be the default

Fixes a warning on (re-)building the site

Signed-off-by: Thomas Staudinger <[email protected]>
  • Loading branch information
Staudey committed Sep 10, 2024
1 parent 290d296 commit 51eefeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/solus/layouts/partials/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
{{ end }}
<!-- End of Blog Post Specific Content -->

{{ if isset . "PublishedDate" }}
<meta name="article:published_time" content="{{ .PublishedDate }}" />
{{ if isset .Params "publishdate" }}
<meta name="article:published_time" content="{{ .Params.PublishDate }}" />
{{ end }}

{{ $generalMetaTags := "solus, linux, operating system, budgie, mate" }}
Expand Down

0 comments on commit 51eefeb

Please sign in to comment.