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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-03-02 17:55:02 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-03-02 17:55:02 +0300
commit1bb9347f4e122b573ff3e4f94e5954e1bcfb95ff (patch)
tree6c83b03e5fe7821cb9bb8832a9594a73849ba9b5 /layouts/index.html
parentfdaf6145cbbc4573a87e51b492e4893722b8fe73 (diff)
Add Section(Archive) page.
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 378ea07..c252c53 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,7 +4,7 @@
<div ref="streamContainer" class="stream-container">
<div class="post-list-container post-list-container-no-background">
{{range .Paginator.Pages}}
- {{if .IsPage}}
+ {{if and (.IsPage) (.Params.date)}}
<a href="{{.Permalink}}" class="a-block">
<div class="post-item-wrapper">
<div class="post-item post-item-no-divider">