feat: add option to disable title capitalization on index (#526)
| | |
| | | # postSectionName = "blog" |
| | | # relatedPosts = true |
| | | # numberOfRelatedPosts = 3 |
| | | |
| | | # disableTitleCapitalization = true |
| | | |
| | | reversepagetitle = true # When set to 'true', the Window Title will be reversed to 'Title | Author' instead of the default 'Author | Title' |
| | | |
| | |
| | | </div> |
| | | {{ end }} |
| | | <div class="post__content"> |
| | | <h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3> |
| | | {{ if (eq .Site.Params.disableTitleCapitalization true) }} |
| | | <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> |
| | | {{ else }} |
| | | <h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3> |
| | | {{ end }} |
| | | {{ if .Site.Params.fullPostContent }} |
| | | <p>{{ .Content | markdownify }}</p> |
| | | {{ else }} |