jekyll-theme-hydeout 4.1.0 → 4.2.0

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
2
  SHA1:
3
- metadata.gz: ccfe9337e0de0d22f7289b39d780e90c31540bca
4
- data.tar.gz: 1bb8d5f012c4b9e112bd5f7703aed3fc00dd380e
3
+ metadata.gz: 61a9f26f5d08ea52740dc4c5b0873f3aa9d9075b
4
+ data.tar.gz: 8e17561df2f49a04b8ace7da4ea3332edd1c38c0
5
5
  SHA512:
6
- metadata.gz: 45c4138acb9a67f3144299a1a8d05f7b91297ee0a5a71d7c6f064b58d28272703ba0c6936611365b0103bd35580e7d98f8413dbb8946bba68c6fc3aea4b547c0
7
- data.tar.gz: 13d1ab360f61ac95817dbc2e4277b9b316e59606a07fb412741e0b7757eb3205b0c426c9fde7b71520020a9481157caadc6410ac8342fe7d0912aef38156f48e
6
+ metadata.gz: 7ec501edef52d459d0bf36bc48f50a53ed72b8167c8c16f3977d68e31754b493b72db527837a930b7785e2b42a70a5b8b341d5e776f26fd4a350ded6e847647f
7
+ data.tar.gz: fe9807f296712b82b49610b6f76bb25abd0c5df949b46c982f428ab993633b6acebe7bebc2d3f5527d187e1c99eeeee81ff691f9c6e37c80e91efa70e003327b
data/README.md CHANGED
@@ -10,7 +10,7 @@ theme for [Jekyll](http://jekyllrb.com) 3.x and 4.x and adds new functionality.
10
10
  ### Usage
11
11
 
12
12
  Hydeout is available as the `jekyll-theme-hydeout` Ruby Gem.
13
- Add `gem "jekyll-theme-hydeout", "~> 3.4"` to your Gemfile and run
13
+ Add `gem "jekyll-theme-hydeout", "~> 4.1"` to your Gemfile and run
14
14
  `bundle install`.
15
15
 
16
16
  If you're installing on Github pages, you may also have to add
@@ -0,0 +1,6 @@
1
+ {% assign back_page = site.pages | find: "name", page.back_page %}
2
+ {% if back_page != null %}
3
+ <p class="back-link">
4
+ <a href="{{ back_page.url | relative_url }}"><span class="back-arrow icon">{% include svg/back-arrow.svg %}</span>{{ back_page.short_title | default: back_page.title }}</a>
5
+ </p>
6
+ {% endif %}
@@ -7,7 +7,7 @@
7
7
  {% if node.title != null %}
8
8
  {% if node.sidebar_link %}
9
9
  <a class="page-link {% if page.url == node.url %} active{% endif %}"
10
- href="{{ node.url | relative_url }}">{{ node.title }}</a>
10
+ href="{{ node.url | relative_url }}">{% if node.short_title != null %}{{ node.short_title }}{% else %}{{ node.title }}{% endif %}</a>
11
11
  {% endif %}
12
12
  {% endif %}
13
13
  {% endfor %}
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en-us">
2
+ <html lang="{{ page.lang | default: 'en-us'}}">
3
3
 
4
4
  {% include head.html %}
5
5
 
data/_layouts/page.html CHANGED
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
-
5
4
  <header>
5
+ {% include back-link.html %}
6
6
  <h1 class="page-title">{{ page.title }}</h1>
7
7
  </header>
8
8
  <div class="content">
9
9
  {{ content }}
10
10
  </div>
11
+ {% include back-link.html %}
data/_sass/hydeout.scss CHANGED
@@ -15,3 +15,4 @@
15
15
  @import 'hydeout/message';
16
16
  @import 'hydeout/search';
17
17
  @import 'hydeout/tags';
18
+ @import 'hydeout/back-link';
@@ -0,0 +1,10 @@
1
+ .back-link {
2
+ font-size: 80%;
3
+ a {
4
+ color: currentColor;
5
+ svg {
6
+ fill: currentColor;
7
+ }
8
+ }
9
+ }
10
+
@@ -107,3 +107,23 @@ input[type='submit'] {
107
107
  color: #fff;
108
108
  }
109
109
  }
110
+
111
+ .video-container {
112
+ overflow: hidden;
113
+ position: relative;
114
+ width:100%;
115
+ }
116
+
117
+ .video-container::after {
118
+ padding-top: 56.25%;
119
+ display: block;
120
+ content: '';
121
+ }
122
+
123
+ .video-container iframe {
124
+ position: absolute;
125
+ top: 0;
126
+ left: 0;
127
+ width: 100%;
128
+ height: 100%;
129
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Fong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-01 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -78,14 +78,20 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '1.12'
81
+ version: '2.1'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.1.4
82
85
  type: :development
83
86
  prerelease: false
84
87
  version_requirements: !ruby/object:Gem::Requirement
85
88
  requirements:
86
89
  - - "~>"
87
90
  - !ruby/object:Gem::Version
88
- version: '1.12'
91
+ version: '2.1'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 2.1.4
89
95
  - !ruby/object:Gem::Dependency
90
96
  name: wdm
91
97
  requirement: !ruby/object:Gem::Requirement
@@ -109,6 +115,7 @@ extra_rdoc_files: []
109
115
  files:
110
116
  - LICENSE.md
111
117
  - README.md
118
+ - _includes/back-link.html
112
119
  - _includes/category-links.html
113
120
  - _includes/comments.html
114
121
  - _includes/copyright.html
@@ -146,6 +153,7 @@ files:
146
153
  - _layouts/search.html
147
154
  - _layouts/tags.html
148
155
  - _sass/hydeout.scss
156
+ - _sass/hydeout/_back-link.scss
149
157
  - _sass/hydeout/_base.scss
150
158
  - _sass/hydeout/_code.scss
151
159
  - _sass/hydeout/_layout.scss