2020-05-13 14:58:22 +00:00
|
|
|
{{template "head.html" .}}
|
2020-02-05 17:08:00 +00:00
|
|
|
|
2020-05-13 12:07:44 +00:00
|
|
|
<h1>alps</h1>
|
2020-02-05 17:08:00 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="/">Back</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<h2>Calendar: {{.Calendar.Name}}</h2>
|
2020-02-05 17:57:16 +00:00
|
|
|
<h3>{{.Time.Format "January 2006"}}</h3>
|
2020-02-05 17:08:00 +00:00
|
|
|
|
|
|
|
{{if .Events}}
|
|
|
|
<ul>
|
|
|
|
{{range .Events}}
|
|
|
|
{{$event := index .Data.Events 0}}
|
|
|
|
<li>
|
2020-05-13 14:48:03 +00:00
|
|
|
<a href="/calendar/{{$event.Path | pathescape}}">{{$event.Props.Text "SUMMARY"}}</a>
|
2020-02-25 18:24:35 +00:00
|
|
|
({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
|
2020-02-05 17:08:00 +00:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
|
|
|
<p>No events.</p>
|
|
|
|
{{end}}
|
|
|
|
|
2020-02-05 17:57:16 +00:00
|
|
|
<p>
|
|
|
|
<a href="/calendar?month={{.PrevPage}}">Previous</a>
|
|
|
|
· <a href="/calendar?month={{.NextPage}}">Next</a>
|
|
|
|
</p>
|
|
|
|
|
2020-02-05 17:08:00 +00:00
|
|
|
{{template "foot.html"}}
|