jekyll-theme-consulting 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/tabs.html +17 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61b9e3aa8c0a6092c02e43609f8c6f6d383661ea4ed2c19a1f7945dc6bb51b12
4
- data.tar.gz: 0b30425585c2b197a84429391414e6b73900180c160cd75aa05bebc7bba4f458
3
+ metadata.gz: b35f2481952a9ebe8dafa4b1cd177e286164cd92ac747a381733d218a3982ad5
4
+ data.tar.gz: 4651f3798b25346443982a304f7a184a24845b64eca63b1ada5709c3f65dd908
5
5
  SHA512:
6
- metadata.gz: 78d61e89157797a250e263e71b842dff6f7258760697f66337c3647b47ebce7c16c6bebe67a319140191157ee07c3b1e4cb7ccc66d232617a0b1cc3fc5a2ca54
7
- data.tar.gz: 5c728bc1b3e11688396765f67874c63d439a36229b4178327d8b185a5e3b9af941f06103e35264534afdbbe83b7a3f0cac8271bd1c58ac8f5754ad8f1fb78038
6
+ metadata.gz: eafecc362c9ed8381a598c422503d71b9afc6e792210c7d23e195361195ee248d700925a69e2ae687ca5bd21ef0615af6f3244124d46fa1ecabf9b7c623358d6
7
+ data.tar.gz: ff1efcfb824a73ae3e024ecc7f941a42e478c34cc737fed5ca2cd151722fb7115e4aea7d2f193a495170d3e64a29be2a28a51d798d61f6f9f013f4376de0a332
@@ -0,0 +1,17 @@
1
+ <div id="{{ include.id }}" class="vertical-tabset">
2
+ {%- for tab in include.tabs -%}
3
+ {%- capture tab-id -%}{{ tab.id | default: tab.title | slugify }}{{ forloop.index }}{%- endcapture -%}
4
+ <div id="tab-{{ tab-id }}" class="vertical-tab">
5
+ {%- if forloop.first == true -%}
6
+ <input type="radio" name="{{ include.id }}" id="option-{{ tab-id }}" checked>
7
+ {%- else -%}
8
+ <input type="radio" name="{{ include.id }}" id="option-{{ tab-id }}">
9
+ {%- endif -%}
10
+ <label for="option-{{ tab-id }}" style="width: {{ include.header-width | default: 30 }}%;">{{ tab.title }}</label>
11
+ <section class="tab-panel" style="left: {{ include.header-width | default: 30 }}%;">
12
+ <h2>{{ tab.title }}</h2>
13
+ <p>{{ tab.content }}</p>
14
+ </section>
15
+ </div>
16
+ {%- endfor -%}
17
+ </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-25 00:00:00.000000000 Z
11
+ date: 2020-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -91,6 +91,7 @@ files:
91
91
  - _includes/search.html
92
92
  - _includes/sidebar.html
93
93
  - _includes/social.html
94
+ - _includes/tabs.html
94
95
  - _includes/thread.html
95
96
  - _includes/toggle.html
96
97
  - _includes/waves/bottom.html