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

github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Pignataro <rogepix@gmail.com>2019-05-05 11:30:21 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-05-05 11:30:21 +0300
commit2cf8a469bd64ce035aa2a5fea467e4f8b8e52a0d (patch)
tree1183a3df5302b64ad28651c68e72a44866b849f0
parentfc248e808b1de1d4a5fc3219bfee4ef303721f6f (diff)
Minor changes
-rw-r--r--layouts/_default/terms.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 391e3c2..8261c5c 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -16,34 +16,6 @@
{{ with $.Site.GetPage "taxonomy" (printf "%s/%s" $type $term) }}
<div class="card-item">
<div class="categories" >
- <a href="{{ .URL }}"><h3> <i class="iconfont icon-folder" style="padding-right: 3px"></i> {{ $term | humanize}} </h3> </a>
- {{ range first 5 $pages }}
- <article class="archive-item">
- <a href="{{ .URL }}" class="archive-item-link">{{ .Title }}</a>
- </article>
- {{ end }}
- {{ if gt (len $pages) 5 }}
- <span class="more-post">
- <a href="{{ .Permalink }}" class="more-post-link">{{ i18n "More" }} >></a>
- </span>
- {{ end }}{{ define "content" }}
-
-{{ $termName := .Data.Plural }}
-{{ $terms := .Data.Terms.ByCount }}
-{{ $length := len $terms }}
-{{ $type := .Type }}
-<!-- Categories Page -->
-<div class="post-warp {{.Data.Plural}}">
- <h2 class="post-title" style="text-align:right;padding-bottom:2em">-&nbsp;{{ .Data.Plural | humanize }}&nbsp;-</h2>
-{{ if and $.Site.Taxonomies.categories (eq $termName "categories") }}
-
-<div class="categories-card">
-{{ range $terms }}
- {{ $term := .Term }}
- {{ $pages := .Pages }}
- {{ with $.Site.GetPage "taxonomy" (printf "%s/%s" $type $term) }}
- <div class="card-item">
- <div class="categories" >
<a href="{{ .Permalink }}"><h3> <i class="iconfont icon-folder" style="padding-right: 3px"></i> {{ $term | humanize}} </h3> </a>
{{ range first 5 $pages }}
<article class="archive-item">
@@ -73,21 +45,3 @@
{{ end }}
</div>
{{end }}
- </div>
- </div>
- {{ end }}
-{{ end }}
-</div> <!-- //categories-card -->
- <!-- Tag cloud Page -->
-{{ else if and $.Site.Taxonomies.tags (eq $termName "tags") }}
- <div class="tag-cloud-tags">
- {{ range $.Site.Taxonomies.tags.ByCount }}
- {{ if .Name }}
- <a href="/tags/{{ .Name | urlize}}/"> {{ .Name }} <small>({{ .Count }})</small></a>
- {{ end }}
- {{end}}
- </div>
-
-{{ end }}
-</div>
-{{end }}