diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-11-22 10:10:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 10:10:36 +0300 |
commit | fe54ba8ec9057305e80388e5a760c5532dda9535 (patch) | |
tree | 3ef4cdc85f7d84fafbb1bb92be21d78013fcd3d6 | |
parent | 4e8fb6a848a0108714e3259ef6bb03fc423c56a5 (diff) |
Remove title case from theme names
This commit will preserve the case of theme names as specified by their authors in `theme.toml`
Closes #55
-rw-r--r-- | layouts/_default/thumbnail.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/thumbnail.html b/layouts/_default/thumbnail.html index 875546f..df36783 100644 --- a/layouts/_default/thumbnail.html +++ b/layouts/_default/thumbnail.html @@ -10,6 +10,6 @@ <noscript> <img class="fit db ba b--moon-gray" alt="{{ $.Description }}" srcset="{{ $small.RelPermalink }} 1x, { $big.RelPermalink }} 2x" /> </noscript> - <span class="f6 dark-gray w-100 db">{{title (replace $.Params.name "-" " ")}}</span> + <span class="f6 dark-gray w-100 db">{{replace $.Params.name "-" " "}}</span> </a> -{{ end }}
\ No newline at end of file +{{ end }} |