jekyll-theme-hyde-plus 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -11
- data/_includes/disqus.html +20 -0
- data/_includes/head.html +5 -11
- data/_includes/sidebar.html +14 -5
- data/_layouts/post.html +3 -20
- data/assets/js/google_analytics.js +10 -0
- metadata +89 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: decf77fb1ad70b09df9726024e7fc59b71cdb04e
|
4
|
+
data.tar.gz: 3c5d885c114a2d8de2f26ed3a4e3f87d649d125d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82bc2593215739362f40e79d633b2dc3e8447c564584883d85d9253c8549108503922e9f3cb6e216e271a6f9105ef6652782b14aae8e4c109c664d194077617
|
7
|
+
data.tar.gz: f4e7da87d1db842169f7a15fcfa9b121a803084cce581bf7b8d7565c08a37eebc54d4bd3bd390626bc524a280353e62410240c3d8f9c7e79292b507b01981b22
|
data/README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
-
# Hyde
|
1
|
+
# Hyde Plus
|
2
2
|
|
3
|
-
Hyde is a
|
3
|
+
Hyde Plus is a fork of [Hyde](https://github.com/poole/hyde) which is a brazen
|
4
|
+
two-column [Jekyll](http://jekyllrb.com) theme that pairs a prominent sidebar
|
5
|
+
with uncomplicated content.
|
4
6
|
|
5
7
|
![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png)
|
6
8
|
|
7
9
|
|
8
10
|
## Contents
|
9
11
|
|
12
|
+
- [Installation](#installation)
|
10
13
|
- [Usage](#usage)
|
11
14
|
- [Options](#options)
|
12
15
|
- [Sidebar menu](#sidebar-menu)
|
@@ -14,13 +17,42 @@ Hyde is a brazen two-column [Jekyll](http://jekyllrb.com) theme that pairs a pro
|
|
14
17
|
- [Themes](#themes)
|
15
18
|
- [Reverse layout](#reverse-layout)
|
16
19
|
- [Development](#development)
|
17
|
-
- [
|
20
|
+
- [Authors](#authors)
|
18
21
|
- [License](#license)
|
19
22
|
|
20
23
|
|
24
|
+
|
25
|
+
## Installation
|
26
|
+
|
27
|
+
Add this line to your Jekyll site's `Gemfile`:
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
gem "jekyll-theme-hyde-plus"
|
31
|
+
```
|
32
|
+
|
33
|
+
And add this line to your Jekyll site's `_config.yml`:
|
34
|
+
|
35
|
+
```yaml
|
36
|
+
theme: jekyll-theme-hyde-plus
|
37
|
+
```
|
38
|
+
|
39
|
+
And then execute:
|
40
|
+
|
41
|
+
$ bundle
|
42
|
+
|
43
|
+
Or install it yourself as:
|
44
|
+
|
45
|
+
$ gem install jekyll-theme-hyde-plus
|
46
|
+
|
47
|
+
|
21
48
|
## Usage
|
22
49
|
|
23
|
-
Hyde is a
|
50
|
+
Hyde Plus is a fork of [Hyde](https://github.com/poole/hyde), a theme built on top of
|
51
|
+
[Poole](https://github.com/poole/poole), which provides a fully furnished Jekyll
|
52
|
+
setup—just download and start the Jekyll server. See
|
53
|
+
[the Poole usage guidelines](https://github.com/poole/poole#usage) for how to
|
54
|
+
install and use Jekyll. Hyde Plus can do more than what
|
55
|
+
[Hyde](https://github.com/poole/hyde) can do.
|
24
56
|
|
25
57
|
|
26
58
|
## Options
|
@@ -95,16 +127,24 @@ Hyde's page orientation can be reversed with a single class.
|
|
95
127
|
</body>
|
96
128
|
```
|
97
129
|
|
98
|
-
|
99
130
|
## Development
|
100
131
|
|
101
|
-
|
132
|
+
To set up your environment to develop this theme, run `bundle install`.
|
133
|
+
|
134
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run
|
135
|
+
`bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
102
136
|
|
103
|
-
|
104
|
-
|
137
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
138
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-hyde-plus.gemspec` accordingly.
|
105
139
|
|
106
140
|
|
107
|
-
##
|
141
|
+
## Authors
|
142
|
+
|
143
|
+
**Emmanuel Corrales**
|
144
|
+
- <https://emmanuelcorrales.com>
|
145
|
+
- <https://github.com/EmmanuelCorrales>
|
146
|
+
- <https://twitter.com/em_corrales>
|
147
|
+
- <https://linkedin.com/in/emmanuelcorrales>
|
108
148
|
|
109
149
|
**Mark Otto**
|
110
150
|
- <https://github.com/mdo>
|
@@ -114,5 +154,3 @@ Hyde has two branches, but only one is used for active development.
|
|
114
154
|
## License
|
115
155
|
|
116
156
|
Open sourced under the [MIT license](LICENSE.md).
|
117
|
-
|
118
|
-
<3
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<div id="disqus_thread"></div>
|
2
|
+
<script>
|
3
|
+
|
4
|
+
/**
|
5
|
+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
6
|
+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
7
|
+
/*
|
8
|
+
var disqus_config = function () {
|
9
|
+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
10
|
+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
11
|
+
};
|
12
|
+
*/
|
13
|
+
(function() { // DON'T EDIT BELOW THIS LINE
|
14
|
+
var d = document, s = d.createElement('script');
|
15
|
+
s.src = 'https://{{ site.social.disqus }}.disqus.com/embed.js';
|
16
|
+
s.setAttribute('data-timestamp', +new Date());
|
17
|
+
(d.head || d.body).appendChild(s);
|
18
|
+
})();
|
19
|
+
</script>
|
20
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
data/_includes/head.html
CHANGED
@@ -27,17 +27,11 @@
|
|
27
27
|
<link rel="shortcut icon" href="{{ site.url }}/assets/favicon.ico">
|
28
28
|
|
29
29
|
<!-- RSS -->
|
30
|
-
<link rel="alternate" type="application/rss+xml" title="RSS" href="/
|
30
|
+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.url }}/feed.xml">
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
36
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
37
|
-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
32
|
+
{% if jekyll.environment == "production" %}
|
33
|
+
<script src="{{ site.url }}/assets/google_analytics.js"></script>
|
34
|
+
{% endif %}
|
38
35
|
|
39
|
-
|
40
|
-
ga('send', 'pageview');
|
41
|
-
|
42
|
-
</script
|
36
|
+
{% seo %}
|
43
37
|
</head>
|
data/_includes/sidebar.html
CHANGED
@@ -28,11 +28,20 @@
|
|
28
28
|
</nav>
|
29
29
|
|
30
30
|
<div class="social-icons">
|
31
|
-
<a href="https://twitter.com/{{ site.
|
32
|
-
|
33
|
-
|
34
|
-
<a href="
|
35
|
-
|
31
|
+
<a href="https://twitter.com/{{ site.social.twitter }}"
|
32
|
+
class="social fa fa-twitter" title="Twitter" target="_blank"></a>
|
33
|
+
|
34
|
+
<a href="https://linkedin.com/in/{{ site.social.linkedin }}"
|
35
|
+
class="social fa fa-linkedin-square" title="Linkedin" target="_blank"></a>
|
36
|
+
|
37
|
+
<a href="https://github.com/{{ site.social.github }}"
|
38
|
+
class="social fa fa-github" title="Github" target="_blank"></a>
|
39
|
+
|
40
|
+
<a href="mailto:{{ site.author.email }}" class="social fa fa-envelope"
|
41
|
+
title="Email"></a>
|
42
|
+
|
43
|
+
<a href="/feed.xml" class="social fa fa-rss" title="RSS feed"
|
44
|
+
target="_blank"></a>
|
36
45
|
</div>
|
37
46
|
|
38
47
|
<p>© {{ site.time | date: '%Y' }}. All rights reserved.</p>
|
data/_layouts/post.html
CHANGED
@@ -24,23 +24,6 @@ layout: default
|
|
24
24
|
</ul>
|
25
25
|
</div>
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
/**
|
31
|
-
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
32
|
-
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
|
33
|
-
/*
|
34
|
-
var disqus_config = function () {
|
35
|
-
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
36
|
-
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
37
|
-
};
|
38
|
-
*/
|
39
|
-
(function() { // DON'T EDIT BELOW THIS LINE
|
40
|
-
var d = document, s = d.createElement('script');
|
41
|
-
s.src = 'https://{{ site.disqus_username }}.disqus.com/embed.js';
|
42
|
-
s.setAttribute('data-timestamp', +new Date());
|
43
|
-
(d.head || d.body).appendChild(s);
|
44
|
-
})();
|
45
|
-
</script>
|
46
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
27
|
+
{% if jekyll.environment == "production" %}
|
28
|
+
{% include disqus.html %}
|
29
|
+
{% endif %}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
|
10
|
+
</script
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-hyde-plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emmanuel Corrales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,90 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-feed
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.3
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.9.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jekyll-gist
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.5.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.5.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jekyll-paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.1.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jekyll-seo-tag
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.4.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.4.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pygments.rb
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: redcarpet
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.4.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.4.0
|
27
111
|
- !ruby/object:Gem::Dependency
|
28
112
|
name: bundler
|
29
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,6 +145,7 @@ extra_rdoc_files: []
|
|
61
145
|
files:
|
62
146
|
- LICENSE.md
|
63
147
|
- README.md
|
148
|
+
- _includes/disqus.html
|
64
149
|
- _includes/head.html
|
65
150
|
- _includes/sidebar.html
|
66
151
|
- _layouts/default.html
|
@@ -72,6 +157,7 @@ files:
|
|
72
157
|
- assets/css/poole.css
|
73
158
|
- assets/css/syntax.css
|
74
159
|
- assets/favicon.ico
|
160
|
+
- assets/js/google_analytics.js
|
75
161
|
homepage: https://github.com/EmmanuelCorrales/hyde-plus
|
76
162
|
licenses:
|
77
163
|
- MIT
|
@@ -92,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
178
|
version: '0'
|
93
179
|
requirements: []
|
94
180
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.6.
|
181
|
+
rubygems_version: 2.6.13
|
96
182
|
signing_key:
|
97
183
|
specification_version: 4
|
98
184
|
summary: An improvement of the Jekyll theme Hyde.
|