You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nemo.apache.org by wo...@apache.org on 2018/11/12 04:08:17 UTC
[incubator-nemo-website] branch asf-site updated: Fixing w3c
validation issues (#1)
This is an automated email from the ASF dual-hosted git repository.
wonook pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-nemo-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 3af690b Fixing w3c validation issues (#1)
3af690b is described below
commit 3af690b6614f1455b0b1f1322c38abba019e1f98
Author: Can Güney Aksakalli <cg...@gmail.com>
AuthorDate: Mon Nov 12 05:08:13 2018 +0100
Fixing w3c validation issues (#1)
fixing the listed issues
https://validator.w3.org/nu/?doc=https%3A%2F%2Fnemo.apache.org%2Fdocs%2Fhome%2F
---
_includes/docs_nav.html | 6 +++---
_includes/head.html | 4 ----
_includes/section_nav.html | 2 +-
3 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/_includes/docs_nav.html b/_includes/docs_nav.html
index 68f593d..fa438ae 100644
--- a/_includes/docs_nav.html
+++ b/_includes/docs_nav.html
@@ -8,14 +8,14 @@
</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 %}
diff --git a/_includes/head.html b/_includes/head.html
index 83c6bac..c87423a 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -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 }}">
diff --git a/_includes/section_nav.html b/_includes/section_nav.html
index 28e3153..89008e3 100644
--- a/_includes/section_nav.html
+++ b/_includes/section_nav.html
@@ -45,7 +45,7 @@ next, lets build a link to it.
</a>
</li>
{% endif %}
- </div>
+ </ul>
<div class="clear"></div>
{% break %}
{% endif %}