From c6f371a874125f982d4ca51cd2e2ad0b6ae29d4c Mon Sep 17 00:00:00 2001 From: sovanna Date: Fri, 19 Jul 2019 12:45:30 +0200 Subject: [PATCH] refactor(page): Renames to layout_css and some cosmetics --- content/software/solvespace.md | 2 +- templates/page.html | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/content/software/solvespace.md b/content/software/solvespace.md index a133328e..be5ab2c2 100644 --- a/content/software/solvespace.md +++ b/content/software/solvespace.md @@ -4,7 +4,7 @@ weight = 1 template = "page.html" [extra] -layoutcss = "col-12 col-md-10 mx-auto" +layout_css = "col-12 col-md-10 mx-auto" +++ {% div() %} diff --git a/templates/page.html b/templates/page.html index b4c21eb3..852b3f83 100644 --- a/templates/page.html +++ b/templates/page.html @@ -20,13 +20,13 @@
{% if page.extra and page.extra.logo %} - logo + logo {% endif %} {% if page.extra and page.extra.title %} -

{{ page.extra.title }}

+

{{ page.extra.title }}

{% else %} -

{{ page.title }}

+

{{ page.title }}

{% endif %} @@ -46,9 +46,9 @@
-
+
-
+
{% block main_content %} @@ -64,7 +64,9 @@
+ {% block outside %}{% endblock %} + {% endblock %} -{% block footer_contact %}{% endblock %} \ No newline at end of file +{% block footer_contact %}{% endblock %}