Advertisement
Guest User

Untitled

a guest
Mar 11th, 2018
18
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       <div id="container">
  2.           {{ range where .Pages "Section" "posts" }}
  3.           <article>
  4.            
  5.             <h2 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
  6.             <p> {{ .Date.Format "Jan 2" }}</p>
  7.             <div class="content">
  8.               {{ .Summary }}
  9.               {{ if .Truncated }}
  10.               <p><a class="readmoreButton" href="{{ .Permalink }}" style="height:28px">
  11.                       Les mer
  12.                     </a></p>
  13.               {{ end }}
  14.             </div>
  15.           </article>
  16.           {{ end }}
  17.         </div>
Advertisement
RAW Paste Data Copied
Advertisement