Skip to content

Commit 9e1a44f

Browse files
committed
Correct some style/validation errors
1 parent 39a52d7 commit 9e1a44f

File tree

3 files changed

+18
-21
lines changed

3 files changed

+18
-21
lines changed

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="{{ site.lang | default: "en-US" }}">
33
<head>
44
<meta charset='utf-8'>
5-
<meta http-equiv="X-UA-Compatible" content="chrome=1">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
88

@@ -33,7 +33,7 @@ <h2>{{ site.description | default: site.github.project_tagline }}</h2>
3333
</div>
3434

3535
{% if site.google_analytics %}
36-
<script type="text/javascript">
36+
<script>
3737
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3838
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
3939
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: default
44

55
Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`.
66

7-
[Link to another page](another-page).
7+
[Link to another page](./another-page.html).
88

99
There should be whitespace between paragraphs.
1010

@@ -94,11 +94,11 @@ end
9494

9595
### Small image
9696

97-
![](https://assets-cdn.github.com/images/icons/emoji/octocat.png)
97+
![Octocat](https://assets-cdn.github.com/images/icons/emoji/octocat.png)
9898

9999
### Large image
100100

101-
![](https://guides.github.com/activities/hello-world/branching.png)
101+
![Branching](https://guides.github.com/activities/hello-world/branching.png)
102102

103103

104104
### Definition lists can be used with HTML syntax.

jekyll-theme-hacker.gemspec

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
# encoding: utf-8
2-
31
Gem::Specification.new do |s|
4-
s.name = "jekyll-theme-hacker"
5-
s.version = "0.1.0"
6-
s.license = "CC0-1.0"
7-
s.authors = ["Jason Costello", "GitHub, Inc."]
8-
s.email = ["[email protected]"]
9-
s.homepage = "https://github.com/pages-themes/hacker"
10-
s.summary = "Hacker is a Jekyll theme for GitHub Pages"
2+
s.name = 'jekyll-theme-hacker'
3+
s.version = '0.1.0'
4+
s.license = 'CC0-1.0'
5+
s.authors = ['Jason Costello', 'GitHub, Inc.']
6+
s.email = ['[email protected]']
7+
s.homepage = 'https://github.com/pages-themes/hacker'
8+
s.summary = 'Hacker is a Jekyll theme for GitHub Pages'
119

1210
s.files = `git ls-files -z`.split("\x0").select do |f|
1311
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
1412
end
1513

16-
s.platform = Gem::Platform::RUBY
17-
s.add_runtime_dependency "jekyll", "~> 3.5"
18-
s.add_runtime_dependency "jekyll-seo-tag", "~> 2.0"
19-
s.add_development_dependency 'w3c_validators', "~> 1.3"
20-
s.add_development_dependency 'html-proofer', "~> 3.0"
21-
s.add_development_dependency 'rubocop', "~> 0.50"
22-
14+
s.platform = Gem::Platform::RUBY
15+
s.add_runtime_dependency 'jekyll', '~> 3.5'
16+
s.add_runtime_dependency 'jekyll-seo-tag', '~> 2.0'
17+
s.add_development_dependency 'html-proofer', '~> 3.0'
18+
s.add_development_dependency 'rubocop', '~> 0.50'
19+
s.add_development_dependency 'w3c_validators', '~> 1.3'
2320
end

0 commit comments

Comments
 (0)