| | |
| | | {{ define "main" }} |
| | | <main class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"> |
| | | <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"> |
| | | {{ .Content }} |
| | | </main> |
| | | </article> |
| | | {{/* Define a section to pull recent posts from. For Hugo 0.20 this will default to the section with the most number of pages. */}} |
| | | {{ $mainSections := .Site.Params.mainSections | default (slice "post") }} |
| | | {{/* Create a variable with that section to use in multiple places. */}} |