paginators v1
[bquest.git] / layouts / index.html
CommitLineData
3d3f8b5c
JM
1{{ partial "header.html" . -}}
2<p>&gt; curl {{ .Site.Title }} -v<br>
3* Trying 127.0.0.1:80...<br>
4* Connected to {{ .Site.Title }} (127.0.0.1) port 80 (#0)<br>
5&gt; GET / HTTP 1.1<br>
6&gt; Host: based.quest<br>
7&gt; User-Agent: curl/b.45.3d<br>
8&gt; Accept */*<br>
9&gt;<br><br></p>
10<p>&lt; HTTP/1.1 200 OK<br>
11&lt; Server: nginx<br>
12&lt; Date: Right now o'clock<br>
13&lt; Content-Type: base/based<br>
14&lt; Last-Modified: Doesn't need to be modified, is perfect as-is.<br>
15&lt; Connection: keep-alive<br><br></p>
16<p>based<br><br></p>
17
18{{ partial "links.html" }}
19
20<p>Tags: {{ range $name, $taxonomy := .Site.Taxonomies.tags }}<a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}/">{{ $name }}</a> {{ end }}</p>
21{{ range .Pages.GroupBy "Section" "desc"}}
22{{ with $.Site.GetPage "section" .Key }}
23<h2>{{ .Title }}</h2>
24<ul>
25 {{ range first 5 .Pages }}
26 <li><a href="{{ .RelPermalink }}">{{ .Date.Format "02/01/2006" }} {{ .Title }}</a></li>
27 {{ end }}
28 {{ if gt (len .Pages) 5 }}
29 <br>
30 <p><a href="{{ .RelPermalink }}">Read all the posts</a></p>
31 {{ end }}
32</ul>
33{{ end }}
34{{ end }}
35
36{{ partial "tags.html" . }}
37{{ partial "footer.html" . }}