diff options
author | Johann Muszynski <johann.muszynski@gmail.com> | 2019-03-16 01:06:01 +0300 |
---|---|---|
committer | Johann Muszynski <johann.muszynski@gmail.com> | 2019-03-16 09:52:05 +0300 |
commit | d4c91174179e6cbc34024965dc6507d33f6ed862 (patch) | |
tree | 1a8d6535f1f2c3bfc3038389b109095d826ff720 | |
parent | c1e3d1baad340d0551cbf20ff0fcb91f9fd8de30 (diff) |
Add ability to hide posts from blog post list
-rw-r--r-- | layouts/index.html | 2 |
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') %>--> |