diff --git a/crates/treehouse/src/generate.rs b/crates/treehouse/src/generate.rs index c6c2f3a..423240e 100644 --- a/crates/treehouse/src/generate.rs +++ b/crates/treehouse/src/generate.rs @@ -96,6 +96,7 @@ pub struct HistoryPage { pub title: String, pub commits: Vec, pub tree_path: String, + pub is_history: bool, // always true } #[derive(Serialize)] @@ -618,6 +619,7 @@ impl Generator { }) .collect(), tree_path: tree_path.to_owned(), + is_history: true, }, season: Season::current(), }; diff --git a/static/css/main.css b/static/css/main.css index 6df2ede..b640b02 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -474,8 +474,8 @@ hr { h1.page-title { --recursive-wght: 850; - margin-top: 1rem; - margin-bottom: 1rem; + margin-top: 0.2rem; + margin-bottom: 0.2rem; margin-left: 2.25rem; font-size: 2.5rem; diff --git a/template/components/_header.hbs b/template/components/_header.hbs index 2900e57..b05cbea 100644 --- a/template/components/_header.hbs +++ b/template/components/_header.hbs @@ -1,6 +1,6 @@