Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>

Check failure on line 1 in layouts/partials/head.html

View workflow job for this annotation

GitHub Actions / Trunk Check

prettier

Incorrect formatting, autoformat by running 'trunk fmt'
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Expand All @@ -6,7 +6,21 @@
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1"
/>
{{ if eq .Section "blog" }}
<meta property="og:type" content="article" />
<meta
property="article:published_time"
content="{{ .Date.Format `2006-01-02T15:04:05Z07:00` }}"
/>
{{ if .Params.date_modified }}
<meta
property="article:modified_time"
content="{{ .Params.date_modified | dateFormat `2006-01-02T15:04:05Z07:00` }}"
/>
{{ end }}
{{ else }}
<meta property="og:type" content="website" />
{{ end }}
Comment on lines +9 to +22

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the ONLY change. rest is trunk fmt


<!-- <title> can be separated from metatitle
<title>{{ .Title | plainify }} | {{ .Site.Title }}</title>
Expand Down
Loading