Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Sada Caraveo <danielsadac@gmail.com>2020-05-26 10:25:31 +0300
committerGitHub <noreply@github.com>2020-05-26 10:25:31 +0300
commit87e00dff3611b1b56f2459c9d37cdc0670a76ba4 (patch)
tree748abe9ef6cf703b0eb3afd7ba53ec2702ae16f7
parentb3bebf2ae7f3c35f6fee5d23bb8013abca1a16ee (diff)
Humanize incorrectly lowercases first letter of surname
When adding the author's surname, humanize incorrectly lowercases it. i.e. "Daniel Sada" becomes "Daniel sada"
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 14b2c4f..19ee211 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -26,7 +26,7 @@
</svg> </span>
<span class="meta-text">
By {{ range .Params.Author }}
- <a href="{{ `author/` | relLangURL }}{{ . | urlize | lower }}">{{ . | humanize }}</a>
+ <a href="{{ `author/` | relLangURL }}{{ . | urlize | lower }}">{{ . }}</a>
{{ end }} </span>
</li>
<li class="post-date meta-wrapper">
@@ -99,4 +99,4 @@
</div><!-- .section-inner -->
</article>
-{{ end }} \ No newline at end of file
+{{ end }}