Sfoglia il codice sorgente

Add content to post list layout (#378)

Robert 5 anni fa
parent
commit
b3237d1ead
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      layouts/posts/list.html

+ 1 - 0
layouts/posts/list.html

@@ -4,6 +4,7 @@
 {{ define "content" }}
   <section class="container list">
     <h1 class="title"> {{ title (i18n (lower .Title)) | default .Title }} </h1>
+    {{ .Content }}
     <ul>
       {{- range .Paginator.Pages -}}
         {{- .Render "li" -}}