Skip to content

Commit 16e5563

Browse files
Merge pull request #437 from koddsson/a11y-improvements
Accessability improvements
2 parents f4896db + 71ff16a commit 16e5563

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
4+
<title>{{ page.title }}</title>
45
<meta charset="utf-8">
56
<link rel='stylesheet' type='text/css' href='/stylesheets/style.css' />
67
<link rel='stylesheet' type='text/css' href='/stylesheets/pygments.css' />

_layouts/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ <h1 class="entry-title">{{ page.title }}</h1>
2727
]{% endcapture %}
2828
{% endif %}
2929

30+
{% if files %}
3031
<script>
3132
var Files = {
3233
all : {{ files }}
3334
}
3435
</script>
36+
{% endif %}

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="chrome=1">
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="stylesheets/styles.css">
99
<link rel="stylesheet" href="stylesheets/custom.css">
1010
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
11-
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
1212
<!--[if lt IE 9]>
1313
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
1414
<![endif]-->
@@ -80,7 +80,7 @@ <h2>Python</h2>
8080

8181
<h3>Other Recommended Python Resources</h3>
8282
<ul>
83-
<li><a href="https://pymbook.readthedocs.io/en/latest/">Python For You and Me</li>
83+
<li><a href="https://pymbook.readthedocs.io/en/latest/">Python For You and Me</a></li>
8484
<li><a href="https://learnpythonthehardway.org/book/">Learn Python The Hard Way</a></li>
8585
</ul>
8686

stylesheets/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
body {
44
padding: 25px;
55
font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
6-
color: #777;
6+
color: #585858;
77
font-weight: 300;
88
}
99

@@ -33,7 +33,7 @@ h3, h4, h5, h6 {
3333
}
3434

3535
a {
36-
color: #39c;
36+
color: #005d8c;
3737
font-weight: 400;
3838
text-decoration: none;
3939
}

0 commit comments

Comments
 (0)