jekyll-theme-slate 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 50a509ddd4d77bc8e7ee9df93da1b0dff99edc15
4
- data.tar.gz: a16ca0cb8d2cea915cc006b1237f4ea72eb742bb
2
+ SHA256:
3
+ metadata.gz: 9edc1f02bba4d52c2e56681d6ff4e232e1aec33e8f6513060e4f47e321596ef8
4
+ data.tar.gz: adc04089d2ac3e09360d2b230ae28375ee87acdb2224c91930c9d2198e9d64ef
5
5
  SHA512:
6
- metadata.gz: 854ad48c4af23392f891e896ac9125f2ae5a5f28fd4a3b082c353bc17196618625d32a3a411fed1f865c2575e1acd68ac199a2b9268ac5f8e4419b05e64e5b75
7
- data.tar.gz: 4cdf2ef515caf9bf2e77b8e8758379577acd111e2308c1cc44913fc465a01dbbddc8942f9d4058faa6a99d884c37348722c16c2f056c3d4134eab7d691c98207
6
+ metadata.gz: 1163e075e3f124227f1909e0a94ffb721bad9ebffcfea24bc2f85b02abbd6ed8df239ed630afbdc49eb09388e8afd1056643cd25da26976b7e7c339c690cc253
7
+ data.tar.gz: ee74f76af0946c2dc4329879cb06f05856096f8016cc2f1ec8650bc49060d90c9e389cb6b194d19a0974b193529392c2c396218c118998e9235eda4313d0f70e
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  *Slate is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/slate), or even [use it today](#usage).*
6
6
 
7
- ![Thumbnail of slate](thumbnail.png)
7
+ ![Thumbnail of Slate](thumbnail.png)
8
8
 
9
9
  ## Usage
10
10
 
@@ -22,8 +22,6 @@ To use the Slate 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/slate/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/slate/issues) for a list of proposed features (and known issues).
@@ -75,7 +92,7 @@ The Slate theme is intended to make it quick and easy for GitHub Pages users to
75
92
 
76
93
  ## Contributing
77
94
 
78
- Interested in contributing to Slate? We'd love your help. Slate 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 Slate? We'd love your help. Slate 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
 
@@ -3,10 +3,8 @@
3
3
 
4
4
  <head>
5
5
  <meta charset='utf-8'>
6
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
7
  <meta name="viewport" content="width=device-width,maximum-scale=2">
8
- <meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">
9
-
10
8
  <link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
11
9
 
12
10
  {% seo %}
@@ -49,7 +47,7 @@
49
47
  </div>
50
48
 
51
49
  {% if site.google_analytics %}
52
- <script type="text/javascript">
50
+ <script>
53
51
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
54
52
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
55
53
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@@ -115,7 +115,6 @@ a {
115
115
 
116
116
  a:hover, a:focus {
117
117
  text-decoration: underline;
118
- font-weight:bold;
119
118
  }
120
119
 
121
120
  footer a {
@@ -288,7 +287,7 @@ Full-Width Styles
288
287
  background: -webkit-linear-gradient(top, #373737, #212121);
289
288
  background: -ms-linear-gradient(top, #373737, #212121);
290
289
  background: -o-linear-gradient(top, #373737, #212121);
291
- background: linear-gradient(top, #373737, #212121);
290
+ background: linear-gradient(to top, #373737, #212121);
292
291
  }
293
292
 
294
293
  #header_wrap .inner {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-slate
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
  - Jason Costello
@@ -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-slate@github.com
@@ -76,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
118
  version: '0'
77
119
  requirements: []
78
120
  rubyforge_project:
79
- rubygems_version: 2.6.11
121
+ rubygems_version: 2.7.6
80
122
  signing_key:
81
123
  specification_version: 4
82
124
  summary: Slate is a Jekyll theme for GitHub Pages