Skip to content

Commit 9401250

Browse files
committed
fixing w3c validation issues
1 parent f0bd01a commit 9401250

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ DEPENDENCIES
5757
tzinfo-data
5858

5959
RUBY VERSION
60-
ruby 2.3.1p112
60+
ruby 2.5.1p57
6161

6262
BUNDLED WITH
63-
1.14.6
63+
1.16.5

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ email: your-email@domain.com
44
description: >
55
Jekyll Template for Project Websites
66
providing documentation and blog post pages.
7+
lang: en-US
78

89
baseurl: "/jekyll-doc-theme" # the subpath of your site, e.g. /blog/
910
url: https://aksakalli.github.io/jekyll-doc-theme # the base hostname & protocol for your site

_docs/examples/font-awesome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Font Awesome Icon List
33
permalink: /docs/font-awesome/
4+
description: Demo of all Font Awesome icons
45
---
56

67

_includes/docs_nav.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ <h4 class="panel-title">
88
</a>
99
</h4>
1010
</div>
11-
<div id="collapse-{{forloop.index}}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
12-
<ul class="list-group">
11+
<div id="collapse-{{forloop.index}}" class="panel-collapse collapse" role="tabpanel" aria-label="Side Navigation">
12+
<div class="list-group">
1313
{% for item in section.docs %}
1414
{% assign item_url = item | prepend:"/docs/" | append:"/" %}
1515
{% assign p = site.docs | where:"url", item_url | first %}
1616
<a class="list-group-item {% if item_url == page.url %}active{% endif %}" href="{{ p.url | prepend: site.baseurl }}">{{ p.title }}</a>
1717
{% endfor %}
18-
</ul>
18+
</div>
1919
</div>
2020
</div>
2121
{% endfor %}

_includes/head.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55

6-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8-
9-
106
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
117
<link rel="stylesheet" href="{{ "/css/font-awesome.min.css" | prepend: site.baseurl }}">
128

_includes/section_nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</a>
4646
</li>
4747
{% endif %}
48-
</div>
48+
</ul>
4949
<div class="clear"></div>
5050
{% break %}
5151
{% endif %}

_includes/topnav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<span class="icon-bar"></span>
99
</button>
1010
<a class="navbar-brand" href="{{ site.baseurl }}/">
11-
<span><img src="{{site.baseurl}}/img/logonav.png"></span> {{ site.title }}
11+
<span><img src="{{site.baseurl}}/img/logonav.png" alt="Logo"></span> {{ site.title }}
1212
</a>
1313
</div>
1414
<div id="navbar" class="collapse navbar-collapse">

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
33

44
{% include head.html %}
55

_layouts/docs.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@
1111
<div class="col-md-8">
1212
<h1>{{ page.title }}</h1>
1313
<div id="markdown-content-container">{{ content }}</div>
14-
<p class="text-center">
15-
<br />
16-
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
17-
<i class="fa fa-pencil fa-lg"></i> Improve this page
18-
</a>
19-
</p>
14+
<div style="clear:both;">
15+
<p class="text-center">
16+
<br />
17+
<a target="_blank" href="{{site.git_edit_address}}/{{ page.path }}" class="btn btn-default githubEditButton" role="button">
18+
<i class="fa fa-pencil fa-lg"></i> Improve this page
19+
</a>
20+
</p>
21+
</div>
2022
<hr>
2123
{% include section_nav.html %}
2224
</div>

0 commit comments

Comments
 (0)