about summary refs log tree commit diff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2021-09-20 22:30:50 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2021-09-20 22:30:50 +0700
commitb850414850a49d47ccf1a00d3fc9731fc7249361 (patch)
tree8b43b54d5a21ad623feb64a0628ab37fe7f9798c /layouts/_default
parentccdbf7903675335d17793e00199651362e3e8388 (diff)
downloadblog-b850414850a49d47ccf1a00d3fc9731fc7249361.tar.gz
Localize Section names
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 59eb537..855ed91 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,8 +5,7 @@
 
     <div class="articles h-feed">
         <h1 class="post-title">{{ i18n .Title }}</h1>
-        {{ if .Params.no_feed }}
-        {{ else}}
+        {{ if not .Params.no_feed }}
         {{ range .Page.CurrentSection.Pages }}
             <div class="post-short-list h-entry">
                 <header class="post-header">