futuro 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/artwork/animal/icon.svg +10 -0
- data/_includes/artwork/orwell/animal/flob.scss +5 -0
- data/_includes/artwork/orwell/animal/waldo.scss +45 -0
- data/_includes/html/assign/page.liquid +85 -0
- data/_includes/html/assign/site.liquid +88 -0
- data/_includes/html/layout/loop.liquid +32 -0
- data/_includes/html/layout/type.liquid +16 -0
- data/_includes/html/overlay/about.liquid +5 -2
- data/_includes/html/overlay/browse/book.liquid +14 -25
- data/_includes/html/overlay/browse/chapter.liquid +24 -19
- data/_includes/html/overlay/browse/page.liquid +50 -30
- data/_includes/html/overlay/browse.liquid +5 -5
- data/_includes/html/overlay/load.liquid +29 -9
- data/_includes/html/overlay/search.liquid +20 -12
- data/_includes/html/overlay/wrap.liquid +18 -0
- data/_includes/html/page/clippies.liquid +22 -0
- data/_includes/html/page/content/chart.liquid +8 -0
- data/_includes/html/page/content/header.liquid +42 -0
- data/_includes/html/page/content/loop/artwork/image.liquid +2 -0
- data/_includes/html/page/content/loop/artwork/video.liquid +4 -0
- data/_includes/html/page/content/loop/artwork.liquid +22 -0
- data/_includes/html/page/content/loop/chart/assign.liquid +30 -0
- data/_includes/html/page/content/loop/chart.liquid +38 -0
- data/_includes/html/page/content/loop/form/alert.liquid +14 -0
- data/_includes/html/page/content/loop/form/button.liquid +26 -0
- data/_includes/html/page/content/loop/form/callout.liquid +6 -0
- data/_includes/html/page/content/loop/form/checkbox.liquid +24 -0
- data/_includes/html/page/content/loop/form/date.liquid +197 -0
- data/_includes/html/page/content/loop/form/fee.liquid +9 -0
- data/_includes/html/page/content/loop/form/input.liquid +7 -0
- data/_includes/html/page/content/loop/form/item.liquid +38 -0
- data/_includes/html/page/content/loop/form/label.liquid +15 -0
- data/_includes/html/page/content/loop/form/legend.liquid +38 -0
- data/_includes/html/page/content/loop/form/message.liquid +6 -0
- data/_includes/html/page/content/loop/form/password.liquid +11 -0
- data/_includes/html/page/content/loop/form/radio.liquid +39 -0
- data/_includes/html/page/content/loop/form/select.liquid +22 -0
- data/_includes/html/page/content/loop/form/text.liquid +45 -0
- data/_includes/html/page/content/loop/form/textarea.liquid +18 -0
- data/_includes/html/page/content/loop/form/yousaved.liquid +10 -0
- data/_includes/html/page/content/loop/form.liquid +66 -0
- data/_includes/html/page/content/loop/header/back.liquid +6 -0
- data/_includes/html/page/content/loop/header/basket.liquid +8 -0
- data/_includes/html/page/content/loop/header/login.liquid +28 -0
- data/_includes/html/page/content/loop/header/logo.liquid +32 -0
- data/_includes/html/page/content/loop/header/search.liquid +16 -0
- data/_includes/html/page/content/loop/header/subheader.liquid +8 -0
- data/_includes/html/page/content/loop/header.liquid +18 -0
- data/_includes/html/page/content/loop/number.liquid +16 -0
- data/_includes/html/page/content/loop/pies.liquid +42 -0
- data/_includes/html/page/content/loop/roller/item.liquid +47 -0
- data/_includes/html/page/content/loop/roller.liquid +8 -0
- data/_includes/html/page/content/loop/screen/row.liquid +18 -0
- data/_includes/html/page/content/loop/screen/small.liquid +6 -0
- data/_includes/html/page/content/loop/screen/title.liquid +12 -0
- data/_includes/html/page/content/loop/screen.liquid +38 -0
- data/_includes/html/page/content/loop.liquid +10 -0
- data/_includes/html/page/content/more.liquid +10 -0
- data/_includes/html/page/content/roller.liquid +76 -0
- data/_includes/html/page/content.liquid +135 -0
- data/_includes/html/page/footnote.liquid +24 -0
- data/_includes/html/page/header.liquid +8 -34
- data/_includes/html/page/info.liquid +18 -23
- data/_includes/html/page/layout/home.liquid +7 -0
- data/_includes/html/page/layout/page.liquid +15 -24
- data/_includes/html/page/subtitle.liquid +1 -3
- data/_includes/html/page/title.liquid +18 -17
- data/_includes/html/page/topbar.liquid +16 -8
- data/_includes/html/page/{utils → util}/author.liquid +1 -1
- data/_includes/html/page/util/share.liquid +24 -0
- data/_includes/html/page/{utils → util}/update.liquid +1 -1
- data/_includes/html/page/util.liquid +28 -12
- data/_includes/html/search/loop.liquid +11 -0
- data/_includes/html/site/footer.liquid +10 -0
- data/_includes/html/site/header.liquid +10 -0
- data/_includes/html/site/scroller.liquid +68 -0
- data/_includes/svg/site/icon.liquid +17 -11
- data/_layouts/feed.html +37 -33
- data/_layouts/single.html +36 -31
- data/_sass/_bar.scss +1 -1
- data/_sass/_base.scss +10 -21
- data/_sass/_block.scss +7 -26
- data/_sass/_box.scss +1 -1
- data/_sass/_button.scss +2 -2
- data/_sass/_col.scss +2 -2
- data/_sass/_input.scss +14 -28
- data/_sass/_item.scss +20 -16
- data/_sass/_link.scss +42 -0
- data/_sass/_list.scss +21 -20
- data/_sass/_site.scss +3 -3
- data/_sass/_title.scss +74 -42
- data/_sass/area/book.scss +18 -0
- data/_sass/area/chapter.scss +15 -0
- data/_sass/area/content.scss +9 -0
- data/_sass/area/overlay.scss +50 -5
- data/_sass/area/page.scss +59 -20
- data/_sass/area/topbar.scss +5 -2
- data/_sass/block/chart.scss +44 -0
- data/_sass/block/custom.scss +9 -0
- data/_sass/block/form/alert.scss +17 -0
- data/_sass/block/form/checkbox.scss +42 -0
- data/_sass/block/form/header.scss +78 -0
- data/_sass/block/form/input.scss +51 -0
- data/_sass/block/form/item.scss +22 -0
- data/_sass/block/form/label.scss +15 -0
- data/_sass/block/form/legend.scss +70 -0
- data/_sass/block/form/login.scss +70 -0
- data/_sass/block/form/message.scss +9 -0
- data/_sass/block/form/password.scss +19 -0
- data/_sass/block/form/radio.scss +12 -0
- data/_sass/block/form/screen.scss +89 -0
- data/_sass/block/form/scroller.scss +8 -0
- data/_sass/block/form/search.scss +39 -0
- data/_sass/block/form/select.scss +49 -0
- data/_sass/block/form/subheader.scss +60 -0
- data/_sass/block/form/text.scss +20 -0
- data/_sass/block/form/title.scss +12 -0
- data/_sass/block/form.scss +17 -0
- data/_sass/block/navigation.scss +3 -3
- data/_sass/block/number.scss +9 -0
- data/_sass/block/pie.scss +14 -0
- data/_sass/block/results.scss +9 -5
- data/_sass/block/scroller.scss +12 -0
- data/_sass/block/stop.scss +0 -1
- data/_sass/block/util.scss +19 -17
- data/_sass/futuro.core.scss +74 -27
- data/_sass/helpers/extends/grid.scss +24 -0
- data/_sass/helpers/extends/layout.scss +27 -0
- data/_sass/helpers/extends.scss +22 -115
- data/_sass/helpers/mixins/layout.scss +11 -0
- data/_sass/helpers/mixins/mindsets.scss +0 -6
- data/_sass/helpers/mixins/patterns.scss +4 -4
- data/_sass/helpers/mixins/theme.scss +292 -210
- data/_sass/helpers/mixins.scss +1 -12
- data/_sass/helpers/themes.scss +10 -0
- data/_sass/helpers/variables.scss +55 -42
- data/_sass/title/overlay.scss +16 -17
- data/_sass/wrap/book.scss +1 -1
- data/_sass/wrap/browse.scss +26 -0
- data/_sass/wrap/chapter.scss +11 -1
- data/_sass/wrap/overlay.scss +54 -1
- data/_sass/wrap/page.scss +18 -1
- data/_sass/wrap/scroller.scss +1 -1
- data/assets/js/footer/custom/ActiveBook.js +10 -12
- data/assets/js/footer/custom/AnimateScroller.js +11 -0
- data/assets/js/footer/custom/Overlays.js +21 -21
- data/assets/js/footer/custom/RespondBrowse.js +80 -0
- data/assets/js/footer/custom/Settings.js +9 -5
- data/assets/js/footer/custom/SetupBrowse.js +115 -0
- data/assets/js/footer/custom/SetupHome.js +23 -6
- data/assets/js/footer/custom/SiteFunc.js +17 -11
- data/assets/js/footer/custom/StartBrowse.js +95 -59
- data/assets/js/footer/custom/SwitchFocus.js +6 -6
- data/assets/js/footer/custom/UtilShare.js +14 -8
- data/assets/js/footer/vendor/gsap-scramble.js +11 -0
- data/assets/js/futuro.footer.custom.js +1 -1
- data/assets/js/futuro.footer.vendor.js +12 -0
- data/assets/js/futuro.header.custom.js +1 -1
- data/assets/js/header/custom/Color.js +39 -27
- data/assets/js/header/custom/Config.js +16 -0
- data/assets/js/header/custom/Overlay.js +21 -34
- data/assets/js/header/custom/Site.js +5 -0
- metadata +100 -38
- data/_includes/html/assign.liquid +0 -7
- data/_includes/html/filter/loop.liquid +0 -31
- data/_includes/html/filter/type.liquid +0 -31
- data/_includes/html/loop/artwork/book/number.liquid +0 -7
- data/_includes/html/loop/artwork/book/pies.liquid +0 -41
- data/_includes/html/loop/artwork/book/textbox.liquid +0 -16
- data/_includes/html/loop/artwork/book/video.liquid +0 -4
- data/_includes/html/loop/artwork/book.liquid +0 -38
- data/_includes/html/loop/artwork/docs.liquid +0 -31
- data/_includes/html/loop/search.liquid +0 -16
- data/_includes/html/overlay.liquid +0 -23
- data/_includes/html/page/artwork.liquid +0 -27
- data/_includes/html/page/layout/chapter.liquid +0 -32
- data/_includes/html/page/layout/custom.liquid +0 -79
- data/_includes/html/page/layout/panel.liquid +0 -15
- data/_includes/html/page/layout/tree.liquid +0 -15
- data/_includes/html/page/utils/share.liquid +0 -18
- data/_includes/svg/site/btn/search.svg +0 -1
- data/_sass/_area.scss +0 -52
- data/_sass/_lnk.scss +0 -32
- data/_sass/area/overlay/about.scss +0 -10
- data/_sass/area/overlay/browse.scss +0 -6
- data/_sass/area/overlay/load.scss +0 -10
- data/_sass/area/overlay/mobile.scss +0 -9
- data/_sass/area/overlay/search.scss +0 -6
- data/_sass/block/browse.scss +0 -35
- data/_sass/helpers/variables/patterns.scss +0 -10
- data/_sass/wrap/overlay/legacy.scss +0 -18
- data/_sass/wrap/overlay/load.scss +0 -4
- data/_sass/wrap/overlay/mobile.scss +0 -8
- data/_sass/wrap/overlay/search.scss +0 -4
- data/assets/js/footer/custom/ExpandBlock.js +0 -21
- data/assets/js/footer/custom/ScrollFunc.js +0 -41
- data/assets/js/footer/custom/SplitCode.js +0 -14
@@ -0,0 +1,135 @@
|
|
1
|
+
|
2
|
+
{% if PageIsChapter %}
|
3
|
+
|
4
|
+
<div class="area {{ PageType }} {{ PageBook | prepend : 'book-' }} {{ PageChapter | prepend : 'chapter-' }}
|
5
|
+
{% if site.setup.style %}{{ SiteStyle }}{% endif %}">
|
6
|
+
|
7
|
+
{%- unless SiteIsDoc -%}
|
8
|
+
|
9
|
+
<h2>{{ page.weight | slice: 0,3 }}</h2>
|
10
|
+
|
11
|
+
{%- endunless -%}
|
12
|
+
|
13
|
+
{% else %}
|
14
|
+
|
15
|
+
{%- include html/page/subtitle.liquid -%}
|
16
|
+
|
17
|
+
<div class="area {{ PageType }} {{ PageTitle | prepend : 'title-' }}
|
18
|
+
{% if site.setup.style %}{{ SiteStyle }}{% endif %}
|
19
|
+
{% unless NoSubtitle %}has-subtitle{% endunless %}
|
20
|
+
{% if page.row %} has-row {% endif %}
|
21
|
+
{% if page.pies %}is-pie{% endif %}">
|
22
|
+
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{{ page.content | markdownify }}
|
26
|
+
|
27
|
+
{%- unless PageIsChapter -%}
|
28
|
+
|
29
|
+
{%- include {{ SiteContent | append : 'more.liquid' }} -%}
|
30
|
+
|
31
|
+
{% include html/page/util.liquid %}
|
32
|
+
|
33
|
+
{%- if page.break -%}
|
34
|
+
|
35
|
+
{% for i in (1..page.break) %}<br>{% endfor %}
|
36
|
+
|
37
|
+
{%- endif -%}
|
38
|
+
|
39
|
+
{%- if page.chart -%}
|
40
|
+
|
41
|
+
{%- include {{ SiteContent | append : 'chart.liquid' }} -%}
|
42
|
+
|
43
|
+
{%- endif -%}
|
44
|
+
|
45
|
+
{%- if page.number -%}
|
46
|
+
|
47
|
+
<div class="block number-container">
|
48
|
+
|
49
|
+
{%- include {{ SiteContent | append : 'loop.liquid' }} type="number" -%}
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
{%- endif -%}
|
54
|
+
|
55
|
+
{%- if page.pies -%}
|
56
|
+
|
57
|
+
<ul class="list pies">
|
58
|
+
|
59
|
+
{%- include {{ SiteContent | append : 'loop.liquid' }} type="pies" -%}
|
60
|
+
|
61
|
+
</ul>
|
62
|
+
|
63
|
+
{%- endif -%}
|
64
|
+
|
65
|
+
{%- if page.roller -%}
|
66
|
+
|
67
|
+
{%- include {{ SiteContent | append : 'roller.liquid' }} -%}
|
68
|
+
|
69
|
+
{%- endif -%}
|
70
|
+
|
71
|
+
{%- if page.artwork -%}
|
72
|
+
|
73
|
+
{%- include {{ SiteContent | append : 'loop.liquid' }} type="artwork" -%}
|
74
|
+
|
75
|
+
{%- endif -%}
|
76
|
+
|
77
|
+
{%- if page.form -%}
|
78
|
+
|
79
|
+
{%- include {{ SiteContent | append : 'loop.liquid' }} type="form" -%}
|
80
|
+
|
81
|
+
{%- endif -%}
|
82
|
+
|
83
|
+
{%- if page.header -%}
|
84
|
+
|
85
|
+
{%- include {{ SiteContent | append : 'header.liquid' }} -%}
|
86
|
+
|
87
|
+
{%- endif -%}
|
88
|
+
|
89
|
+
{%- if page.screen -%}
|
90
|
+
|
91
|
+
<div class="block screen-container">
|
92
|
+
|
93
|
+
{%- include {{ SiteContent | append : 'loop.liquid' }} type="screen" -%}
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
{%- endif -%}
|
98
|
+
|
99
|
+
{%- if page.loader -%}
|
100
|
+
|
101
|
+
<div class="loader page-wrap">
|
102
|
+
|
103
|
+
<div class="loader page-bg">
|
104
|
+
|
105
|
+
{%- include {{ SvgIcon }} type="carrier" -%}
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<div class="loader page-bg ghost">
|
110
|
+
|
111
|
+
{%- include {{ SvgIcon }} type="carrier" -%}
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
<div class="loader page-bg ghost">
|
116
|
+
|
117
|
+
{%- include {{ SvgIcon }} type="carrier" -%}
|
118
|
+
|
119
|
+
</div>
|
120
|
+
|
121
|
+
</div>
|
122
|
+
|
123
|
+
{%- endif -%}
|
124
|
+
|
125
|
+
{%- if page.ticker -%}
|
126
|
+
|
127
|
+
<div class="ticker onemoment">
|
128
|
+
|
129
|
+
<div class="ticker message">{{ page.ticker }}</div>
|
130
|
+
|
131
|
+
</div>
|
132
|
+
|
133
|
+
{%- endif -%}
|
134
|
+
|
135
|
+
{%- endunless -%}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
{%- if page.footnote -%}
|
3
|
+
|
4
|
+
<p class="block page-footnote">
|
5
|
+
|
6
|
+
{%- for item in page.footnote -%}
|
7
|
+
|
8
|
+
{%- if item.pre -%}
|
9
|
+
|
10
|
+
<strong>{{ item.pre | append : ':' }}</strong>
|
11
|
+
|
12
|
+
{%- endif -%}
|
13
|
+
|
14
|
+
{%- if item.msg -%}
|
15
|
+
|
16
|
+
{{ item.msg | prepend : ' ' }}
|
17
|
+
|
18
|
+
{%- endif -%}
|
19
|
+
|
20
|
+
{%- endfor -%}
|
21
|
+
|
22
|
+
</p>
|
23
|
+
|
24
|
+
{%- endif -%}
|
@@ -1,38 +1,12 @@
|
|
1
1
|
|
2
|
-
{% assign style = site.setup.style | replace: ' ','-' | prepend: ' style-' | downcase %}
|
3
|
-
{% assign type = page.type | prepend: ' type-' %}
|
4
|
-
{% assign book = page.collection | prepend: ' book-' %}
|
5
|
-
{% assign chapter = page.chapter | replace: ' ','-' | prepend: ' chapter-' | downcase %}
|
6
|
-
{% assign topic = page.topic | prepend: ' topic-' | downcase %}
|
7
|
-
{% assign title = page.title | replace: ' ','-' | prepend: ' title-' | downcase %}
|
8
|
-
{% assign tag = page.tag | replace: ' ',' tag-' | prepend: ' tag-' %}
|
9
|
-
{% assign id1 = page.chapter | replace: ' ','-' | append: '-' %}
|
10
|
-
{% assign id2 = page.title | replace: ' ','-' %}
|
11
|
-
{% assign id = id1 | append: id2 | downcase %}
|
12
|
-
|
13
2
|
<div class="wrap
|
14
|
-
{{
|
15
|
-
{% if site.setup.style %}{{
|
16
|
-
{% if page.collection %}{{ book }}{% endif %}
|
17
|
-
{% if page.chapter %}{{ chapter }}{% endif %}
|
18
|
-
{% if page.topic %}{{ topic }}{% endif %}
|
19
|
-
{{ title }}">
|
20
|
-
|
21
|
-
<div class="block stop" id="{{ id }}"></div>
|
22
|
-
|
23
|
-
{% if page.type == 'chapter' %}
|
24
|
-
|
25
|
-
<div class="area
|
26
|
-
{{ type }}
|
27
|
-
{% if site.setup.style %}{{ style }}{% endif %}
|
28
|
-
{{ book }}
|
29
|
-
{{ chapter }}">
|
30
|
-
|
31
|
-
{% else %}
|
3
|
+
{{ PageType }}
|
4
|
+
{% if site.setup.style %}{{ SiteStyle }}{% endif %}
|
5
|
+
{% if page.collection %}{{ PageBook | prepend : 'book-' }}{% endif %}
|
6
|
+
{% if page.chapter %}{{ PageChapter | prepend : 'chapter-' }}{% endif %}
|
7
|
+
{% if page.topic %}{{ PageTopic | prepend : 'topic-' }} in-topic{% endif %}
|
8
|
+
{{ PageTitle | prepend : 'title-' }}">
|
32
9
|
|
33
|
-
|
34
|
-
{{ type }}
|
35
|
-
{% if site.setup.style %}{{ style }}{% endif %}
|
36
|
-
{% if page.tag %}{{ tag }}{% endif %}">
|
10
|
+
<div class="block stop" id="{{ ScrollID }}"></div>
|
37
11
|
|
38
|
-
{%
|
12
|
+
{% include html/page/title.liquid %}
|
@@ -1,35 +1,30 @@
|
|
1
1
|
|
2
|
-
|
3
|
-
|
4
|
-
{
|
5
|
-
|
6
|
-
{
|
7
|
-
|
8
|
-
{% assign cWrap = page.chapter | prepend: '<div>' | append: '</div>' %}
|
9
|
-
{% assign cDivs = cWrap | split: ' ' | join: '</div><div>' %}
|
10
|
-
|
11
|
-
<div class="block {{ info }}">
|
12
|
-
|
13
|
-
<h5 class="title {{ chap }} {{ chapter }}">
|
14
|
-
{{ cDivs }}
|
2
|
+
<div class="block {{ PageInfo }}">
|
3
|
+
|
4
|
+
<h5 class="title {{ TypeChapter }} {{ PageChapter | prepend : 'chapter-' }}">
|
5
|
+
|
6
|
+
{{ ChapterSplit }}
|
7
|
+
|
15
8
|
</h5>
|
16
9
|
|
17
|
-
{%-
|
10
|
+
{%- unless SiteIsDoc -%}
|
11
|
+
|
12
|
+
{%- if page.icon -%}
|
18
13
|
|
19
|
-
|
14
|
+
<div class="block {{ TypeIcon }} {{ PageChapter | prepend : 'chapter-' }}">
|
20
15
|
|
21
|
-
|
22
|
-
{% include {{ cPath | prepend: '/artwork/' }} %}
|
23
|
-
{%- else -%}
|
24
|
-
{% include {{ bPath }}/{{ cPath }} %}
|
25
|
-
{%- endif -%}
|
16
|
+
{%- include {{ IconPath | append : 'icon.svg' }} -%}
|
26
17
|
|
27
|
-
|
18
|
+
</div>
|
28
19
|
|
29
|
-
|
20
|
+
{%- endif -%}
|
21
|
+
|
22
|
+
{%- endunless -%}
|
23
|
+
|
24
|
+
<h5 class="title {{ TypeWeight }} {{ PageChapter | prepend : 'chapter-' }}">
|
30
25
|
|
31
|
-
<h5 class="title {{ weight }} {{ chapter }}">
|
32
26
|
{{ page.weight | slice: 0,5 }}
|
27
|
+
|
33
28
|
</h5>
|
34
29
|
|
35
30
|
</div>
|
@@ -2,12 +2,15 @@
|
|
2
2
|
{% assign loop = site.collections | sort: 'weight' %}
|
3
3
|
|
4
4
|
<div class="wrap home">
|
5
|
+
|
5
6
|
{% for book in loop %}
|
7
|
+
|
6
8
|
{% assign title = book.label %}
|
7
9
|
{% assign url = title | prepend: '/' | append: '/' %}
|
8
10
|
{% assign svg = title | prepend: '/svg/site/book/' | append: '.svg' %}
|
9
11
|
|
10
12
|
{% if book.live == true %}
|
13
|
+
|
11
14
|
<div class="area book">
|
12
15
|
<div class="wrap book {{ title }}">
|
13
16
|
<a class="lnk book" href="{{ url }}">
|
@@ -15,7 +18,9 @@
|
|
15
18
|
</a>
|
16
19
|
</div>
|
17
20
|
</div>
|
21
|
+
|
18
22
|
{% elsif book.live == false %}
|
23
|
+
|
19
24
|
<div class="area book">
|
20
25
|
<div class="wrap book draft">
|
21
26
|
<div class="lnk book">
|
@@ -23,7 +28,9 @@
|
|
23
28
|
</div>
|
24
29
|
</div>
|
25
30
|
</div>
|
31
|
+
|
26
32
|
{% endif %}
|
27
33
|
|
28
34
|
{% endfor %}
|
35
|
+
|
29
36
|
</div>
|
@@ -1,41 +1,32 @@
|
|
1
1
|
|
2
|
-
{
|
2
|
+
{%- include html/page/header.liquid -%}
|
3
3
|
|
4
|
-
|
4
|
+
{%- include html/page/content.liquid -%}
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
{% include html/page/artwork.liquid %}
|
9
|
-
|
10
|
-
{% else %}
|
11
|
-
|
12
|
-
<div class="{{ split }} left {% unless page.subtitle %}no-subtitle{% endunless %}">
|
13
|
-
|
14
|
-
{% include html/page/title.liquid %}
|
6
|
+
</div>
|
15
7
|
|
16
|
-
|
8
|
+
{%- if page.row -%}
|
17
9
|
|
18
|
-
|
10
|
+
<!-- <div class="area {{ PageType }} row-content">
|
11
|
+
include {{ ContentLoop }} type="row" -%}
|
12
|
+
</div> -->
|
19
13
|
|
20
|
-
|
14
|
+
{%- endif -%}
|
21
15
|
|
22
|
-
|
23
|
-
{% include html/page/util.liquid %}
|
24
|
-
{%- endunless -%}
|
16
|
+
{%- include html/page/footnote.liquid -%}
|
25
17
|
|
26
|
-
|
18
|
+
{%- if PageIsChapter -%}
|
27
19
|
|
28
|
-
|
20
|
+
{%- include html/page/util.liquid -%}
|
29
21
|
|
30
|
-
|
22
|
+
{%- else -%}
|
31
23
|
|
32
|
-
|
24
|
+
{%- unless SiteIsDoc -%}
|
33
25
|
|
34
|
-
{
|
26
|
+
{%- include html/page/info.liquid -%}
|
35
27
|
|
36
|
-
|
28
|
+
{%- endunless -%}
|
37
29
|
|
38
30
|
{%- endif -%}
|
39
31
|
|
40
|
-
</div>
|
41
32
|
</div>
|
@@ -1,35 +1,36 @@
|
|
1
1
|
|
2
|
-
{%
|
3
|
-
{% assign style = site.setup.style | prepend: 'style-' %}
|
4
|
-
{% assign chapter = page.chapter | prepend: '<div>' | append: '</div>' %}
|
5
|
-
{% assign cDivs = chapter | split: ' ' | join: '</div><div>' %}
|
2
|
+
{% unless PageInTopic %}
|
6
3
|
|
7
|
-
{
|
4
|
+
{%- if SiteIsDoc -%}
|
8
5
|
|
9
|
-
|
6
|
+
{% if PageIsChapter %}
|
10
7
|
|
11
|
-
{
|
12
|
-
|
13
|
-
<h5 class="title {{ type }} {{ style }}">
|
14
|
-
{{ cDivs }}
|
8
|
+
<h5 class="title {{ PageType }} {{ SiteStyle }}">
|
9
|
+
{{ ChapterSplit }}
|
15
10
|
</h5>
|
16
11
|
|
17
|
-
|
12
|
+
{% else %}
|
18
13
|
|
19
|
-
<h5 class="title {{
|
14
|
+
<h5 class="title {{ PageType }} {{ SiteStyle }}">
|
20
15
|
{{ page.title }}
|
21
16
|
</h5>
|
22
17
|
|
23
|
-
|
18
|
+
{% endif %}
|
24
19
|
|
25
20
|
{%- else -%}
|
26
21
|
|
27
|
-
<h3 class="title {{
|
28
|
-
|
29
|
-
|
22
|
+
<h3 class="title {{ PageType }}">
|
23
|
+
|
24
|
+
{%- if PageIsChapter -%}
|
25
|
+
|
26
|
+
{{ ChapterSplit }}
|
27
|
+
|
30
28
|
{% else %}
|
29
|
+
|
31
30
|
{{ page.title | truncate: 13 }}
|
32
|
-
|
31
|
+
|
32
|
+
{%- endif -%}
|
33
|
+
|
33
34
|
</h3>
|
34
35
|
|
35
36
|
{%- endif -%}
|
@@ -4,26 +4,30 @@
|
|
4
4
|
<div class="area topbar">
|
5
5
|
|
6
6
|
<div class="block navigation left">
|
7
|
+
|
7
8
|
<button type="button" class="navigation about">
|
8
|
-
{% include
|
9
|
+
{% include {{ SvgBtn | append : 'about.svg' }} %}
|
9
10
|
</button>
|
11
|
+
|
10
12
|
<button type="button" class="navigation browse">
|
11
|
-
{% include
|
13
|
+
{% include {{ SvgBtn | append : 'browse.svg' }} %}
|
12
14
|
</button>
|
15
|
+
|
13
16
|
</div>
|
14
17
|
|
15
18
|
<div class="block navigation main">
|
19
|
+
|
16
20
|
{% assign loop = site.collections | sort: 'weight' %}
|
17
21
|
|
18
22
|
{% for page in loop %}
|
19
23
|
|
20
24
|
{% if page.live %}
|
21
25
|
|
22
|
-
<
|
23
|
-
<
|
26
|
+
<a class="link navigation {{ page.label }}" href="{%- if site.setup.install == 'library' -%}{{ page.label | prepend: '/' }}{%- else -%}/{%- endif -%}">
|
27
|
+
<button type="button" name="button">
|
24
28
|
<strong>{{ page.label }}</strong>
|
25
|
-
</
|
26
|
-
</
|
29
|
+
</button>
|
30
|
+
</a>
|
27
31
|
|
28
32
|
{% endif %}
|
29
33
|
|
@@ -32,15 +36,19 @@
|
|
32
36
|
</div>
|
33
37
|
|
34
38
|
<div class="block navigation right">
|
39
|
+
|
35
40
|
<button type="button" class="navigation cart" style="display:none;">
|
36
|
-
{% include
|
41
|
+
{% include {{ SvgBtn | append : 'cart.svg' }} %}
|
37
42
|
</button>
|
43
|
+
|
38
44
|
<button type="button" class="navigation count" style="display:none;">
|
39
45
|
<strong>0</strong>
|
40
46
|
</button>
|
47
|
+
|
41
48
|
<button type="button" class="navigation search">
|
42
|
-
{% include
|
49
|
+
{% include {{ SvgIcon }} type="search" %}
|
43
50
|
</button>
|
51
|
+
|
44
52
|
</div>
|
45
53
|
|
46
54
|
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
{%- if SiteIsShare -%}
|
3
|
+
|
4
|
+
<div class="block util-share {{ PageType }}">
|
5
|
+
|
6
|
+
{% assign DynamicShare = page.type | prepend : 'share/' | append : '.svg' %}
|
7
|
+
|
8
|
+
{% include {{ SvgBtn | append : DynamicShare }} %}
|
9
|
+
|
10
|
+
{%- if PageIsChapter -%}
|
11
|
+
|
12
|
+
<h5></h5>
|
13
|
+
|
14
|
+
{%- else -%}
|
15
|
+
|
16
|
+
<p>Copy page</p>
|
17
|
+
|
18
|
+
{%- endif -%}
|
19
|
+
|
20
|
+
<div class="block util-url">{{ PageShare }}</div>
|
21
|
+
|
22
|
+
</div>
|
23
|
+
|
24
|
+
{%- endif -%}
|
@@ -1,20 +1,36 @@
|
|
1
1
|
|
2
|
-
{
|
2
|
+
{%- unless SiteIsDoc or page.error -%}
|
3
3
|
|
4
|
-
|
4
|
+
{%- if SiteIsShare or
|
5
|
+
page.update or
|
6
|
+
page.author -%}
|
5
7
|
|
6
|
-
{
|
8
|
+
<div class="block util {{ PageType }}">
|
7
9
|
|
8
|
-
{%-
|
10
|
+
{%- if SiteIsShare -%}
|
9
11
|
|
10
|
-
|
11
|
-
{% include html/page/utils/update.liquid %}
|
12
|
-
{% endif %}
|
12
|
+
{% include {{ SiteUtil | append : 'share.liquid' }} %}
|
13
13
|
|
14
|
-
|
15
|
-
{% include html/page/utils/author.liquid %}
|
16
|
-
{% endif %}
|
14
|
+
{%- endif -%}
|
17
15
|
|
18
|
-
{%-
|
16
|
+
{%- unless PageIsChapter -%}
|
17
|
+
|
18
|
+
{% if page.update %}
|
19
|
+
|
20
|
+
{% include {{ SiteUtil | append : 'update.liquid' }} %}
|
21
|
+
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% if page.author %}
|
25
|
+
|
26
|
+
{% include {{ SiteUtil | append : 'author.liquid' }} %}
|
19
27
|
|
20
|
-
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{%- endunless -%}
|
31
|
+
|
32
|
+
</div>
|
33
|
+
|
34
|
+
{%- endif -%}
|
35
|
+
|
36
|
+
{%- endunless -%}
|
@@ -0,0 +1,68 @@
|
|
1
|
+
|
2
|
+
{% assign ScrollLength = 0 %}
|
3
|
+
|
4
|
+
{%- for item in loop -%}
|
5
|
+
|
6
|
+
{%- if item.type == 'chapter' -%}
|
7
|
+
|
8
|
+
{% assign ScrollLength = ScrollLength | plus : 1 %}
|
9
|
+
|
10
|
+
{%- endif -%}
|
11
|
+
|
12
|
+
{%- endfor -%}
|
13
|
+
|
14
|
+
{%- if ScrollLength > 1 -%}
|
15
|
+
|
16
|
+
<div class="block scroller">
|
17
|
+
|
18
|
+
<ol class="list scrollers">
|
19
|
+
|
20
|
+
{% assign ScrollItem = 0 %}
|
21
|
+
|
22
|
+
{%- for item in loop -%}
|
23
|
+
|
24
|
+
{%- if item.type == 'chapter' -%}
|
25
|
+
|
26
|
+
{% assign ScrollItem = ScrollItem | plus : 1 %}
|
27
|
+
|
28
|
+
{% assign ItemChapter = item.chapter | replace : ' ','-' | append : '-' | downcase %}
|
29
|
+
{% assign ItemTitle = item.title | replace : ' ','-' | downcase %}
|
30
|
+
{% assign ItemID = ItemChapter | append : ItemTitle %}
|
31
|
+
|
32
|
+
<li class="item scroller {{ ItemTitle }}">
|
33
|
+
|
34
|
+
<a href="{{ ItemID | prepend : '#' }}" class="link scroller">
|
35
|
+
|
36
|
+
{%- if ScrollItem == 1 -%}
|
37
|
+
|
38
|
+
<svg version="1.1" width="20" height="14" viewBox="0 0 20 14">
|
39
|
+
<path d="M10,0l9,14H1L10,0z"/>
|
40
|
+
</svg>
|
41
|
+
|
42
|
+
{%- elsif ScrollItem == (ScrollLength -1) -%}
|
43
|
+
|
44
|
+
<svg version="1.1" width="20" height="14" viewBox="0 0 20 14">
|
45
|
+
<path d="M10,14L1,0h18L10,14z"/>
|
46
|
+
</svg>
|
47
|
+
|
48
|
+
{%- else -%}
|
49
|
+
|
50
|
+
<svg version="1.1" width="20" height="20" viewBox="0 0 20 20">
|
51
|
+
<circle cx="10" cy="10" r="9"/>
|
52
|
+
</svg>
|
53
|
+
|
54
|
+
{%- endif -%}
|
55
|
+
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</li>
|
59
|
+
|
60
|
+
{%- endif -%}
|
61
|
+
|
62
|
+
{%- endfor -%}
|
63
|
+
|
64
|
+
</ol>
|
65
|
+
|
66
|
+
</div>
|
67
|
+
|
68
|
+
{%- endif -%}
|