jekyll-theme-tactile 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 +5 -5
- data/README.md +21 -4
- data/_layouts/default.html +4 -3
- data/_sass/jekyll-theme-tactile.scss +3 -2
- metadata +45 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 772f06bfd8aa907a7a822cc5c31019a9ef8e855db5a17b64a55a9883fea9c965
|
4
|
+
data.tar.gz: 8b2bd8450e1c6b2d2478b862f3ba5aebf3f76942bdccde6beba1958194d40c1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1069a105ddababbd4b020e854e8905c758dc9db0056554424be82f2fc47c1c9161a4a4f6a7e751dd090b1e6674bac207af439b521abc07af634641ebd229ff2
|
7
|
+
data.tar.gz: 1c2eadb87653c603740035934da02e65e683e2c2519fd5c0ccf80d45c34cc321ae14c2eb0d8211aa508f7aef744c9ed8121416a4f9ad03c23e44ac06d0e1ee52
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
*Tactile is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/tactile), or even [use it today](#usage).*
|
6
6
|
|
7
|
-
![Thumbnail of
|
7
|
+
![Thumbnail of Tactile](thumbnail.png)
|
8
8
|
|
9
9
|
## Usage
|
10
10
|
|
@@ -22,8 +22,6 @@ To use the Tactile 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/tactile/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/tactile/issues) for a list of proposed features (and known issues).
|
@@ -75,7 +92,7 @@ The Tactile theme is intended to make it quick and easy for GitHub Pages users t
|
|
75
92
|
|
76
93
|
## Contributing
|
77
94
|
|
78
|
-
Interested in contributing to Tactile? We'd love your help. Tactile 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 Tactile? We'd love your help. Tactile 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
|
|
data/_layouts/default.html
CHANGED
@@ -2,8 +2,7 @@
|
|
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="
|
6
|
-
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
7
6
|
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
8
7
|
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/print.css' | relative_url }}" media="print">
|
9
8
|
<!--[if lt IE 9]>
|
@@ -26,11 +25,13 @@
|
|
26
25
|
<a href="{{ site.github.zip_url }}" id="download-zip" class="button"><span>Download .zip</span></a>
|
27
26
|
<a href="{{ site.github.tar_url }}" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a>
|
28
27
|
{% endif %}
|
28
|
+
{% if site.github.public %}
|
29
29
|
{% if site.github.is_project_page %}
|
30
30
|
<a href="{{ site.github.repository_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a>
|
31
31
|
{% else %}
|
32
32
|
<a href="{{ site.github.owner_url }}" id="view-on-github" class="button"><span>View on GitHub</span></a>
|
33
33
|
{% endif %}
|
34
|
+
{% endif %}
|
34
35
|
</section>
|
35
36
|
<hr>
|
36
37
|
<section id="main_content">
|
@@ -48,7 +49,7 @@
|
|
48
49
|
</div>
|
49
50
|
|
50
51
|
{% if site.google_analytics %}
|
51
|
-
<script
|
52
|
+
<script>
|
52
53
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
53
54
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
54
55
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
@@ -1,4 +1,5 @@
|
|
1
1
|
@import "rouge-base16-dark";
|
2
|
+
@import url('https://fonts.googleapis.com/css?family=Chivo:900');
|
2
3
|
|
3
4
|
/* http://meyerweb.com/eric/tools/css/reset/
|
4
5
|
v2.0 | 20110126
|
@@ -120,7 +121,7 @@ a.button {
|
|
120
121
|
background: -webkit-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */
|
121
122
|
background: -o-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* Opera 11.10+ */
|
122
123
|
background: -ms-linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* IE10+ */
|
123
|
-
background: linear-gradient(top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
|
124
|
+
background: linear-gradient(to top, #fdfdfd 0%,#f2f2f2 100%); /* W3C */
|
124
125
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
|
125
126
|
border-top: solid 1px #cbcbcb;
|
126
127
|
border-right: solid 1px #b7b7b7;
|
@@ -140,7 +141,7 @@ a.button:hover {
|
|
140
141
|
background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
|
141
142
|
background: -o-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* Opera 11.10+ */
|
142
143
|
background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f6f6 100%); /* IE10+ */
|
143
|
-
background: linear-gradient(top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
|
144
|
+
background: linear-gradient(to top, #fdfdfd 0%,#f6f6f6, 100%); /* W3C */
|
144
145
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
|
145
146
|
border-top: solid 1px #b7b7b7;
|
146
147
|
border-right: solid 1px #b3b3b3;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-tactile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Long
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
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-tactile@github.com
|
@@ -79,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
121
|
version: '0'
|
80
122
|
requirements: []
|
81
123
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.6
|
124
|
+
rubygems_version: 2.7.6
|
83
125
|
signing_key:
|
84
126
|
specification_version: 4
|
85
127
|
summary: Tactile is a Jekyll theme for GitHub Pages
|