Website V. 1.4.2
All checks were successful
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 32s

Modified Dates for Snow
This commit is contained in:
2026-01-08 11:48:24 +01:00
parent d2f63dec09
commit 271105fd33
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ on:
- master - master
schedule: schedule:
- cron: '0 0 10 12 *' - cron: '0 0 10 12 *'
- cron: '0 0 8 1 *' - cron: '0 0 9 1 *'
jobs: jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -2,7 +2,7 @@
{{- $month := now.Month -}} {{- $month := now.Month -}}
{{- $day := now.Day -}} {{- $day := now.Day -}}
{{- if or (and (eq $month 12) (ge $day 10)) (and (eq $month 1) (le $day 7)) -}} {{- if or (and (eq $month 12) (ge $day 10)) (and (eq $month 1) (le $day 8)) -}}
{{- $isWinter = true -}} {{- $isWinter = true -}}
{{- end -}} {{- end -}}