Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="container">
- {{ range where .Pages "Section" "posts" }}
- <article>
- <h2 class="title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
- <p> {{ .Date.Format "Jan 2" }}</p>
- <div class="content">
- {{ .Summary }}
- {{ if .Truncated }}
- <p><a class="readmoreButton" href="{{ .Permalink }}" style="height:28px">
- Les mer
- </a></p>
- {{ end }}
- </div>
- </article>
- {{ end }}
- </div>
Advertisement
RAW Paste Data
Copied
Advertisement