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

github.com/gevhaz/hugo-theme-notrack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/themes/notrack/layouts/_default/archives.html')
-rw-r--r--exampleSite/themes/notrack/layouts/_default/archives.html29
1 files changed, 0 insertions, 29 deletions
diff --git a/exampleSite/themes/notrack/layouts/_default/archives.html b/exampleSite/themes/notrack/layouts/_default/archives.html
deleted file mode 100644
index b6d3375..0000000
--- a/exampleSite/themes/notrack/layouts/_default/archives.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-{{ define "main" }}
-<main>
-
- {{- with .Title }}
- <h1 class="page-title">{{ . }}</h1>
- {{- end }}
-
- {{ with (where site.RegularPages "Type" "in" site.Params.mainSections) }}
- {{- $byyear := (where . ".Draft" false).GroupByDate "2006" -}}
-
- {{- range $byyear -}}
- <h2>{{ .Key }}</h2>
-
- <ul>
- {{ range.Pages }}
- <li> <time>{{ .Date.Format "2/1" }}</time>
- <span> - </span>
- <a href="{{ .Permalink }}">
- <span>{{ .Title }}</span>
- </a>
- </li>
- {{ end }}
- </ul>
- {{- end -}}
- {{ end }}
-
-</main>
-{{ end }}