jeremykidwell.info/layouts/partials/nowon.html

1 line
164 B
HTML
Raw Normal View History

2017-06-26 19:57:02 +00:00
{{ if (le .Date.Unix now.Unix) }}{{ if (le now.Unix (add .Date.Unix .Params.duration)) }}<span class="badge badge-small badge-green">now on</span>{{ end }}{{ end }}