' > " and humanize titles

This commit is contained in:
2022-05-25 09:29:04 +00:00
parent 9e47bd169a
commit 6c98fcf57a
19 changed files with 53 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
<h1>{{ .Title | humanize }}</h1>
</header>
{{ .Content }}
<ul class='contents'>

View File

@@ -1,7 +1,7 @@
{{ define "main" }}
<article>
<header>
<h1>{{ .Title }}</h1>
<h1>{{ .Title | humanize }}</h1>
</header>
{{ .Content }}
</article>