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

github.com/nathancday/min_night.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate <nathancday@gmail.com>2017-12-26 20:04:07 +0300
committerNate <nathancday@gmail.com>2018-03-12 02:29:29 +0300
commita3cb71c083e0bdc17cbb963872bacd7982136073 (patch)
treec8f669c6da69a69512c8a1e298b4bba107f6090b
parentb7aeb484fef69bbecc4673da69247928df094724 (diff)
fixed list-item bug
-rw-r--r--.gitignore1
-rw-r--r--README.md6
-rw-r--r--layouts/partials/list-item.html1
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 598ae79..b3128b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/.vscode
+.Rproj.user
diff --git a/README.md b/README.md
index ff70501..dfa010f 100644
--- a/README.md
+++ b/README.md
@@ -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>