summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-16 22:18:28 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-16 22:20:38 +0100
commitc0d002486c51daab995d73e035e6d1ba2407e6d7 (patch)
tree9c1cbe4fd41b3c5d2d202f0d773d2005793e5101
parent949ebd2576feccebc43d65f0f03c091fc8fbfdda (diff)
downloadwiki-2.0.1.tar.gz
wiki-2.0.1.tar.bz2
wiki-2.0.1.zip
New internal layouts and minor fix2.0.1
-rw-r--r--404.md1
-rw-r--r--_config.yml.dist4
-rw-r--r--_layouts/git-wiki-bs-lux.html68
-rw-r--r--_layouts/git-wiki-bs-united.html68
4 files changed, 140 insertions, 1 deletions
diff --git a/404.md b/404.md
index d395b73..368fc60 100644
--- a/404.md
+++ b/404.md
@@ -1,5 +1,4 @@
---
-layout: default
permalink: /404.html
---
diff --git a/_config.yml.dist b/_config.yml.dist
index a3434a4..f1bf919 100644
--- a/_config.yml.dist
+++ b/_config.yml.dist
@@ -29,6 +29,10 @@ google_cse_token:
# You can customize it changing default layout for all pages
# More info: https://jekyllrb.com/docs/configuration/
+#
+# git-wiki includes some internal themes that you can choose
+# check _layouts folder
+#
defaults:
-
scope:
diff --git a/_layouts/git-wiki-bs-lux.html b/_layouts/git-wiki-bs-lux.html
new file mode 100644
index 0000000..fbaac6b
--- /dev/null
+++ b/_layouts/git-wiki-bs-lux.html
@@ -0,0 +1,68 @@
+<!--
+ This layout uses bootstrap with lux theme
+-->
+{% include gw_defines/defines.html %}
+
+<!doctype html>
+<html>
+
+<head>
+ {% if site.inc_before_head %}
+ {% include {{ site.inc_before_head }} %}
+ {% endif %}
+
+ {% include gw_head/meta.html %}
+ {% include gw_head/scripts.html %}
+ {% include gw_head/styles.html %}
+
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/lux/bootstrap.min.css">
+
+ {% if site.inc_after_head %}
+ {% include {{ site.inc_after_head }} %}
+ {% endif %}
+</head>
+
+<body>
+ <div class="wrapper">
+ <div class="row">
+ <div class="col-lg-3">
+ {% include gw_header/header.html %}
+ </div>
+ <div class="col-lg-9">
+ {% include gw_tools/tools.html %}
+
+ {% if site.inc_before_toc %}
+ {% include {{ site.inc_before_toc }} %}
+ {% endif %}
+
+ <div id="toc"></div>
+
+ {% if site.inc_after_toc %}
+ {% include {{ site.inc_after_toc }} %}
+ {% endif %}
+
+ {% if site.inc_before_content %}
+ {% include {{ site.inc_before_content }} %}
+ {% endif %}
+
+ <div id="content">
+ {{ content }}
+ </div>
+
+ {% if site.inc_after_content %}
+ {% include {{ site.inc_after_content }} %}
+ {% endif %}
+ </div>
+ </div>
+ <div class="row">
+ <div class="col">
+ {% include gw_footer/footer.html %}
+ </div>
+ </div>
+ </div>
+
+ {% include gw_tail/tail.html %}
+</body>
+
+</html>
+s \ No newline at end of file
diff --git a/_layouts/git-wiki-bs-united.html b/_layouts/git-wiki-bs-united.html
new file mode 100644
index 0000000..6398cd9
--- /dev/null
+++ b/_layouts/git-wiki-bs-united.html
@@ -0,0 +1,68 @@
+<!--
+ This layout uses bootstrap with united theme
+-->
+{% include gw_defines/defines.html %}
+
+<!doctype html>
+<html>
+
+<head>
+ {% if site.inc_before_head %}
+ {% include {{ site.inc_before_head }} %}
+ {% endif %}
+
+ {% include gw_head/meta.html %}
+ {% include gw_head/scripts.html %}
+ {% include gw_head/styles.html %}
+
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.3/united/bootstrap.min.css">
+
+ {% if site.inc_after_head %}
+ {% include {{ site.inc_after_head }} %}
+ {% endif %}
+</head>
+
+<body>
+ <div class="wrapper">
+ <div class="row">
+ <div class="col-lg-9">
+ {% include gw_tools/tools.html %}
+
+ {% if site.inc_before_toc %}
+ {% include {{ site.inc_before_toc }} %}
+ {% endif %}
+
+ <div id="toc"></div>
+
+ {% if site.inc_after_toc %}
+ {% include {{ site.inc_after_toc }} %}
+ {% endif %}
+
+ {% if site.inc_before_content %}
+ {% include {{ site.inc_before_content }} %}
+ {% endif %}
+
+ <div id="content">
+ {{ content }}
+ </div>
+
+ {% if site.inc_after_content %}
+ {% include {{ site.inc_after_content }} %}
+ {% endif %}
+ </div>
+ <div class="col-lg-3">
+ {% include gw_header/header.html %}
+ </div>
+ </div>
+ <div class="row">
+ <div class="col">
+ {% include gw_footer/footer.html %}
+ </div>
+ </div>
+ </div>
+
+ {% include gw_tail/tail.html %}
+</body>
+
+</html>
+s \ No newline at end of file