diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-17 02:17:11 +0200 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-17 02:17:31 +0200 |
| commit | 9fe56887a207b02d3c589f3904c4c1c374f5cdbc (patch) | |
| tree | 6341a551c4f2035ea0520b79a0794bcda126b186 /templates/post.html | |
| parent | 0cb6a5c81271a61e930505f3315b1d67bdf22724 (diff) | |
| download | mitjafelicijan.com-9fe56887a207b02d3c589f3904c4c1c374f5cdbc.tar.gz | |
Added semantic tags to templates
Diffstat (limited to 'templates/post.html')
| -rw-r--r-- | templates/post.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/post.html b/templates/post.html index 2518d1a..7b6c18e 100644 --- a/templates/post.html +++ b/templates/post.html | |||
| @@ -4,11 +4,11 @@ | |||
| 4 | {{ define "description" }}{{ .Page.Summary }}{{ end }} | 4 | {{ define "description" }}{{ .Page.Summary }}{{ end }} |
| 5 | 5 | ||
| 6 | {{ define "content" }} | 6 | {{ define "content" }} |
| 7 | <div> | 7 | <article itemtype="http://schema.org/Article"> |
| 8 | <h1>{{ .Page.Title }}</h1> | 8 | <h1 itemtype="headline">{{ .Page.Title }}</h1> |
| 9 | <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p> | 9 | <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p> |
| 10 | <div> | 10 | <div> |
| 11 | {{ .Page.HTML }} | 11 | {{ .Page.HTML }} |
| 12 | </div> | 12 | </div> |
| 13 | </div> | 13 | </article> |
| 14 | {{ end }} | 14 | {{ end }} |
