Skip to content

Commit 9d834dd

Browse files
committed
update for Hugo 0.55.6
1 parent 7b41ea7 commit 9d834dd

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ <h1>{{ .Title }}</h1>
55
<ul>
66
{{ range where .Site.RegularPages "Section" .Section }}
77
<li>
8-
<time>{{ .Date.Format "Jan 2, 2006" }}</time><a href="{{ .Permalink }}">{{ .Title }}</a>
8+
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z0700` }}">{{ .Date.Format "Jan 2, 2006" }}</time><a href="{{ .Permalink }}">{{ .Title }}</a>
99
</li>
1010
{{ end }}
1111
</ul>

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<article class="container blog-post">
55
<h1>{{ .Title }}</h1>
66
{{ if not .Params.hide_date }}
7-
<div class="blog-post-date"><time>{{ .Date.Format "Jan 2, 2006" }}</time></div>
7+
<div class="blog-post-date"><time datetime="{{ .Date.Format `2006-01-02T15:04:05Z0700` }}">{{ .Date.Format "Jan 2, 2006" }}</time></div>
88
{{end}}
99
{{ .Content }}
1010
</article>

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<ul>
88
{{ range where .Site.RegularPages "Section" "post" }}
99
<li>
10-
<time>{{ .Date.Format "Jan 2, 2006" }}</time><a href="{{ .Permalink }}">{{ .Title }}</a>
10+
<time datetime="{{ .Date.Format `2006-01-02T15:04:05Z0700` }}">{{ .Date.Format "Jan 2, 2006" }}</time><a href="{{ .Permalink }}">{{ .Title }}</a>
1111
</li>
1212
{{ end }}
1313
</ul>

layouts/partials/header.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
66
<meta name="description" content="">
77
<meta name="author" content="">
8-
{{ .Hugo.Generator }}
8+
{{ hugo.Generator }}
99
<link rel="icon" type="image/png" href='{{ "favicon.png" | absURL }}' />
10-
{{ if .RSSLink }}
11-
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
12-
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
13-
{{ end }}
10+
{{ with .OutputFormats.Get "rss" -}}
11+
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
12+
{{ end -}}
13+
1414
<title>{{.Site.Title }}</title>
1515
<link href='{{ "vendor/bootstrap/css/bootstrap.min.css" | absURL }}' rel="stylesheet">
1616
<link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,400i" rel="stylesheet">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tyger-minimal-blog",
33
"description": "A minimal Hugo theme",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"author": {
66
"name": "David Buck",
77
"url": "https://tyger.technology"

0 commit comments

Comments
 (0)