~dricottone/blog

ref: 27019af3ca152680284e300a54e39af88e515123 blog/layouts/index.html -rw-r--r-- 422 bytes
27019af3Dominic Ricottone Apparently the Youth Poll's public-facing name is 'Futures Survey' 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{ define "main" }}

<div id="content">
  {{ .Content }}

  <hr />
</div>


<div id="blog-content">

  <p>These are my three most recent blog posts. More posts can be found on the 'Blog' tab.<p>

  <ul id="blog-post-list">
    {{ with .Site.GetPage "/posts" }}
      {{ range first 3 .Pages }}
      <li>
      {{ partial "blog-post-listitem.html" . }}
      </li>
      {{ end }}
    {{ end }}
  </ul>

</div>

{{ end }}