jekyll-theme-midnight 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +21 -4
  3. data/_layouts/default.html +3 -3
  4. metadata +45 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f7bf05159bfd3bf9793769698a387e9548ccafcc
4
- data.tar.gz: c4bae1a2522297b934891514aa3712f3d47988a0
2
+ SHA256:
3
+ metadata.gz: 3891a87f7da7053e608afd13a11f4c5facadea028ec1472833128704429ecadf
4
+ data.tar.gz: 7d9f3c52c4d046bc39a69aba6cc782dfa58e51ddfece8579d58725c24dae5a63
5
5
  SHA512:
6
- metadata.gz: 9723646596d5b1ad97b2b0ee44d46e926fbd627a1c812717efd459415d94cbbaa4ee4225d8c23225bf96a32e9c1beabe9937b0520522a101d96e7acc0b97cd57
7
- data.tar.gz: 9e3149cff99f889c83d9ff3225958f3fe59d1b2e0c4d3c4e498c3faadfc0cc2174329edada1dac5006aa870d7722150d78edbe18fcef754d69ae3d34d2a6ea87
6
+ metadata.gz: aa6279ce2e294e355f9fe4eeaef04dbb09b2a7fd15b3e6bde1dcf2f966c2b060d5ada574eadf8e41948900e23dcb796bb4a6fff467ec5f4a62af5c6718704f0a
7
+ data.tar.gz: 0df88c5cce2712d2b8ec4f065f90bc2fec52912a4e781645ad7fce44fb9782c1f4f35b0a679abe083c73decbfb47dd93f8e20d09ba9a4500c52ff2bc3572aba7
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  *Midnight is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/midnight), or even [use it today](#usage).*
6
6
 
7
- ![Thumbnail of midnight](thumbnail.png)
7
+ ![Thumbnail of Midnight](thumbnail.png)
8
8
 
9
9
  ## Usage
10
10
 
@@ -22,8 +22,6 @@ To use the Midnight theme:
22
22
  gem "github-pages", group: :jekyll_plugins
23
23
  ```
24
24
 
25
-
26
-
27
25
  ## Customizing
28
26
 
29
27
  ### Configuration variables
@@ -56,6 +54,8 @@ If you'd like to add your own custom styles:
56
54
  ```
57
55
  3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
58
56
 
57
+ *Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
58
+
59
59
  ### Layouts
60
60
 
61
61
  If you'd like to change the theme's HTML layout:
@@ -65,6 +65,23 @@ If you'd like to change the theme's HTML layout:
65
65
  3. Paste the default layout content copied in the first step
66
66
  4. Customize the layout as you'd like
67
67
 
68
+ ### Overriding GitHub-generated URLs
69
+
70
+ Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs:
71
+
72
+ 1. Look at [the template source](https://github.com/pages-themes/midnight/blob/master/_layouts/default.html) to determine the name of the variable. It will be in the form of `{{ site.github.zip_url }}`.
73
+ 2. Specify the URL that you'd like the template to use in your site's `_config.yml`. For example, if the variable was `site.github.url`, you'd add the following:
74
+ ```yml
75
+ github:
76
+ zip_url: http://example.com/download.zip
77
+ another_url: another value
78
+ ```
79
+ 3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.
80
+
81
+ *Note: You must remove the `site.` prefix, and each variable name (after the `github.`) should be indent with two space below `github:`.*
82
+
83
+ For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
84
+
68
85
  ## Roadmap
69
86
 
70
87
  See the [open issues](https://github.com/pages-themes/midnight/issues) for a list of proposed features (and known issues).
@@ -75,7 +92,7 @@ The Midnight theme is intended to make it quick and easy for GitHub Pages users
75
92
 
76
93
  ## Contributing
77
94
 
78
- Interested in contributing to Midnight? We'd love your help. Midnight is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](CONTRIBUTING.md) for instructions on how to contribute.
95
+ Interested in contributing to Midnight? We'd love your help. Midnight is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](docs/CONTRIBUTING.md) for instructions on how to contribute.
79
96
 
80
97
  ### Previewing the theme locally
81
98
 
@@ -2,11 +2,11 @@
2
2
  <html lang="{{ site.lang | default: "en-US" }}">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
6
 
7
7
  {% seo %}
8
8
  <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
9
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
9
+ <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
10
10
  <script src="{{ '/assets/js/respond.js' | relative_url }}"></script>
11
11
  <!--[if lt IE 9]>
12
12
  <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@@ -47,7 +47,7 @@
47
47
  </div>
48
48
 
49
49
  {% if site.google_analytics %}
50
- <script type="text/javascript">
50
+ <script>
51
51
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
52
52
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
53
53
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-midnight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Graham
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-14 00:00:00.000000000 Z
12
+ date: 2018-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -39,6 +39,48 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: html-proofer
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '0.50'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.50'
70
+ - !ruby/object:Gem::Dependency
71
+ name: w3c_validators
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.3'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.3'
42
84
  description:
43
85
  email:
44
86
  - opensource+jekyll-theme-midnight@github.com
@@ -111,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
153
  version: '0'
112
154
  requirements: []
113
155
  rubyforge_project:
114
- rubygems_version: 2.6.11
156
+ rubygems_version: 2.7.6
115
157
  signing_key:
116
158
  specification_version: 4
117
159
  summary: Midnight is a Jekyll theme for GitHub Pages