diff options
author | Nate <nathancday@gmail.com> | 2017-12-26 20:04:07 +0300 |
---|---|---|
committer | Nate <nathancday@gmail.com> | 2018-03-12 02:29:29 +0300 |
commit | a3cb71c083e0bdc17cbb963872bacd7982136073 (patch) | |
tree | c8f669c6da69a69512c8a1e298b4bba107f6090b | |
parent | b7aeb484fef69bbecc4673da69247928df094724 (diff) |
fixed list-item bug
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | layouts/partials/list-item.html | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1 +1,2 @@ /.vscode +.Rproj.user @@ -4,7 +4,7 @@ A sleek toggleable night-mode theme for [Hugo](https://gohugo.io). Built on top - A night-mode toggle, for eye easy reading - A tags/categories list page template from [Xmin](https://github.com/yihui/hugo-xmin) -- Updated tag/category labels to hyperlinks back to list of sames +- Updated tag labels to hyperlinks - Different list templates for posts and projects A live demo is available [here](https://natedayta.com). @@ -84,3 +84,7 @@ The style and languages should be written in hyphen-separated lowercase, for exa highlightStyle = "solarized-dark" highlightLanguages = ["r", "go"] ``` + + + + diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html index da749ee..078b638 100644 --- a/layouts/partials/list-item.html +++ b/layouts/partials/list-item.html @@ -23,6 +23,7 @@ <h5>{{ $.Scratch.Get "subtitle" }}</h5> {{ range.Params.categories }} + <a href="{{"/categories/"|relLangURL }}{{.|urlize}}"> <kbd class="item-cat"> {{ . }} </kbd> </a> |