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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/category/category.html')
-rw-r--r--layouts/category/category.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/layouts/category/category.html b/layouts/category/category.html
deleted file mode 100644
index d928c2f..0000000
--- a/layouts/category/category.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-<!-- category page -->
-
-{{ partial "header.html" . }}
-
-<div id="main">
- <div id="content">
- <div>
- <article role="article">
- <header>
- <h1 class="entry-title">
- {{ .Data.Singular | title }}: {{ .Title }}
- </h1>
- </header>
- <div id="blog-archives" class="category">
- {{ range .Data.Pages }}
- <h2>
- {{ .Date | dateFormat "2006"}}
- </h2>
- <article>
- <h1>
- <a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
- </h1>
- <time>
- <span class="month">{{ .Date | dateFormat "Jan" }}</span>
- <span class="day">{{ .Date | dateFormat "2" }}</span>
- </time>
- <footer>
- <span class="categories"> <!-- show tags -->
- tags:
- <!-- although tags had no issues with isset (it is alwaus lowercase) I switched it to with anyways.
- However, .Params.tags is not visible inside so I had to use scratch -->
- {{ $.Scratch.Set "tags" .Params.tags }}
- {{ with .Params.categories }}
- {{ range ($.Scratch.Get "tags") }} <a class="category" href="{{ "/tags/" | absURL }}{{ . | urlize | lower }}">{{ . }}</a>{{ end }}
- {{ end }}
- </span>
- </footer>
- </article>
- {{ end }}
- </div>
- </article>
- </div>
-
- {{ partial "sidebar.html" . }}
- </div>
-</div>
-
-{{ partial "footer.html" . }}