Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / partials / article.html
diff options
context:
space:
mode:
Commitb21933aa4c8fcedc94db1719cb265870151fb885 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 09:28:47 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 09:28:47 +0300
Filesa14ff0b2ee4bcaf5f99be592a11320fe460bfdd4 /layouts/partials/article.html
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.tar
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.tar.gz
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.zip
Parentfba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5 (diff)
Squashed 'website/themes/base16/' changes from 7b2da73..861b48a
861b48a Fix homepage for Hugo v0.57.0+ 785529b Merge pull request #22 from htdvisser/dependabot/npm_and_yarn/lodash.template-4.5.0 eebef6d Bump lodash.template from 4.4.0 to 4.5.0 004fb6d Merge pull request #19 from htdvisser/dependabot/npm_and_yarn/js-yaml-3.13.1 e481251 "Urlize" Tags and Categories in Article and swap ".Hugo" for "hugo" (#20) cdc4ae0 Humanize link text for Categories to handle spaces 72fdc0d Urlize tags and categories in article.html 623ee7c Swap deprecated '.Hugo' for 'hugo' be36348 Bump js-yaml from 3.13.0 to 3.13.1 08da946 Fix rendering of page title 62034ea Update dependencies, rebuild and bump version 12c8463 Merge pull request #18 from denislobanov/pagination bc4166b Move paginator to partial and add to other lists 8fde45b static css 75a3a83 Add support for Pagination #2 git-subtree-dir: website/themes/base16 git-subtree-split: 861b48ad0ff31e9b2bee50f2a87925820daac9f5
1 files changed, 2 insertions, 2 deletions
-rw-r--r--layouts/partials/article.html4
diff --git a/layouts/partials/article.html b/layouts/partials/article.html
index c69a76f..a1da41b 100644
--- a/layouts/partials/article.html
+++ b/layouts/partials/article.html
@@ -9,7 +9,7 @@
<span class="key">{{ if $page.Date.IsZero }}published {{ end }}in</span>
<span class="val">
{{ range . }}
- <a href="{{ . | printf "categories/%s" | relURL }}">{{ . }}</a>
+ <a href="{{ . | urlize | printf "categories/%s" | relURL }}">{{ . }}</a>
{{ end }}
</span>
{{ end }}
@@ -18,7 +18,7 @@
<span class="key">tags:</span>
<span class="val">
{{ range . }}
- <a href="{{ . | printf "tags/%s" | relURL }}">{{ . }}</a>
+ <a href="{{ . | urlize | printf "tags/%s" | relURL }}">{{ . }}</a>
{{ end }}
</span>
{{ end }}