浏览代码

Merge branch 'main' into autoprefixer-1667142184

kodiakhq[bot] 2 年之前
父节点
当前提交
619c046222
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      layouts/partials/sections/recent-posts.html

+ 9 - 0
layouts/partials/sections/recent-posts.html

@@ -24,4 +24,13 @@
       {{ end }}
     </div>
   </div>
+  {{ if (.section.showMoreButton) }}
+  <div class="container" style="
+  display: flex;
+  align-items: center;
+  justify-content: center;">
+    <a href="/posts/" title="Show More" class="float-right btn btn-outline-info btn-sm" >
+    {{ i18n "show_more"}}</a>
+  </div>
+  {{ end }}
 </div>