From cb144f4ff77cceb7c621d067c8327e5dff32a36b Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 7 Aug 2019 12:45:06 +0000 Subject: changes for #103 --- _config.yml | 48 +++++++++++++++---------------- _layouts/azerothcore.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++ _sass/git-wiki-style.scss | 2 +- 3 files changed, 97 insertions(+), 25 deletions(-) create mode 100644 _layouts/azerothcore.html 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 %} + + + + + + {% 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 %} + + + + {% if site.inc_after_head %} + {% include {{ site.inc_after_head }} %} + {% endif %} + + + +
+
+
+ {% include git-wiki/sections/header/header.html %} +
+
+
+ {% include git-wiki/sections/tools/tools.html %} + + {% if site.inc_before_toc %} + {% include {{ site.inc_before_toc }} %} + {% endif %} + +
+ + {% if site.inc_after_toc %} + {% include {{ site.inc_after_toc }} %} + {% endif %} + + {% if site.inc_before_content %} + {% include {{ site.inc_before_content }} %} + {% endif %} + +
+ {{ content }} +
+ + {% if site.inc_after_content %} + {% include {{ site.inc_after_content }} %} + {% endif %} +
+
+
+
+
+ {% include git-wiki/sections/footer/footer.html %} +
+
+
+ + {% include git-wiki/sections/tail/tail.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; } -- cgit