diff --git a/i18n/en.toml b/i18n/en.toml
index e1d36d5..0178389 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -5,4 +5,7 @@ tues = "Tu"
wend = "W"
thurs = "Th"
fri = "F"
-sat = "Sa"
\ No newline at end of file
+sat = "Sa"
+
+[dates]
+far = "Further Events"
diff --git a/i18n/pl.toml b/i18n/pl.toml
index b99ed13..5218620 100644
--- a/i18n/pl.toml
+++ b/i18n/pl.toml
@@ -5,4 +5,7 @@ tues = "W"
wend = "Ś"
thurs = "C"
fri = "Pi"
-sat = "S"
\ No newline at end of file
+sat = "S"
+
+[dates]
+far = "Further Events"
diff --git a/layouts/index.html b/layouts/index.html
index 00713b1..31cf260 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,10 @@
{{ partial "header.html" . }}
{{ partial "nav.html" . }}
+
+
+
+
{{ .Content }}
{{ partial "footer.html" . }}
diff --git a/layouts/shortcodes/cal_layout.html b/layouts/shortcodes/cal_layout.html
new file mode 100644
index 0000000..a683bcd
--- /dev/null
+++ b/layouts/shortcodes/cal_layout.html
@@ -0,0 +1,198 @@
+{{ $date := now }}
+
+{{ $month := $date.Month | int }}
+{{ $year := $date.Year }}
+
+{{ $t1 := printf "%4d-%02d-01" $year $month }}
+{{ $t1 := time.AsTime $t1 }}
+{{ $t2 := $t1.AddDate 0 1 0 }}
+
+{{ $daysInMonth := $t2.Sub $t1 }}
+{{ $daysInMonth := $daysInMonth.Hours }}
+{{ $daysInMonth := div $daysInMonth 24 }}
+
+
+
+ {{ if eq .Site.Language.Lang "pl" }}
+ {{ $polish_month_names := slice "Styczeń" "Luty" "Marzec" "Kwiecień" "Maj" "Czerwiec" "Lipiec" "Sierpień" "Wrzesień" "Październik" "Listopad" "Grudzień" }}
+ {{ $month := sub $month 1}}
+ {{ $label := index $polish_month_names $month }}
+
{{ printf "%s %d" $label $year }}
+ {{ else }}
+
{{ time.Format "January 2006" $t1 }}
+ {{ end }}
+
+
+ {{ $days := slice "sun" "mon" "tues" "wend" "thurs" "fri" "sat" }}
+ {{ range $days }}
{{ i18n (printf "days.%s" .) }}
{{ end }}
+
+
+
+ {{ $padding := $t1.Weekday | int }}
+ {{ if gt $padding 0 }}
+ {{ range seq 1 $padding }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ range seq 1 $daysInMonth }}
+
+ {{ $startDate := time.AsTime ( printf "%4d-%02d-%02dT00:00:00" $year $month . ) }}
+ {{ $endDate := time.AsTime ( printf "%4d-%02d-%02dT23:59:59" $year $month . ) }}
+
{{ . }}
+
{{ $startDate | time.Format ":date_long" }}
+
+ {{ range where $.Site.RegularPages "Section" "eq" "events" }}
+ {{ $eventStart := time.AsTime .Params.start_date }}
+ {{ $eventEnd := time.AsTime .Params.end_date }}
+
+ {{ if and ( or ($eventEnd.After $startDate) ($eventEnd.Equal $startDate)) (or ( $eventStart.Before $endDate ) ( $eventStart.Equal $endDate )) }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ end }}
+
+
+
+
+{{ $date := $date.AddDate 0 1 0 }}
+
+{{ $month := $date.Month | int }}
+{{ $year := $date.Year }}
+
+{{ $t1 := printf "%4d-%02d-01" $year $month }}
+{{ $t1 := time.AsTime $t1 }}
+{{ $t2 := $t1.AddDate 0 1 0 }}
+
+{{ $daysInMonth := $t2.Sub $t1 }}
+{{ $daysInMonth := $daysInMonth.Hours }}
+{{ $daysInMonth := div $daysInMonth 24 }}
+
+
+
+ {{ if eq .Site.Language.Lang "pl" }}
+ {{ $polish_month_names := slice "Styczeń" "Luty" "Marzec" "Kwiecień" "Maj" "Czerwiec" "Lipiec" "Sierpień" "Wrzesień" "Październik" "Listopad" "Grudzień" }}
+ {{ $month := sub $month 1}}
+ {{ $label := index $polish_month_names $month }}
+
{{ printf "%s %d" $label $year }}
+ {{ else }}
+
{{ time.Format "January 2006" $t1 }}
+ {{ end }}
+
+
+ {{ $days := slice "sun" "mon" "tues" "wend" "thurs" "fri" "sat" }}
+ {{ range $days }}
{{ i18n (printf "days.%s" .) }}
{{ end }}
+
+
+
+ {{ $padding := $t1.Weekday | int }}
+ {{ if gt $padding 0 }}
+ {{ range seq 1 $padding }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ range seq 1 $daysInMonth }}
+
+ {{ $startDate := time.AsTime ( printf "%4d-%02d-%02dT00:00:00" $year $month . ) }}
+ {{ $endDate := time.AsTime ( printf "%4d-%02d-%02dT23:59:59" $year $month . ) }}
+
{{ . }}
+
{{ $startDate | time.Format ":date_long" }}
+
+ {{ range where $.Site.RegularPages "Section" "eq" "events" }}
+ {{ $eventStart := time.AsTime .Params.start_date }}
+ {{ $eventEnd := time.AsTime .Params.end_date }}
+
+ {{ if and ( or ($eventEnd.After $startDate) ($eventEnd.Equal $startDate)) (or ( $eventStart.Before $endDate ) ( $eventStart.Equal $endDate )) }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ end }}
+
+
+
+{{ $date := $date.AddDate 0 1 0 }}
+
+{{ $month := $date.Month | int }}
+{{ $year := $date.Year }}
+
+{{ $t1 := printf "%4d-%02d-01" $year $month }}
+{{ $t1 := time.AsTime $t1 }}
+{{ $t2 := $t1.AddDate 0 1 0 }}
+
+{{ $daysInMonth := $t2.Sub $t1 }}
+{{ $daysInMonth := $daysInMonth.Hours }}
+{{ $daysInMonth := div $daysInMonth 24 }}
+
+
+
+ {{ if eq .Site.Language.Lang "pl" }}
+ {{ $polish_month_names := slice "Styczeń" "Luty" "Marzec" "Kwiecień" "Maj" "Czerwiec" "Lipiec" "Sierpień" "Wrzesień" "Październik" "Listopad" "Grudzień" }}
+ {{ $month := sub $month 1}}
+ {{ $label := index $polish_month_names $month }}
+
{{ printf "%s %d" $label $year }}
+ {{ else }}
+
{{ time.Format "January 2006" $t1 }}
+ {{ end }}
+
+
+ {{ $days := slice "sun" "mon" "tues" "wend" "thurs" "fri" "sat" }}
+ {{ range $days }}
{{ i18n (printf "days.%s" .) }}
{{ end }}
+
+
+
+ {{ $padding := $t1.Weekday | int }}
+ {{ if gt $padding 0 }}
+ {{ range seq 1 $padding }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ range seq 1 $daysInMonth }}
+
+ {{ $startDate := time.AsTime ( printf "%4d-%02d-%02dT00:00:00" $year $month . ) }}
+ {{ $endDate := time.AsTime ( printf "%4d-%02d-%02dT23:59:59" $year $month . ) }}
+
{{ . }}
+
{{ $startDate | time.Format ":date_long" }}
+
+ {{ range where $.Site.RegularPages "Section" "eq" "events" }}
+ {{ $eventStart := time.AsTime .Params.start_date }}
+ {{ $eventEnd := time.AsTime .Params.end_date }}
+
+ {{ if and ( or ($eventEnd.After $startDate) ($eventEnd.Equal $startDate)) (or ( $eventStart.Before $endDate ) ( $eventStart.Equal $endDate )) }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ end }}
+
+
+
+{{ i18n "dates.far" }}
+{{ $startDate := now }}
+{{ $month := $startDate.Month | int }}
+{{ $year := $startDate.Year }}
+{{ $startDate := printf "%4d-%02d-01" $year $month }}
+{{ $startDate := time.AsTime $startDate }}
+{{ $startDate := $startDate.AddDate 0 3 0 }}
+
+{{ $endDate := $startDate.AddDate 0 6 0 }}
+
+{{ range sort (where .Site.RegularPages "Section" "events") "Params.start_date" "asc" }}
+ {{ $eventDate := time.AsTime .Params.start_date }}
+ {{ if and ( or ($eventDate.After $startDate) ($eventDate.Equal $startDate)) ($eventDate.Before $endDate) }}
+ - {{$eventDate.Format "Jan 2, 2006" }} - {{.Title}}
+ {{ end }}
+{{ end }}
+
+
+
+
diff --git a/static/css/calendar.css b/static/css/calendar.css
index 2b4ee15..6a220ed 100644
--- a/static/css/calendar.css
+++ b/static/css/calendar.css
@@ -181,4 +181,4 @@
color: var(--acc-1);
font-size: 2vh;
}
-}
\ No newline at end of file
+}
diff --git a/static/css/style.css b/static/css/style.css
index 6046fbd..3e05250 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -434,4 +434,4 @@ blockquote.location p { padding: inherit; }
}
-}
\ No newline at end of file
+}