From 98a3dad6b1000ea99615b69f0f3f6540560a2e2d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 30 May 2017 03:39:22 +0300 Subject: rename layouts & minor "Plots" markup fixes --- _layouts/main.html | 10 ---------- _layouts/plain.html | 7 +++++++ _layouts/plots.html | 7 ------- _layouts/sidebar.html | 10 ++++++++++ index.html | 2 +- plots.html | 6 +++--- 6 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 _layouts/main.html create mode 100644 _layouts/plain.html delete mode 100644 _layouts/plots.html create mode 100644 _layouts/sidebar.html diff --git a/_layouts/main.html b/_layouts/main.html deleted file mode 100644 index f151314..0000000 --- a/_layouts/main.html +++ /dev/null @@ -1,10 +0,0 @@ -{% include common/header.html %} -
-
- {{ content }} -
-
- {% include common/sidebar.html %} -
-
-{% include common/footer.html %} diff --git a/_layouts/plain.html b/_layouts/plain.html new file mode 100644 index 0000000..db09984 --- /dev/null +++ b/_layouts/plain.html @@ -0,0 +1,7 @@ +{% include common/header.html %} +
+
+ {{ content }} +
+
+{% include common/footer.html %} diff --git a/_layouts/plots.html b/_layouts/plots.html deleted file mode 100644 index db09984..0000000 --- a/_layouts/plots.html +++ /dev/null @@ -1,7 +0,0 @@ -{% include common/header.html %} -
-
- {{ content }} -
-
-{% include common/footer.html %} diff --git a/_layouts/sidebar.html b/_layouts/sidebar.html new file mode 100644 index 0000000..f151314 --- /dev/null +++ b/_layouts/sidebar.html @@ -0,0 +1,10 @@ +{% include common/header.html %} +
+
+ {{ content }} +
+
+ {% include common/sidebar.html %} +
+
+{% include common/footer.html %} diff --git a/index.html b/index.html index 21673aa..eb52770 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ --- title: Main page -layout: main +layout: sidebar groups: - navbar navbar_link:  Main page diff --git a/plots.html b/plots.html index 3a58e1d..f48380d 100644 --- a/plots.html +++ b/plots.html @@ -1,6 +1,6 @@ --- title: Plots -layout: plots +layout: plain groups: - navbar navbar_link:  Plots @@ -107,7 +107,7 @@ plots: iterations: 100 complexity: O(n2) --- -

Plots

+

{{ page.title }}

@@ -224,6 +224,6 @@ corresponding algorithm.

{% endfor %} {% else %} -

Sorry, not plots have been added yet.

+

Sorry, not plots have been added yet.


{% endif %} -- cgit v1.2.3