14 lines
459 B
HTML
14 lines
459 B
HTML
{{ $byday := "" }}
|
|
{{ $bymonth := "" }}
|
|
{{ partial "debug" (dict "context" . "filename" "index.html") }}
|
|
{{ range $rrule := split "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10" ";" }}
|
|
{{ if in . "BYDAY" }}<br>
|
|
{{ $byday = index (split . "=") 1 }}
|
|
{{ end }}
|
|
{{ if in . "BYMONTH" }}<br>
|
|
{{ $bymonth = index (split . "=") 1 }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ $byday }}<br>
|
|
{{ $bymonth }}<br>
|