Explorar o código

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/bhouseWeb

syuanyuri %!s(int64=3) %!d(string=hai) anos
pai
achega
0f96217230

+ 1 - 1
themes/hugo-lamp/layouts/_default/list.html

@@ -14,7 +14,7 @@
         <div class="row">
             <div class="col-md-8">
             {{ $paginator := .Paginate .Data.Pages }}
-            {{ range $paginator.Pages }}
+            {{ range where $paginator.Pages "Draft" false }}
             <div class="mb-5 post">
                 <div class="mb-4">
                     <a href="{{ .RelPermalink }}">

+ 1 - 1
themes/hugo-lamp/layouts/blog/list.html

@@ -14,7 +14,7 @@
         <div class="row">
             <div class="col-md-8">
             {{ $paginator := .Paginate .Data.Pages }}
-            {{ range $paginator.Pages }}
+            {{ range where $paginator.Pages "Draft" false }}
             <div class="mb-5 post">
                 <div class="mb-4">
                     <a href="{{ .RelPermalink }}">