File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
themes/hello-friend/layouts/_default Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ theme = "hello-friend"
44publishDir = " /"
55MetaDataFormat = " toml"
66# googleAnalytics = "UA-36359098-1"
7- paginate = 10
7+
8+ [pagination ]
9+ pagerSize = 10 # Sets 10 items per page
810
911[params ]
1012 # dir name of your blog content (default is `content/posts`).
Original file line number Diff line number Diff line change 2323 {{ end }}
2424 </ div >
2525
26- {{ if $.Site.GoogleAnalytics }}
27- {{ template "_internal/google_analytics.html" . }}
28- {{ end }}
2926 </ body >
3027</ html >
Original file line number Diff line number Diff line change 2525 <link >{{ .Permalink }}</link >
2626 <description >Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description >
2727 <generator >Hugo -- gohugo.io</generator >{{ with .Site.LanguageCode }}
28- <language >{{.}}</language >{{end}}{{ with .Site.Author.email }}
29- <managingEditor >{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor >{{end}}{{ with .Site.Author.email }}
30- <webMaster >{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster >{{end}}{{ with .Site.Copyright }}
28+ <language >{{.}}</language >{{end}}{{ with .Site.Params. Author.email }}
29+ <managingEditor >{{.}}{{ with $.Site.Params. Author.name }} ({{.}}){{end}}</managingEditor >{{end}}{{ with .Site.Params .Author.email }}
30+ <webMaster >{{.}}{{ with $.Site.Params. Author.name }} ({{.}}){{end}}</webMaster >{{end}}{{ with .Site.Copyright }}
3131 <copyright >{{.}}</copyright >{{end}}{{ if not .Date.IsZero }}
3232 <lastBuildDate >{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate >{{ end }}
3333 {{ with .OutputFormats.Get "RSS" }}
3838 <title >{{ .Title }}</title >
3939 <link >{{ .Permalink }}</link >
4040 <pubDate >{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate >
41- {{ with .Site.Author.email }}<author >{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author >{{end}}
41+ {{ with .Site.Params. Author.email }}<author >{{.}}{{ with $.Site.Params .Author.name }} ({{.}}){{end}}</author >{{end}}
4242 <guid >{{ .Permalink }}</guid >
4343 <description >
4444 {{ if .Params.Cover }}
You can’t perform that action at this time.
0 commit comments