Commit 26b66aeb authored by Laura Kalbag's avatar Laura Kalbag

Create proper template for single news pages

They’re hard to get to, but accessible from the RSS feed. I’ve populated them as a single version of the list view, but included the fund us section at the bottom.
parent e331d54c
{{ define "main" }}
<main id="content">
<h1>{{ .Title }}</h1>
<div class='entry-meta'>
<p>Posted: <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
{{ .Date.Format "2" | humanize }} {{ .Date.Format "January, 2006" }}
</time> {{ with }}by {{ . }} {{end}}on <a
href='{{ .Params.SourceURL }}'>{{ .Params.SourceName }}</a></p>
<blockquote class='summary'>
{{ .Content }}
<div class='entry-notes'>
<p><a href='{{ .Params.postURL }}'>Read ‘{{ .Title }}’ on {{ .Params.SourceName }}</a>.</p>
{{ partial "fund-us.html" . }}
{{ end }}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment