Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "improve this page" link and w3c validation issues #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ 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
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
Expand Down
6 changes: 3 additions & 3 deletions docs/_includes/docs_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ <h4 class="panel-title">
</a>
</h4>
</div>
<div id="collapse-{{forloop.index}}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<ul class="list-group">
<div id="collapse-{{forloop.index}}" class="panel-collapse collapse" role="tabpanel" aria-label="Side Navigation">
<div class="list-group">
{% for item in section.docs %}
{% assign item_url = item | prepend:"/docs/" | append:"/" %}
{% assign p = site.docs | where:"url", item_url | first %}
<a class="list-group-item {% if item_url == page.url %}active{% endif %}" href="{{ p.url | prepend: site.baseurl }}">{{ p.title }}</a>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
Expand Down
4 changes: 0 additions & 4 deletions docs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">


<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/font-awesome.min.css" | prepend: site.baseurl }}">

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/section_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</a>
</li>
{% endif %}
</div>
</ul>
<div class="clear"></div>
{% break %}
{% endif %}
Expand Down