jk
4 years ago
9 changed files with 38 additions and 8 deletions
-
6config.toml
-
5content/note/5fef8a61/index.md
-
2content/note/5fef9fd0/index.md
-
3content/note/5ff0e1e2/index.md
-
8themes/nipponalba/layouts/_default/list.html
-
8themes/nipponalba/layouts/_default/single.html
-
10themes/nipponalba/layouts/index.html
-
2themes/nipponalba/layouts/partials/taxonomy/categories.html
-
2themes/nipponalba/static/css/style.css
@ -1,6 +1,6 @@ |
|||||
|
|
||||
<ul class="categories"> |
<ul class="categories"> |
||||
{{- range $index, $el := . -}} |
{{- range $index, $el := . -}} |
||||
<li><a class="category p-category" href="{{ ( printf "category/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a></li> |
|
||||
|
{{if not (in (slice "1" "2" "3" "4" "5") .)}}<li><a class="category p-category" href="{{ ( printf "category/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a></li>{{ end }} |
||||
{{- end -}} |
{{- end -}} |
||||
</ul> |
</ul> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue