File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <h1>{{ .Title }}</h1>
5
5
< ul >
6
6
{{ range where .Site.RegularPages "Section" .Section }}
7
7
< 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 >
9
9
</ li >
10
10
{{ end }}
11
11
</ ul >
Original file line number Diff line number Diff line change 4
4
< article class ="container blog-post ">
5
5
< h1 > {{ .Title }}</ h1 >
6
6
{{ 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 >
8
8
{{end}}
9
9
{{ .Content }}
10
10
</ article >
Original file line number Diff line number Diff line change 7
7
< ul >
8
8
{{ range where .Site.RegularPages "Section" "post" }}
9
9
< 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 >
11
11
</ li >
12
12
{{ end }}
13
13
</ ul >
Original file line number Diff line number Diff line change 5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
6
6
< meta name ="description " content ="">
7
7
< meta name ="author " content ="">
8
- {{ .Hugo .Generator }}
8
+ {{ hugo .Generator }}
9
9
< 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
+
14
14
< title > {{.Site.Title }}</ title >
15
15
< link href ='{{ "vendor/bootstrap/css/bootstrap.min.css" | absURL }} ' rel ="stylesheet ">
16
16
< link href ="https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,400i " rel ="stylesheet ">
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tyger-minimal-blog" ,
3
3
"description" : " A minimal Hugo theme" ,
4
- "version" : " 1.0.4 " ,
4
+ "version" : " 1.0.5 " ,
5
5
"author" : {
6
6
"name" : " David Buck" ,
7
7
"url" : " https://tyger.technology"
You can’t perform that action at this time.
0 commit comments