Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Ignore draft articles
layouts/index.html | 2 +-
diff --git a/layouts/index.html b/layouts/index.html index 50797ff89045039968d5d9e3a0b745e6d0830f55..6a1a16489e4008a4057204f573a131244445d6c4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,7 +4,7 @@{{ partial "available-lang.html" . }} </div> <section class="article-list"> - {{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }} + {{ range (where (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") "draft" "!=" "true" ) }} <div class="article"> <div class="article-title">