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

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Muszynski <johann.muszynski@gmail.com>2019-03-16 01:06:01 +0300
committerJohann Muszynski <johann.muszynski@gmail.com>2019-03-16 09:52:05 +0300
commitd4c91174179e6cbc34024965dc6507d33f6ed862 (patch)
tree1a8d6535f1f2c3bfc3038389b109095d826ff720
parentc1e3d1baad340d0551cbf20ff0fcb91f9fd8de30 (diff)
Add ability to hide posts from blog post list
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 8e550f2..e1b4e99 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -3,7 +3,7 @@
<div id="container">
{{ partial "header.html" . }}
<section id="main" class="outer">
- {{ range .Paginator.Pages }}
+ {{ range where .Paginator.Pages "Params.hide" "ne" "true" }}
<article class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-inner">
<!--<%- partial('post/gallery') %>-->