wiki/templates/sidebar-right.html
Peter Stuifzand d1858ad849
All checks were successful
continuous-integration/drone/push Build is passing
Add calendar
2021-02-11 21:20:38 +01:00

24 lines
693 B
HTML

{{ define "sidebar-right" }}
<div class="sidebar-right">
<div class="calendar">
<h3>{{ .Month }}</h3>
<div class="calendar-grid">
<div class="day"></div>
<div class="day">m</div>
<div class="day">d</div>
<div class="day">w</div>
<div class="day">d</div>
<div class="day">v</div>
<div class="day">z</div>
<div class="day">z</div>
{{ range .Days }}
<div class="{{ .Class }}">
<a href="{{ .URL }}">{{ .Text }}</a>
<span>{{ .Count }}</span>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}