Commit 9f214dc 1 parent 73631a8 commit 9f214dc Copy full SHA for 9f214dc
File tree 2 files changed +6
-2
lines changed
exampleSite/config/_default
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ listDateFormat = "2/1/2006"
30
30
# postSectionName = "blog"
31
31
# relatedPosts = true
32
32
# numberOfRelatedPosts = 3
33
-
33
+ # disableTitleCapitalization = true
34
34
35
35
reversepagetitle = true # When set to 'true', the Window Title will be reversed to 'Title | Author' instead of the default 'Author | Title'
36
36
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ <h2>{{ .Params.mainSectionsTitle }}</h2>
49
49
</ div >
50
50
{{ end }}
51
51
< div class ="post__content ">
52
- < h3 > < a href ="{{ .RelPermalink }} "> {{ upper .Title }}</ a > </ h3 >
52
+ {{ if (eq .Site.Params.disableTitleCapitalization true) }}
53
+ < h3 > < a href ="{{ .RelPermalink }} "> {{ .Title }}</ a > </ h3 >
54
+ {{ else }}
55
+ < h3 > < a href ="{{ .RelPermalink }} "> {{ upper .Title }}</ a > </ h3 >
56
+ {{ end }}
53
57
{{ if .Site.Params.fullPostContent }}
54
58
< p > {{ .Content | markdownify }}</ p >
55
59
{{ else }}
You can’t perform that action at this time.
0 commit comments