From d0194e6245d2b3e88e2bf6277f918511461d2761 Mon Sep 17 00:00:00 2001 From: sovanna Date: Mon, 22 Jul 2019 12:46:55 +0200 Subject: [PATCH] refactor(Solvespace): Creates own tpl and moves js at the bottom --- content/software/solvespace.md | 67 +--------------------------------- templates/_base.html | 3 ++ templates/page-solvespace.html | 67 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 66 deletions(-) create mode 100644 templates/page-solvespace.html diff --git a/content/software/solvespace.md b/content/software/solvespace.md index ba1339bf..9c27953c 100644 --- a/content/software/solvespace.md +++ b/content/software/solvespace.md @@ -1,7 +1,7 @@ +++ title = "SolveSpace" weight = 1 -template = "page.html" +template = "page-solvespace.html" [extra] layout_css = "col-12 col-md-10 mx-auto" @@ -124,68 +124,3 @@ Currently, the focus of development is to improve SolveSpace's handling of compl **For commercial support and licensing**, please contact sales@m-l***s.hk. - - -{% div() %} - - - - - - - - - - - - -{% end %} \ No newline at end of file diff --git a/templates/_base.html b/templates/_base.html index c5de8d91..218c37cb 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -178,6 +178,9 @@ }); + {% block js %} + {% endblock %} + diff --git a/templates/page-solvespace.html b/templates/page-solvespace.html new file mode 100644 index 00000000..d6c1fa2d --- /dev/null +++ b/templates/page-solvespace.html @@ -0,0 +1,67 @@ +{% extends 'page.html' %} + + +{% block js %} + + + + + + + + + + + + + +{% endblock %} \ No newline at end of file