From 5b8d549f9efd8c14be9626a37bfe66df6c23b103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20G=C3=BCney=20Aksakalli?= Date: Sat, 27 Oct 2018 21:41:11 +0200 Subject: [PATCH 1/2] fix `Improve this page` button link --- docs/_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_config.yml b/docs/_config.yml index aa06edd3..f459d072 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -8,7 +8,7 @@ description: > baseurl: "/" # the subpath of your site, e.g. /blog/ url: https://www.channotation.org # the base hostname & protocol for your site git_address: https://github.com/channotation/chap -git_edit_address: https://github.com/channotation/chap/ +git_edit_address: https://github.com/aksakalli/chap/blob/master/docs # theme options from https://bootswatch.com/ # comment out this to use default Bootstrap From 7108784721e068538495a3628e927e6b91468f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20G=C3=BCney=20Aksakalli?= Date: Sat, 27 Oct 2018 21:45:10 +0200 Subject: [PATCH 2/2] fixing w3c validation issues --- docs/_config.yml | 1 + docs/_includes/docs_nav.html | 6 +++--- docs/_includes/head.html | 4 ---- docs/_includes/section_nav.html | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index f459d072..19b3a5b5 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -4,6 +4,7 @@ email: chap@bioch.ox.ac.uk description: > Jekyll Template for Project Websites providing documentation and blog post pages. +lang: en-US baseurl: "/" # the subpath of your site, e.g. /blog/ url: https://www.channotation.org # the base hostname & protocol for your site diff --git a/docs/_includes/docs_nav.html b/docs/_includes/docs_nav.html index 68f593d4..fa438aee 100644 --- a/docs/_includes/docs_nav.html +++ b/docs/_includes/docs_nav.html @@ -8,14 +8,14 @@

-
-
    +
    +
    {% for item in section.docs %} {% assign item_url = item | prepend:"/docs/" | append:"/" %} {% assign p = site.docs | where:"url", item_url | first %} {{ p.title }} {% endfor %} -
+
{% endfor %} diff --git a/docs/_includes/head.html b/docs/_includes/head.html index 83c6bac5..c87423a2 100644 --- a/docs/_includes/head.html +++ b/docs/_includes/head.html @@ -3,10 +3,6 @@ - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - - - diff --git a/docs/_includes/section_nav.html b/docs/_includes/section_nav.html index 28e3153a..89008e35 100644 --- a/docs/_includes/section_nav.html +++ b/docs/_includes/section_nav.html @@ -45,7 +45,7 @@ {% endif %} - +
{% break %} {% endif %}