From fdf618453ade8897e3fd0b0055d46250cf627ed9 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 19 Dec 2018 11:18:45 +0100 Subject: Implemented responsive header/sidebar --- _includes/git-wiki/components/logo/logo.html | 10 ++-- _includes/git-wiki/sections/header/header.html | 65 +++++++++++++++++--------- 2 files changed, 49 insertions(+), 26 deletions(-) (limited to '_includes/git-wiki') diff --git a/_includes/git-wiki/components/logo/logo.html b/_includes/git-wiki/components/logo/logo.html index a4a36c3..d33305e 100644 --- a/_includes/git-wiki/components/logo/logo.html +++ b/_includes/git-wiki/components/logo/logo.html @@ -1,4 +1,6 @@ - -

{{ site.title | default: site.github.repository_name }}

-
-

{{ site.description | default: site.github.project_tagline }}

\ No newline at end of file + \ No newline at end of file diff --git a/_includes/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html index 34f21dd..b496c53 100644 --- a/_includes/git-wiki/sections/header/header.html +++ b/_includes/git-wiki/sections/header/header.html @@ -1,29 +1,50 @@ -
- {% if site.inc_before_header %} - {% include {{ site.inc_before_header }} %} - {% endif %} +
+ + {{ site.title }} +
+
+
+ + {% if site.inc_before_header %} + {% include {{ site.inc_before_header }} %} + {% endif %} - {% if site.logo_url %} - {% include git-wiki/components/logo/logo.html %} - {% endif %} +
+ {% if site.logo_url %} + {% include git-wiki/components/logo/logo.html %} + {% endif %} +
- {% if site.github.is_user_page %} -

View My GitHub Profile

- {% endif %} - {% if site.show_downloads %} - {% include git-wiki/components/action_btn/downloads.html %} - {% endif %} + {% if site.github.is_user_page %} +

View My GitHub Profile

+ {% endif %} - {% if site.show_wiki_pages %} - {% include git-wiki/components/lists/page-list.html %} - {% endif %} + {% if site.show_downloads %} + {% include git-wiki/components/action_btn/downloads.html %} + {% endif %} - {% if site.blog_feature and site.show_wiki_posts %} - {% include git-wiki/components/lists/post-list.html %} - {% endif %} + {% if site.show_wiki_pages %} + {% include git-wiki/components/lists/page-list.html %} + {% endif %} - {% if site.inc_after_header %} - {% include {{ site.inc_after_header }} %} - {% endif %} + {% if site.blog_feature and site.show_wiki_posts %} + {% include git-wiki/components/lists/post-list.html %} + {% endif %} + + {% if site.inc_after_header %} + {% include {{ site.inc_after_header }} %} + {% endif %} +
+ \ No newline at end of file -- cgit