From 55c7585e982c1e84b88ee24fd85b6cdc4d44c64d Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 15 Jul 2020 08:56:44 -0400 Subject: [PATCH] automatically show snow during the winter --- templates/header.rs.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/header.rs.html b/templates/header.rs.html index 816c886..56fb8e9 100644 --- a/templates/header.rs.html +++ b/templates/header.rs.html @@ -1,3 +1,5 @@ +@use chrono::{Datelike, Utc}; + @(title: Option<&str>, styles: Option<&str>) @@ -12,7 +14,7 @@ - + @if Utc::now().month() == 12 { }