summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2019-08-07 12:45:06 +0000
committerYehonal <yehonal.azeroth@gmail.com>2019-08-07 12:45:06 +0000
commitcb144f4ff77cceb7c621d067c8327e5dff32a36b (patch)
tree6e46ac20ea7d13707ce0db6ee074c24baea42a80
parent1cec6c859b09720fc09d3ccfd3b97afc573539c1 (diff)
downloadwiki-cb144f4ff77cceb7c621d067c8327e5dff32a36b.tar.gz
wiki-cb144f4ff77cceb7c621d067c8327e5dff32a36b.tar.bz2
wiki-cb144f4ff77cceb7c621d067c8327e5dff32a36b.zip
changes for #103
-rw-r--r--_config.yml48
-rw-r--r--_layouts/azerothcore.html72
-rw-r--r--_sass/git-wiki-style.scss2
3 files changed, 97 insertions, 25 deletions
diff --git a/_config.yml b/_config.yml
index 7350312..594cc46 100644
--- a/_config.yml
+++ b/_config.yml
@@ -23,7 +23,7 @@ git_branch: "master"
# (string) Url of logo image, it can be full, absolute or relative.
logo_url: http://www.azerothcore.org/images/logo.png
# (string) The UA-XXXXX-Y code from google analytic to enable GA on your wiki
-google_analytics:
+google_analytics:
# (string) folder where wiki pages are stored, it's needed for tool buttons
wiki_folder: docs
# (boolean) if you're using github wiki as submodule then this config
@@ -41,7 +41,7 @@ use_prose_io: false
search_engine : "js"
# Setting google custom search engine for google
# cse search bar (https://cse.google.it/cse/)
-google_cse_token:
+google_cse_token:
#
# Jekyll configurations
@@ -60,7 +60,7 @@ kramdown:
syntax_highlighter: rouge
defaults:
- -
+ -
scope:
path: "docs"
values:
@@ -69,13 +69,13 @@ defaults:
scope:
path: "" # an empty string here means all files in the project
values:
- layout: "git-wiki-bs-united"
+ layout: "azerothcore"
-
scope:
path: ""
type: "pages"
values:
- layout: "git-wiki-bs-united"
+ layout: "azerothcore"
-
scope:
path: ""
@@ -105,26 +105,26 @@ plugins:
# Check wiki documentation to learn how they work
#
-inc_before_toc :
-inc_after_toc :
-inc_before_content :
-inc_after_content :
-inc_before_footer :
-inc_after_footer :
-inc_before_head :
+inc_before_toc :
+inc_after_toc :
+inc_before_content :
+inc_after_content :
+inc_before_footer :
+inc_after_footer :
+inc_before_head :
inc_after_head : "azerothcore/afterhead.html"
-inc_before_meta :
-inc_after_meta :
-inc_before_scripts :
-inc_after_scripts :
-inc_before_styles :
-inc_after_styles :
-inc_before_header :
-inc_after_header :
-inc_before_tail :
-inc_after_tail :
-inc_before_tools :
-inc_after_tools :
+inc_before_meta :
+inc_after_meta :
+inc_before_scripts :
+inc_after_scripts :
+inc_before_styles :
+inc_after_styles :
+inc_before_header :
+inc_after_header :
+inc_before_tail :
+inc_after_tail :
+inc_before_tools :
+inc_after_tools :
inc_before_page_list : "azerothcore/sidebar.html"
inc_after_page_list :
diff --git a/_layouts/azerothcore.html b/_layouts/azerothcore.html
new file mode 100644
index 0000000..3246d64
--- /dev/null
+++ b/_layouts/azerothcore.html
@@ -0,0 +1,72 @@
+{% comment %}
+#
+# This layout uses bootstrap with united theme
+#
+{% endcomment %}
+
+{% include git-wiki/defines/defines.html %}
+
+<!doctype html>
+<html>
+
+<head>
+ {% if site.inc_before_head %}
+ {% include {{ site.inc_before_head }} %}
+ {% endif %}
+
+ {% include git-wiki/sections/head/meta.html %}
+ {% include git-wiki/sections/head/scripts.html %}
+ {% include git-wiki/sections/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-2">
+ {% include git-wiki/sections/header/header.html %}
+ </div>
+ <div class="col-lg-10">
+ <div class="git-wiki-page">
+ {% include git-wiki/sections/tools/tools.html %}
+
+ {% if site.inc_before_toc %}
+ {% include {{ site.inc_before_toc }} %}
+ {% endif %}
+
+ <div id="git-wiki-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="git-wiki-content">
+ {{ content }}
+ </div>
+
+ {% if site.inc_after_content %}
+ {% include {{ site.inc_after_content }} %}
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col">
+ {% include git-wiki/sections/footer/footer.html %}
+ </div>
+ </div>
+ </div>
+
+ {% include git-wiki/sections/tail/tail.html %}
+</body>
+
+</html> \ No newline at end of file
diff --git a/_sass/git-wiki-style.scss b/_sass/git-wiki-style.scss
index eb65461..0847d88 100644
--- a/_sass/git-wiki-style.scss
+++ b/_sass/git-wiki-style.scss
@@ -230,7 +230,7 @@ strong {
.git-wiki-page {
/*width:500px;
float:right;*/
- padding-left: 320px;
+ padding-left: 32px;
padding-bottom: 50px;
}