futuro 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/html/head.liquid +4 -4
  3. data/_includes/html/loop/artwork/docs.liquid +6 -6
  4. data/_includes/html/overlay/browse/book.liquid +37 -0
  5. data/_includes/html/overlay/browse/chapter.liquid +36 -0
  6. data/_includes/html/overlay/browse/page.liquid +63 -0
  7. data/_includes/html/overlay/browse.liquid +4 -132
  8. data/_includes/html/overlay/load.liquid +35 -39
  9. data/_includes/html/overlay/search.liquid +19 -21
  10. data/_includes/html/page/artwork.liquid +1 -4
  11. data/_includes/html/page/header.liquid +4 -4
  12. data/_includes/html/page/info.liquid +2 -2
  13. data/_includes/html/page/layout/chapter.liquid +1 -1
  14. data/_includes/html/page/layout/custom.liquid +2 -2
  15. data/_includes/html/page/layout/home.liquid +2 -2
  16. data/_includes/html/page/layout/page.liquid +2 -6
  17. data/_includes/html/page/layout/panel.liquid +2 -2
  18. data/_includes/html/page/layout/tree.liquid +2 -2
  19. data/_includes/html/page/subtitle.liquid +3 -1
  20. data/_includes/html/page/title.liquid +6 -10
  21. data/_includes/html/page/topbar.liquid +11 -1
  22. data/_includes/html/page/utils/share.liquid +1 -1
  23. data/_includes/html/scripts.liquid +2 -2
  24. data/_layouts/feed.html +3 -2
  25. data/_layouts/single.html +3 -2
  26. data/_sass/_area.scss +5 -13
  27. data/_sass/_base.scss +14 -2
  28. data/_sass/_block.scss +19 -29
  29. data/_sass/_col.scss +14 -21
  30. data/_sass/_site.scss +0 -1
  31. data/_sass/_title.scss +6 -4
  32. data/_sass/_wrap.scss +8 -2
  33. data/_sass/block/_browse.scss +2 -2
  34. data/_sass/block/_results.scss +2 -2
  35. data/_sass/block/_util.scss +4 -0
  36. data/_sass/helpers/_extends.scss +5 -23
  37. data/_sass/helpers/_mixins.scss +4 -0
  38. data/_sass/helpers/_variables.scss +3 -0
  39. data/assets/js/footer/custom/CheckWidth.js +10 -11
  40. data/assets/js/footer/custom/ExpandBlock.js +5 -5
  41. data/assets/js/footer/custom/Overlays.js +74 -0
  42. data/assets/js/footer/custom/ScrollFunc.js +41 -43
  43. data/assets/js/footer/custom/Settings.js +7 -5
  44. data/assets/js/footer/custom/SetupHome.js +2 -3
  45. data/assets/js/footer/custom/SiteFunc.js +19 -12
  46. data/assets/js/footer/custom/SplitCode.js +1 -1
  47. data/assets/js/footer/custom/StartBrowse.js +21 -30
  48. data/assets/js/footer/custom/SwitchFocus.js +15 -0
  49. data/assets/js/footer/custom/UtilShare.js +6 -6
  50. data/assets/js/futuro.footer.custom.js +1 -1
  51. data/assets/js/futuro.header.custom.js +1 -1
  52. data/assets/js/header/custom/Overlay.js +27 -38
  53. data/assets/js/header/custom/Site.js +47 -25
  54. metadata +21 -5
  55. data/_includes/artwork/orwell/animal/flob.scss +0 -5
  56. data/_includes/artwork/orwell/animal/waldo.scss +0 -45
  57. data/assets/js/footer/custom/OpenOverlay.js +0 -120
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3215c29030687df9ad178780991366de9c9cf45665aa5518d3bf18673c7e7c34
4
- data.tar.gz: 6da57dc76450efb0c4e5fe2f7fd880e38148ba15a25e9fbfde34a5f7abb8217b
3
+ metadata.gz: bf6f096b90b126871324b251480751096a68319f4dd8e34381373eb77a0f0a1f
4
+ data.tar.gz: 3a96dac0721b7d2ca9b6b0388626ed92c108bfcf469f7400c2acfae668a6d862
5
5
  SHA512:
6
- metadata.gz: 7e3c13fd49e81f17594f983cb9ad557804be52a574b09ad7aae249a30c55f1da8895ef4e382b2c998c917158543df6c58703a2ce7db8d502061f008c2a3089e0
7
- data.tar.gz: 7c1b625700abe59f3e2fefc256b7ad92fb73f21ce0b81aaf5db4046957a87de617fb7df6309c66d42840be4b165518a70117e990ab92caf5c1a6975007a8de48
6
+ metadata.gz: cc040fca087a9c26393fc67413141f45e1d19b1c0018cf0a03a7ba3cfc372b6796a0d1f1fd24f162a510dce4e55411942268f458a6f3779c06fd4d3cf9af789c
7
+ data.tar.gz: 366abbc9cefb41001046ad562a18d5ec51a172d4b1ea4ab39c883e34f3aa538a586fa3e23e8aa8b61fd4b32a4e172cdd7f0504bed6e7ba4e886d034701a9bbef
@@ -3,14 +3,14 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1">
5
5
  <meta name="format-detection" content="telephone=no">
6
- <link rel="icon" href="{{ "/assets/css/favicon.png?v=1581004857774" | relative_url }}">
7
- <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1581004857774" | relative_url }}">
6
+ <link rel="icon" href="{{ "/assets/css/favicon.png?v=1582123788705" | relative_url }}">
7
+ <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1582123788705" | relative_url }}">
8
8
  {% seo %}
9
9
  {% feed_meta %}
10
10
  {% include html/analytics.liquid %}
11
11
  <script type="text/javascript">
12
12
  let Config = {{ site.setup | jsonify }};
13
13
  </script>
14
- <script src="{{ "/assets/js/futuro.header.legacy.js?v=1581004857774" | relative_url }}"></script>
15
- <script src="{{ "/assets/js/futuro.header.custom.js?v=1581004857774" | relative_url }}"></script>
14
+ <script src="{{ "/assets/js/futuro.header.vendor.js?v=1582123788705" | relative_url }}"></script>
15
+ <script src="{{ "/assets/js/futuro.header.custom.js?v=1582123788705" | relative_url }}"></script>
16
16
  </head>
@@ -1,23 +1,23 @@
1
1
 
2
- <div class="code-wrap">
2
+ <!-- <div class="code-wrap">
3
3
 
4
4
  <div class="code-html">
5
5
 
6
- {{ page.content }}
6
+ page.content }}
7
7
 
8
8
  </div>
9
9
 
10
10
  <div class="code-scss">
11
11
 
12
- {% if page.collection %}
12
+ if page.collection %}
13
13
 
14
- {% include {{ artwork | replace: '.html','.scss' }} %}
14
+ include {{ artwork | replace: '.html','.scss' }} %}
15
15
 
16
- {% endif %}
16
+ endif %}
17
17
 
18
18
  </div>
19
19
 
20
- </div>
20
+ </div> -->
21
21
 
22
22
  <div class="output-html {{ chapChap }} {{ titlTitl }}">
23
23
 
@@ -0,0 +1,37 @@
1
+
2
+ <div class="col browse book">
3
+
4
+ <div class="block browse-label head">
5
+ <p><strong>Book</strong></p>
6
+ </div>
7
+
8
+ {% assign loop = site.collections | sort: 'weight' %}
9
+
10
+ {% for page in loop %}
11
+
12
+ {% assign weight = page.weight | append: ' ' %}
13
+ {% assign book = page.label %}
14
+ {% assign title = book | prepend: weight %}
15
+ {% assign url = book | prepend: '/' %}
16
+
17
+ {%- unless page.label == 'posts' -%}
18
+
19
+ {% if page.live %}
20
+
21
+ <div class="block browse-lnk">
22
+ <a href="{{ url }}" class="lnk browse-book book-{{ book }}">{{ title }}</a>
23
+ </div>
24
+
25
+ {% else %}
26
+
27
+ <div class="block browse-lnk">
28
+ <a href="/" class="lnk browse-book book-{{ book }} draft">{{ title }}</a>
29
+ </div>
30
+
31
+ {% endif %}
32
+
33
+ {%- endunless -%}
34
+
35
+ {% endfor %}
36
+
37
+ </div>
@@ -0,0 +1,36 @@
1
+
2
+ <div class="col browse chapter">
3
+
4
+ <div class="block browse-label head">
5
+ <p>Chapter</p>
6
+ </div>
7
+
8
+ {% assign loop = site.collections | sort: 'weight' %}
9
+
10
+ {% for page in loop %}
11
+ {% if page.live %}
12
+
13
+ {% assign label = page.label %}
14
+ {% assign loop = site.[label] | sort: 'weight' %}
15
+
16
+ <div class="block browse-chunk {{ label }}">
17
+
18
+ {% for page in loop %}
19
+ {% if page.type == 'chapter' %}
20
+ {% assign book = page.collection %}
21
+ {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
22
+ {% assign weight = page.weight | slice: 0,3 %}
23
+
24
+ <div class="block browse-lnk">
25
+ <a href="{{ page.url | replace: '/index.html','' }}" class="lnk browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter }}</a>
26
+ </div>
27
+
28
+ {% endif %}
29
+ {% endfor %}
30
+
31
+ </div>
32
+
33
+ {% endif %}
34
+ {% endfor %}
35
+
36
+ </div>
@@ -0,0 +1,63 @@
1
+
2
+ <div class="col browse page">
3
+
4
+ <div class="block browse-label head">
5
+ <p>Page</p>
6
+ </div>
7
+
8
+ {% assign loop = site.collections | sort: 'weight' %}
9
+
10
+ {% for page in loop %}
11
+
12
+ {% if page.live %}
13
+
14
+ {% assign label = page.label %}
15
+ {% assign loop = site.[label] | sort: 'weight' %}
16
+
17
+ <div class="block browse-chunk {{ label }}">
18
+
19
+ {% for page in loop %}
20
+
21
+ {%- if page.type == 'chapter' -%}
22
+
23
+ {% assign match = page.chapter | replace: ' ','-' %}
24
+
25
+ <div class="block browse-chunk {{ match | downcase }}">
26
+
27
+ {% for page in loop %}
28
+
29
+ {% assign query = page.chapter | replace: ' ','-' %}
30
+
31
+ {% if page.type == 'page' and query == match %}
32
+
33
+ {% unless page.topic %}
34
+
35
+ {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
36
+ {% assign title = page.title | downcase | replace: ' ','-' %}
37
+ {% assign weight = page.weight | slice: 0,5 %}
38
+
39
+ <div class="block browse-lnk">
40
+ <a href="{{ page.url | replace: '.html','' }}" class="lnk browse-page chapter-{{ chapter }} title-{{ title }}">{{ weight }} {{ page.title }}</a>
41
+ </div>
42
+
43
+ {% endunless %}
44
+
45
+ {% endif %}
46
+
47
+ {% endfor %}
48
+
49
+ </div>
50
+
51
+ {%- endif -%}
52
+
53
+ {% endfor %}
54
+
55
+ </div>
56
+
57
+ {%- endif -%}
58
+
59
+ {% endfor %}
60
+
61
+ </div>
62
+
63
+ </div>
@@ -1,138 +1,10 @@
1
1
 
2
2
  <h4 class="title overlay browse">Browse</h4>
3
3
 
4
- <div class="block browse {{ site.setup.type | prepend: 'setup-' }}">
4
+ <div class="block browse {{ site.setup.install | prepend: 'install-' }}">
5
5
 
6
- <div class="col browse book">
7
-
8
- <div class="block browse-label head">
9
- <p><strong>Book</strong></p>
10
- </div>
11
-
12
- {% assign loop = site.collections | sort: 'weight' %}
13
-
14
- {% for page in loop %}
15
-
16
- {% assign weight = page.weight | append: ' ' %}
17
- {% assign book = page.label %}
18
- {% assign title = book | prepend: weight %}
19
- {% assign url = book | prepend: '/' %}
20
-
21
- {%- unless page.label == 'posts' -%}
22
-
23
- {% if page.live %}
24
-
25
- <div class="block browse-lnk">
26
- <a href="{{ url }}" class="lnk browse-book book-{{ book }}">{{ title }}</a>
27
- </div>
28
-
29
- {% else %}
30
-
31
- <div class="block browse-lnk">
32
- <a href="/" class="lnk browse-book book-{{ book }} draft">{{ title }}</a>
33
- </div>
34
-
35
- {% endif %}
36
-
37
- {%- endunless -%}
38
-
39
- {% endfor %}
40
-
41
- </div>
42
-
43
- <div class="col browse chapter">
44
-
45
- <div class="block browse-label head">
46
- <p><strong>Chapter</strong></p>
47
- </div>
48
-
49
- {% assign loop = site.collections | sort: 'weight' %}
50
-
51
- {% for page in loop %}
52
- {% if page.live %}
53
-
54
- {% assign label = page.label %}
55
- {% assign loop = site.[label] | sort: 'weight' %}
56
-
57
- <div class="block browse-chunk {{ label }}">
58
-
59
- {% for page in loop %}
60
- {% if page.type == 'chapter' %}
61
- {% assign book = page.collection %}
62
- {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
63
- {% assign weight = page.weight | slice: 0,3 %}
64
-
65
- <div class="block browse-lnk">
66
- <a href="{{ page.url | replace: 'index','' }}" class="lnk browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter }}</a>
67
- </div>
68
-
69
- {% endif %}
70
- {% endfor %}
71
-
72
- </div>
73
-
74
- {% endif %}
75
- {% endfor %}
76
-
77
- </div>
78
-
79
-
80
- <div class="col browse page">
81
-
82
- <div class="block browse-label head">
83
- <p>Page</p>
84
- </div>
85
-
86
- {% assign loop = site.collections | sort: 'weight' %}
87
-
88
- {% for page in loop %}
89
- {% if page.live %}
90
-
91
- {% assign label = page.label %}
92
- {% assign loop = site.[label] | sort: 'weight' %}
93
-
94
- <div class="block browse-chunk {{ label }}">
95
-
96
- {% for page in loop %}
97
- {%- if page.type == 'chapter' -%}
98
- {% assign match = page.chapter | replace: ' ','-' %}
99
-
100
- <div class="block browse-chunk {{ match | downcase }}">
101
-
102
- {% for page in loop %}
103
-
104
- {% assign query = page.chapter | replace: ' ','-' %}
105
-
106
- {% if page.type == 'page' and query == match %}
107
-
108
- {% unless page.topic %}
109
-
110
- {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
111
- {% assign title = page.title | downcase | replace: ' ','-' %}
112
- {% assign weight = page.weight | slice: 0,5 %}
113
-
114
- <div class="block browse-lnk">
115
- <a href="{{ page.url | replace: '.html','' }}" class="lnk browse-page chapter-{{ chapter }} title-{{ title }}">{{ weight }} {{ page.title }}</a>
116
- </div>
117
-
118
- {% endunless %}
119
-
120
- {% endif %}
121
-
122
- {% endfor %}
123
-
124
- </div>
125
-
126
- {%- endif -%}
127
- {% endfor %}
128
-
129
- </div>
130
-
131
- {%- endif -%}
132
- {% endfor %}
133
-
134
- </div>
135
-
136
- </div>
6
+ {%- include html/overlay/browse/book.liquid -%}
7
+ {%- include html/overlay/browse/chapter.liquid -%}
8
+ {%- include html/overlay/browse/page.liquid -%}
137
9
 
138
10
  </div>
@@ -7,45 +7,41 @@
7
7
 
8
8
  <script type="text/javascript">
9
9
 
10
- if (Overlay.load.active) {
11
-
12
- var SiteTl = gsap.timeline({ repeat : -1, repeatDelay : Overlay.load.speed });
13
-
14
- function LoadAnim() {
15
- SiteTl
16
- .set(Overlay.load.title,{
17
- fontFamily: "'FuturaBT-Bold', 'Helvetica Neue', sans-serif",
18
- textTransform: "uppercase",
19
- fontSize: "4.8rem",
20
- color: "red"
21
- })
22
- .set(Overlay.load.box,{borderColor: "red"})
23
- .set(Overlay.load.bar,{backgroundColor: "red"})
24
- .set(Overlay.load.title,{
25
- fontFamily: "'FuturaBT-Book', 'Helvetica Neue', sans-serif",
26
- textTransform: "none",
27
- fontSize: "4.4rem",
28
- color: "blue"
29
- },"+=" + Overlay.load.speed)
30
- .set(Overlay.load.box,{borderColor: "blue"})
31
- .set(Overlay.load.bar,{
32
- backgroundColor: "blue",
33
- width: "43%"
34
- })
35
- .set(Overlay.load.title,{
36
- fontFamily: "'FuturaBT-BookItalic', 'Helvetica Neue', sans-serif",
37
- fontSize: "5.4rem",
38
- color: "black"
39
- },"+=" + Overlay.load.speed)
40
- .set(Overlay.load.box,{borderColor: "black"})
41
- .set(Overlay.load.bar,{
42
- backgroundColor: "black",
43
- width: "93%"
44
- });
45
- }
46
-
47
- LoadAnim();
48
-
10
+ var SiteTl = gsap.timeline({ repeat : -1, repeatDelay : Overlay.load.speed });
11
+
12
+ function LoadAnim() {
13
+ SiteTl
14
+ .set(Overlay.load.title,{
15
+ fontFamily: "'FuturaBT-Bold', 'Helvetica Neue', sans-serif",
16
+ textTransform: "uppercase",
17
+ fontSize: "4.8rem",
18
+ color: "red"
19
+ })
20
+ .set(Overlay.load.box,{borderColor: "red"})
21
+ .set(Overlay.load.bar,{backgroundColor: "red"})
22
+ .set(Overlay.load.title,{
23
+ fontFamily: "'FuturaBT-Book', 'Helvetica Neue', sans-serif",
24
+ textTransform: "none",
25
+ fontSize: "4.4rem",
26
+ color: "blue"
27
+ },"+=" + Overlay.load.speed)
28
+ .set(Overlay.load.box,{borderColor: "blue"})
29
+ .set(Overlay.load.bar,{
30
+ backgroundColor: "blue",
31
+ width: "43%"
32
+ })
33
+ .set(Overlay.load.title,{
34
+ fontFamily: "'FuturaBT-BookItalic', 'Helvetica Neue', sans-serif",
35
+ fontSize: "5.4rem",
36
+ color: "black"
37
+ },"+=" + Overlay.load.speed)
38
+ .set(Overlay.load.box,{borderColor: "black"})
39
+ .set(Overlay.load.bar,{
40
+ backgroundColor: "black",
41
+ width: "93%"
42
+ });
49
43
  }
50
44
 
45
+ LoadAnim();
46
+
51
47
  </script>
@@ -7,26 +7,24 @@
7
7
 
8
8
  <script>
9
9
 
10
- if (typeof Search != "undefined") {
11
- window.simpleJekyllSearch = new SimpleJekyllSearch({
12
- searchInput: document.querySelector(Overlay.search.input),
13
- resultsContainer: document.querySelector(Overlay.search.results),
14
- json: Overlay.search.json,
15
- searchResultTemplate:
16
- "<a href='/{url}' class='block results-entry book-{book} chapter-{chapter}'>
17
- <h1>{title}</h1>
18
- <div class='block results-info'>
19
- <div class='block results-dot'></div>
20
- <h5>{url}</h5>
21
- </div>
22
- </a>",
23
- noResultsText:
24
- "<div class='block results-entry none'>
25
- <h1>No results found</h1>
26
- </div>",
27
- fuzzy: true,
28
- limit: 5
29
- });
30
- }
10
+ window.simpleJekyllSearch = new SimpleJekyllSearch({
11
+ searchInput: document.querySelector(".input.text.search"),
12
+ resultsContainer: document.querySelector(".block.results"),
13
+ json: "/search.json",
14
+ searchResultTemplate:
15
+ "<a href='/{url}' class='block results-entry book-{book} chapter-{chapter}'>
16
+ <h1>{title}</h1>
17
+ <div class='block results-info'>
18
+ <div class='block results-dot'></div>
19
+ <h5>{url}</h5>
20
+ </div>
21
+ </a>",
22
+ noResultsText:
23
+ "<div class='block results-entry none'>
24
+ <h1>No results found</h1>
25
+ </div>",
26
+ fuzzy: true,
27
+ limit: 5
28
+ });
31
29
 
32
30
  </script>
@@ -12,15 +12,12 @@
12
12
 
13
13
  <div class="area page-artwork {{ setup }} {{ chapchap }} {{ titltitl }}">
14
14
 
15
- {%- unless site.setup.type == 'docs' -%}
15
+ {%- unless site.setup.style == "docs" -%}
16
16
 
17
17
  {%- include html/loop/artwork/book.liquid -%}
18
18
 
19
19
  {%- else -%}
20
20
 
21
- {% assign root = '/artwork/' | append: page.collection %}
22
- {% assign artwork = page.url | prepend: root %}
23
-
24
21
  {% include html/loop/artwork/docs.liquid -%}
25
22
 
26
23
  {%- endunless -%}
@@ -1,16 +1,16 @@
1
1
 
2
2
  {% assign type = page.type | prepend: ' type-' %}
3
3
  {% assign book = page.collection | prepend: ' book-' %}
4
- {% assign setup = site.setup.type | replace: ' ','-' | prepend: ' setup-' | downcase %}
4
+ {% assign style = site.setup.style | replace: ' ','-' | prepend: ' style-' | downcase %}
5
5
  {% assign chapter = page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase %}
6
6
  {% assign topic = page.topic | prepend: ' topic-' | downcase %}
7
7
  {% assign title = page.title | replace: ' ','-' | prepend: ' title-' | downcase %}
8
8
  {% assign tag = page.tag | replace: ' ',' tag-' | prepend: ' tag-' %}
9
9
 
10
- <div class="wrap{{ type }}{{ setup }}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}{{ title }}">
10
+ <div class="wrap{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}{{ title }}">
11
11
  <div class="stop" id="{% if page.chapter %}{{ page.chapter | replace: ' ','-' | downcase | append: '-' }}{% endif %}{{ page.title | replace: ' ','-' | downcase }}"></div>
12
12
  {% if page.type == 'chapter' %}
13
- <div class="area{{ type }}{{ setup }}{{ book }}{{ chapter }}">
13
+ <div class="area{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{{ book }}{{ chapter }}">
14
14
  {% else %}
15
- <div class="area{{ type }}{{ setup }}{% if page.tag %}{{ tag }}{% endif %}">
15
+ <div class="area{{ type }}{%- if site.setup.style -%}{{ style }}{%- endif -%}{% if page.tag %}{{ tag }}{% endif %}">
16
16
  {% endif %}
@@ -10,7 +10,7 @@
10
10
 
11
11
  <div class="block {{ info }}">
12
12
 
13
- <h5 class="title {{ chap }}">
13
+ <h5 class="title {{ chap }} {{ chapter }}">
14
14
  {{ cDivs }}
15
15
  </h5>
16
16
 
@@ -22,7 +22,7 @@
22
22
 
23
23
  {%- endif -%}
24
24
 
25
- <h5 class="title {{ weight }}">
25
+ <h5 class="title {{ weight }} {{ chapter }}">
26
26
  {{ page.weight | slice: 0,5 }}
27
27
  </h5>
28
28
 
@@ -1,5 +1,5 @@
1
1
 
2
- {%- if site.setup.type == 'docs' -%}
2
+ {%- if site.setup.style == 'docs' -%}
3
3
 
4
4
  {% include html/page/header.liquid %}
5
5
  {% include html/page/title.liquid %}
@@ -1,7 +1,7 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- <div class="{{ page.type | prepend: 'split-' }} --left">
4
+ <div class="{{ page.type | prepend: 'split-' }} left">
5
5
 
6
6
  {% include html/page/title.liquid %}
7
7
  {% include html/page/subtitle.liquid %}
@@ -10,7 +10,7 @@
10
10
 
11
11
  </div>
12
12
 
13
- <div class="{{ page.type | prepend: 'split-' }} --right">
13
+ <div class="{{ page.type | prepend: 'split-' }} right">
14
14
 
15
15
  {% include html/page/info.liquid %}
16
16
 
@@ -9,8 +9,8 @@
9
9
 
10
10
  {% if book.live == true %}
11
11
  <div class="area book">
12
- <div class="wrap book">
13
- <a class="lnk book {{ title }}" href="{{ url }}">
12
+ <div class="wrap book {{ title }}">
13
+ <a class="lnk book" href="{{ url }}">
14
14
  {% include {{ svg }} %}
15
15
  </a>
16
16
  </div>
@@ -1,13 +1,9 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- {%- if site.setup.type == 'docs' -%}
4
+ {%- if site.setup.style == 'docs' -%}
5
5
 
6
- <div class="block expand-title {{ page.collection | prepend: 'book-' }}">
7
-
8
- {% include html/page/title.liquid %}
9
-
10
- </div>
6
+ {% include html/page/title.liquid %}
11
7
 
12
8
  {% include html/page/artwork.liquid %}
13
9
 
@@ -1,8 +1,8 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- <div class="split-default --panel">
5
- <div class="title _default-subtitle">
4
+ <div class="split-default panel">
5
+ <div class="title default-subtitle">
6
6
  {{ page.subtitle }}
7
7
  </div>
8
8
  {{ page.content | markdownify }}
@@ -1,8 +1,8 @@
1
1
 
2
2
  {% include html/page/header.liquid %}
3
3
 
4
- <div class="split-default --tree">
5
- <div class="title _default-subtitle --tree">
4
+ <div class="split-default tree">
5
+ <div class="title default-subtitle tree">
6
6
  {{ page.subtitle }}
7
7
  </div>
8
8
  {{ page.content | markdownify }}
@@ -1,6 +1,8 @@
1
1
 
2
2
  {% if page.subtitle %}
3
- <h1>
3
+
4
+ <h1 class="page-subtitle">
4
5
  {{ page.subtitle }}
5
6
  </h1>
7
+
6
8
  {% endif %}
@@ -1,35 +1,31 @@
1
1
 
2
2
  {% assign type = page.type | append: '-title' %}
3
- {% assign setup = site.setup.type %}
3
+ {% assign style = site.setup.style | prepend: 'style-' %}
4
4
  {% assign chapter = page.chapter | prepend: '<div>' | append: '</div>' %}
5
5
  {% assign cDivs = chapter | split: ' ' | join: '</div><div>' %}
6
6
 
7
7
  {% unless page.topic %}
8
8
 
9
- {%- if site.setup.type == 'docs' -%}
9
+ {%- if site.setup.style == "docs" -%}
10
10
 
11
- {% if page.type == 'chapter' %}
11
+ {% if page.type == "chapter" %}
12
12
 
13
- <h5 class="title {{ type }} {{ setup }}">
13
+ <h5 class="title {{ type }} {{ style }}">
14
14
  {{ cDivs }}
15
15
  </h5>
16
16
 
17
17
  {% else %}
18
18
 
19
- <h5 class="title {{ type }} {{ setup }}">
19
+ <h5 class="title {{ type }} {{ style }}">
20
20
  {{ page.title }}
21
21
  </h5>
22
22
 
23
- <div class="block expand-block">
24
- Show
25
- </div>
26
-
27
23
  {% endif %}
28
24
 
29
25
  {%- else -%}
30
26
 
31
27
  <h3 class="title {{ type }}">
32
- {% if page.type == 'chapter' %}
28
+ {% if page.type == "chapter" %}
33
29
  {{ cDivs }}
34
30
  {% else %}
35
31
  {{ page.title }}