diff --git a/templates/base.html b/templates/base.html index 3a9b3c1..9ba628e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -36,57 +36,55 @@ onload="renderMathInElement(document.body);"> -
-- We are a student group acting independently of the University of California. We take full responsibility for - our organization and this web site. -
-+ We are a student group acting independently of the University of California. We take full responsibility for + our organization and this web site. +
+ + News +
+{{ title }}
+- - News -
+{# =============================== #} +{# = STARTING THE ACTUAL CONTENT = #} +{# =============================== #} - - - +{% block content %} -- {{ new_news_post.title }} -
- +{# News post notification, if there is one #} + +{% set news_section = get_section(path="news/_index.md") %} +{% set news_post = news_section.pages | first %} +{% if news_post %} +{{ self::news_post(title=news_post.title, href=news_post.permalink) }} {% endif %} +{# Main banner & description #} +