From: Michael Tremer Date: Tue, 17 Jul 2018 11:43:05 +0000 (+0100) Subject: Add new blog post design X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12e5de7e1cadbab618524c4804f35d87760524b0;p=ipfire.org.git Add new blog post design Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 4cc5dfb4..ecf7f3ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,6 +76,7 @@ backenddir = $(pythondir)/ipfire web_PYTHON = \ src/web/__init__.py \ + src/web/blog.py \ src/web/handlers.py \ src/web/handlers_accounts.py \ src/web/handlers_admin.py \ @@ -109,6 +110,12 @@ templates_DATA = \ templatesdir = $(datadir)/templates +templates_blog_DATA = \ + src/templates/blog/base.html \ + src/templates/blog/post.html + +templates_blogdir = $(templatesdir)/blog + templates_modules_DATA = \ src/templates/modules/menu.html diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 36840546..f20da770 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -69,7 +69,7 @@ $lead-font-size: 1.5rem; $small-font-size: 87.5%; // Headings -$headings-font-weight: 400; +$headings-font-weight: 500; $headings-line-height: 1.5; $headings-margin-bottom: 1.5rem; $headings-color: $blue-grey-900; diff --git a/src/scss/style.scss b/src/scss/style.scss index 5d4ba335..13bac62f 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -219,6 +219,10 @@ footer { } } +.blog-post { + // Custom CSS for blog posts goes here +} + // Sidebar navigation #sidebar .nav { diff --git a/src/templates/base.html b/src/templates/base.html index 1fbc93e5..826f2395 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -27,7 +27,7 @@ IPFire - IPFire + IPFire {% block subtitle %}{% end block %}