futuro 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/artwork/animal/flob.html +2 -0
  3. data/_includes/artwork/animal/flob.scss +5 -0
  4. data/_includes/artwork/animal/waldo.html +2 -0
  5. data/_includes/artwork/animal/waldo.scss +45 -0
  6. data/_includes/artwork/orwell/animal/flob.html +2 -0
  7. data/_includes/artwork/orwell/animal/flob.scss +5 -0
  8. data/_includes/artwork/orwell/animal/waldo.html +2 -0
  9. data/_includes/artwork/orwell/animal/waldo.scss +45 -0
  10. data/_includes/html/filter/loop.liquid +31 -0
  11. data/_includes/html/filter/type.liquid +31 -0
  12. data/_includes/html/head.liquid +3 -3
  13. data/_includes/html/loop/artwork/book.liquid +28 -0
  14. data/_includes/html/loop/artwork/docs.liquid +38 -0
  15. data/_includes/html/loop/search.liquid +16 -0
  16. data/_includes/html/overlay/about.liquid +5 -0
  17. data/_includes/html/overlay/browse.liquid +138 -0
  18. data/_includes/html/overlay/search.liquid +4 -4
  19. data/_includes/html/page/artwork.liquid +25 -0
  20. data/_includes/html/page/header.liquid +16 -0
  21. data/_includes/html/page/info.liquid +29 -0
  22. data/_includes/html/page/layout/chapter.liquid +32 -0
  23. data/_includes/html/page/layout/custom.liquid +19 -0
  24. data/_includes/html/page/layout/home.liquid +27 -0
  25. data/_includes/html/page/layout/page.liquid +45 -0
  26. data/_includes/html/page/layout/panel.liquid +14 -0
  27. data/_includes/html/page/layout/tree.liquid +14 -0
  28. data/_includes/html/page/subtitle.liquid +6 -0
  29. data/_includes/html/page/title.liquid +41 -0
  30. data/_includes/html/page/topbar.liquid +38 -0
  31. data/_includes/html/page/util.liquid +20 -0
  32. data/_includes/html/page/utils/author.liquid +5 -0
  33. data/_includes/html/page/utils/share.liquid +18 -0
  34. data/_includes/html/page/utils/update.liquid +5 -0
  35. data/_includes/html/scripts.liquid +2 -0
  36. data/_includes/svg/orwell/animal/icon.svg +8 -0
  37. data/_includes/svg/site/book/orwell.svg +1 -0
  38. data/_includes/svg/site/book/woolf.svg +1 -0
  39. data/_includes/svg/site/btn/about.svg +1 -0
  40. data/_includes/svg/site/btn/add.svg +11 -0
  41. data/_includes/svg/site/btn/author.svg +9 -0
  42. data/_includes/svg/site/btn/browse.svg +1 -0
  43. data/_includes/svg/site/btn/cart.svg +1 -0
  44. data/_includes/svg/site/btn/expand.svg +1 -0
  45. data/_includes/svg/site/btn/search.svg +1 -0
  46. data/_includes/svg/site/btn/share/chapter.svg +1 -0
  47. data/_includes/svg/site/btn/share/page.svg +1 -0
  48. data/_includes/svg/site/btn/update.svg +15 -0
  49. data/_layouts/feed.html +63 -0
  50. data/_layouts/mini.html +10 -0
  51. data/_layouts/single.html +55 -0
  52. data/_sass/_area.scss +35 -13
  53. data/_sass/_artwork.scss +59 -0
  54. data/_sass/_base.scss +38 -11
  55. data/_sass/_block.scss +162 -0
  56. data/_sass/_col.scss +31 -0
  57. data/_sass/_copy.scss +10 -0
  58. data/_sass/_exit.scss +1 -2
  59. data/_sass/_helpers.scss +15 -9
  60. data/_sass/_lnk.scss +39 -0
  61. data/_sass/_nav.scss +36 -0
  62. data/_sass/_normalize.scss +349 -0
  63. data/_sass/_overlay.scss +1 -2
  64. data/_sass/_slick.scss +125 -0
  65. data/_sass/_split.scss +15 -0
  66. data/_sass/_title.scss +27 -16
  67. data/_sass/_wrap.scss +17 -22
  68. data/_sass/futuro.scss +55 -0
  69. data/assets/img/fallback.jpg +0 -0
  70. data/assets/img/search.svg +1 -0
  71. data/assets/js/custom/_CheckWidth.js +21 -0
  72. data/assets/js/custom/_OpenOverlay.js +87 -0
  73. data/assets/js/custom/_ScrollFunc.js +42 -0
  74. data/assets/js/custom/_SetupHome.js +23 -0
  75. data/assets/js/custom/_SiteFunc.js +13 -0
  76. data/assets/js/custom/_SmoothScroll.js +42 -0
  77. data/assets/js/custom/_SplitCode.js +33 -0
  78. data/assets/js/custom/_StartBrowse.js +82 -0
  79. data/assets/js/custom/_UtilShare.js +33 -0
  80. data/assets/js/custom/_let.js +20 -0
  81. data/assets/js/footer.min.js +1 -1
  82. data/assets/js/vendor/footer/gsap-draw.js +13 -0
  83. data/assets/js/vendor/footer/gsap-morph.js +13 -0
  84. data/assets/js/vendor/footer/gsap-text.js +12 -0
  85. data/assets/js/vendor/footer/jquery.min.js +5 -0
  86. data/assets/js/vendor/footer/scrollmagic-gsap.js +310 -0
  87. data/assets/js/vendor/footer/scrollmagic.js +3 -0
  88. data/assets/js/vendor/footer/slick.js +18 -0
  89. data/assets/js/vendor/footer/tweenmax.min.js +17 -0
  90. data/assets/js/vendor/header/enquire.custom.js +15 -0
  91. data/assets/js/vendor/header/enquire.min.js +7 -0
  92. data/assets/js/vendor/header/modernizr.min.js +3 -0
  93. data/assets/js/vendor/header/simple-jekyll-search.js +6 -0
  94. metadata +83 -3
  95. data/_layouts/demo.html +0 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce60c70fae89348e5de352d563eab7b02798a46572ce6a621b7e7dfa00673d79
4
- data.tar.gz: eb06b722abc7e69b1c1792609a29e808430721232e27479838a554e3b19af844
3
+ metadata.gz: 8b84f5743ce30694e63c659c7f5050b81fafe18a3748a3971178857b431dad95
4
+ data.tar.gz: 424206c6f4f96727df29b92cebb26d34eb01fddd999a7a72a10e308b0bd969ef
5
5
  SHA512:
6
- metadata.gz: 396e7f94e7efd54bc8f2aeb52f3d486b67631c3eb967b20e8bc06b3f45f62b9ae62123262c2c66cd0313bbb6730ec755588b51736ada1e108632140238ac4731
7
- data.tar.gz: 700a08f639c80ebdcc527fa03ed385eb16869e51f477feb34297d66832dd3fd5b1e71df673fb0f1d413fb32c59db188816ff515fca85f0d63c394c0f41a60402
6
+ metadata.gz: f1dfc43727cf3a816001303e24ca3db598e0871f8ecf40e0f5115c47646a967fc5ad8650b76e0fa9013e70bc4fb6c98b56d73a58fe8b15b8c72b15332884d774
7
+ data.tar.gz: 81b092240aa2263ecce56caa77d6859d3098e246c6b975ce8ec71a35a5fab021162ee8b229c93a04f2b113ba51694892180c0e4a4c9f6075e1b905c977de28a1
@@ -0,0 +1,2 @@
1
+
2
+ <div class="thingo"></div>
@@ -0,0 +1,5 @@
1
+
2
+ .thingo {
3
+ background-color: red;
4
+ min-height: 2rem;
5
+ }
@@ -0,0 +1,2 @@
1
+
2
+ <div class="dingo"></div>
@@ -0,0 +1,45 @@
1
+ .tag {
2
+ &-buttons {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ align-items: center;
6
+ font-size: 11px;
7
+
8
+ span:not(.hidden) {
9
+ display: inline-block;
10
+ color: #767676;
11
+ }
12
+
13
+ .tag-buttons__title {
14
+ padding-right: 0.5em;
15
+ }
16
+ }
17
+
18
+ &-button {
19
+ @extend %bold;
20
+ letter-spacing: normal;
21
+ display: inline-block;
22
+ max-width: 30ch;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ transition: all 0.1s;
27
+ border: 1px solid #767676;
28
+ border-radius: 11.5px;
29
+ text-decoration: none;
30
+ text-transform: uppercase;
31
+ padding: 5px 10px;
32
+ margin: 0.25em 0.5em 0.25em 0;
33
+
34
+ &:hover {
35
+ border-color: black;
36
+ color: black;
37
+ }
38
+
39
+ @media (min-width: 768px) {
40
+ font-size: 11px;
41
+ line-height: 13px;
42
+ border-radius: 12.5px;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,2 @@
1
+
2
+ <div class="thingo"></div>
@@ -0,0 +1,5 @@
1
+
2
+ .thingo {
3
+ background-color: red;
4
+ min-height: 2rem;
5
+ }
@@ -0,0 +1,2 @@
1
+
2
+ <div class="dingo"></div>
@@ -0,0 +1,45 @@
1
+ .tag {
2
+ &-buttons {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ align-items: center;
6
+ font-size: 11px;
7
+
8
+ span:not(.hidden) {
9
+ display: inline-block;
10
+ color: #767676;
11
+ }
12
+
13
+ .tag-buttons__title {
14
+ padding-right: 0.5em;
15
+ }
16
+ }
17
+
18
+ &-button {
19
+ @extend %bold;
20
+ letter-spacing: normal;
21
+ display: inline-block;
22
+ max-width: 30ch;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ white-space: nowrap;
26
+ transition: all 0.1s;
27
+ border: 1px solid #767676;
28
+ border-radius: 11.5px;
29
+ text-decoration: none;
30
+ text-transform: uppercase;
31
+ padding: 5px 10px;
32
+ margin: 0.25em 0.5em 0.25em 0;
33
+
34
+ &:hover {
35
+ border-color: black;
36
+ color: black;
37
+ }
38
+
39
+ @media (min-width: 768px) {
40
+ font-size: 11px;
41
+ line-height: 13px;
42
+ border-radius: 12.5px;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,31 @@
1
+
2
+ {% if include.type == 'chapter' %}
3
+
4
+ {% for page in loop %}
5
+ {% unless page.topic or
6
+ page.type == 'chapter' %}
7
+ {% include html/filter/type.liquid %}
8
+ {% endunless %}
9
+ {% endfor %}
10
+
11
+ {% elsif include.type == 'topic' %}
12
+
13
+ {% assign match = page.chapter %}
14
+
15
+ {% for page in loop %}
16
+ {% if page.topic %}
17
+ {%- if page.chapter == match -%}
18
+ {% include html/filter/type.liquid %}
19
+ {%- endif -%}
20
+ {% endif %}
21
+ {% endfor %}
22
+
23
+ {% else %}
24
+
25
+ {% for page in loop %}
26
+ {% unless page.topic %}
27
+ {% include html/filter/type.liquid %}
28
+ {% endunless %}
29
+ {% endfor %}
30
+
31
+ {% endif %}
@@ -0,0 +1,31 @@
1
+
2
+ {% unless page.type == 'book' or
3
+ page.type == 'topic' %}
4
+
5
+ {% assign split = page.type | prepend: 'split-' %}
6
+
7
+ {% if page.type == 'home' %}
8
+ {% include html/page/layout/home.liquid %}
9
+
10
+ {% elsif page.type == 'page' %}
11
+
12
+ {%- if page.tag contains 'tree' -%}
13
+ {% include html/page/layout/tree.liquid %}
14
+
15
+ {%- elsif page.tag contains 'panel' -%}
16
+ {% include html/page/layout/panel.liquid %}
17
+
18
+ {%- elsif page.tag contains 'custom' -%}
19
+ {% include html/page/layout/custom.liquid %}
20
+
21
+ {%- else -%}
22
+ {% include html/page/layout/page.liquid %}
23
+
24
+ {%- endif -%}
25
+
26
+ {%- elsif page.type == 'chapter' -%}
27
+ {% include html/page/layout/chapter.liquid %}
28
+
29
+ {% endif %}
30
+
31
+ {% endunless %}
@@ -3,10 +3,10 @@
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/img/favicon.png?v=1574868166224" | relative_url }}">
6
+ <link rel="icon" href="{{ "/assets/img/favicon.png?v=1578144645573" | relative_url }}">
7
7
  {% seo %}
8
8
  {% feed_meta %}
9
- <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1574868166224" | relative_url }}">
9
+ <link rel="stylesheet" href="{{ "/assets/css/styles.css?v=1578144645573" | relative_url }}">
10
10
  {% include html/analytics.liquid %}
11
- <script src="{{ "/assets/js/header.min.js?v=1574868166224" | relative_url }}"></script>
11
+ <script src="{{ "/assets/js/header.min.js?v=1578144645573" | relative_url }}"></script>
12
12
  </head>
@@ -0,0 +1,28 @@
1
+
2
+ {% for thing in loop %}
3
+
4
+ {% if thing.html %}
5
+
6
+ {% include {{ artwork }} %}
7
+
8
+ {% elsif thing.liq %}
9
+
10
+ {% include {{ artwork | replace: '.html','.liquid' }} %}
11
+
12
+ {% elsif thing.svg %}
13
+
14
+ {% include {{ artwork | replace: '.html','.svg' }} %}
15
+
16
+ {% elsif thing.img %}
17
+
18
+ <img src="{{ img | replace: '.html','.jpg' }}" alt="{{ title }}" style="width: 100%; height: auto;">
19
+
20
+ {% elsif thing.vid %}
21
+
22
+ <video autoplay playsinline muted loop poster="{{ img | replace: '.html','.jpg' }}">
23
+ <source id="mp4" src="{{ vid | replace: '.html','.mp4' }}" type="video/mp4">
24
+ </video>
25
+
26
+ {% endif %}
27
+
28
+ {% endfor %}
@@ -0,0 +1,38 @@
1
+
2
+ <div class="code-wrap">
3
+
4
+ {% for thing in loop %}
5
+
6
+ {% if thing.html %}
7
+
8
+ <div class="code-html">
9
+ {% include {{ artwork }} %}
10
+ </div>
11
+
12
+ {% elsif thing.scss %}
13
+
14
+ <div class="code-scss">
15
+ {% include {{ artwork | replace: '.html','.scss' }} %}
16
+ </div>
17
+
18
+ {% endif %}
19
+
20
+ {% endfor %}
21
+
22
+ </div>
23
+
24
+ <div class="output-html">
25
+
26
+ {% for thing in loop %}
27
+
28
+ {% if thing.html %}
29
+
30
+ <div class="code-html">
31
+ {% include {{ artwork }} %}
32
+ </div>
33
+
34
+ {% endif %}
35
+
36
+ {% endfor %}
37
+
38
+ </div>
@@ -0,0 +1,16 @@
1
+
2
+ {% for page in loop %}
3
+
4
+ {% assign book = page.collection %}
5
+ {% assign chapter = page.chapter | downcase | replace: ' ','-' %}
6
+ {% assign title = page.title %}
7
+ {% assign url = page.url | replace: '.html','' | replace: '/index','' | slice: 1,999 %}
8
+
9
+ {
10
+ "book" : "{{ book }}",
11
+ "chapter" : "{{ chapter }}",
12
+ "title" : "{{ title }}",
13
+ "url" : "{{ url }}"
14
+ },
15
+
16
+ {% endfor %}
@@ -0,0 +1,5 @@
1
+
2
+ <h4 class="title _overlay-about">About</h4>
3
+ <p>These guidelines have been created by the Barbican Studio, which is the in-house design team at the Barbican Centre, London. The Studio creates most of the visual material for the Centre. It is based in the Marketing Department and consists of four permanent designers.</p>
4
+ <p>The current structure of the design team was created in 2011 and coincides with a major rebranding project undertaken by North. The philosophy of the team is based on the visual guidelines North created at the time. These set out a flexible system influenced by the Centre’s vision of ‘arts without boundaries’ and includes strong visual elements that allow freedom and diversity.</p>
5
+ <p>For further information contact <a class="lnk" href="mailto:design@barbican.org.uk?subject=Branding enquiry">design@barbican.org.uk</a></p>
@@ -0,0 +1,138 @@
1
+
2
+ <h4 class="title _overlay-browse">Browse</h4>
3
+
4
+ <div class="block _browse {{ site.setup | prepend: 'setup-' }}">
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>
137
+
138
+ </div>
@@ -3,7 +3,7 @@
3
3
  <input class="input _text --search" type="text" placeholder="Search">
4
4
  </div>
5
5
 
6
- <ul class="block _results"></ul>
6
+ <div class="block _results"></div>
7
7
 
8
8
  <script>
9
9
  window.simpleJekyllSearch = new SimpleJekyllSearch({
@@ -11,7 +11,7 @@
11
11
  resultsContainer: document.querySelector('.block._results'),
12
12
  json: '/search.json',
13
13
  searchResultTemplate:
14
- '<a href="/{url}" class="block _results-entry --{book}">
14
+ '<a href="/{url}" class="block _results-entry book-{book} chapter-{chapter}">
15
15
  <h1>{title}</h1>
16
16
  <div class="block _results-info">
17
17
  <div class="block _results-dot"></div>
@@ -19,9 +19,9 @@
19
19
  </div>
20
20
  </a>',
21
21
  noResultsText:
22
- '<li class="block _results-entry --none">
22
+ '<div class="block _results-entry --none">
23
23
  <h1>No results found</h1>
24
- </li>',
24
+ </div>',
25
25
  fuzzy: true,
26
26
  limit: 5
27
27
  });
@@ -0,0 +1,25 @@
1
+
2
+ {% assign loop = page.artwork %}
3
+ {% assign setup = site.setup | prepend: 'setup-' %}
4
+ {% assign book = page.collection %}
5
+ {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
6
+ {% assign chapChap = chapter | prepend: 'chapter-' %}
7
+ {% assign title = page.title | replace: ' ','-' | downcase %}
8
+ {% assign titlTitl = title | prepend: 'title-' %}
9
+ {% assign artwork = page.url | prepend: '/artwork' %}
10
+ {% assign img = page.url | prepend: '/assets/img' %}
11
+ {% assign vid = page.url | prepend: '/assets/vid' %}
12
+
13
+ <div class="area _page-artwork {{ setup }} {{ chapChap }} {{ titlTitl }}">
14
+
15
+ {%- unless site.setup == 'docs' -%}
16
+
17
+ {%- include html/loop/artwork/book.liquid -%}
18
+
19
+ {%- else -%}
20
+
21
+ {%- include html/loop/artwork/docs.liquid -%}
22
+
23
+ {%- endunless -%}
24
+
25
+ </div>
@@ -0,0 +1,16 @@
1
+
2
+ {% assign type = page.type | prepend: ' type-' %}
3
+ {% assign book = page.collection | prepend: ' book-' %}
4
+ {% assign setup = site.setup | replace: ' ','-' | prepend: ' setup-' | downcase %}
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
+
10
+ <div class="wrap{{ type }}{{ setup }}{% if page.collection %}{{ book }}{% endif %}{% if page.chapter %}{{ chapter }}{% endif %}{% if page.topic %}{{ topic }}{% endif %}{{ title }}">
11
+ <div class="stop" id="{% if page.chapter %}{{ page.chapter | replace: ' ','-' | downcase | append: '-' }}{% endif %}{{ page.title | replace: ' ','-' | downcase }}"></div>
12
+ {% if page.type == 'chapter' %}
13
+ <div class="area{{ type }}{{ setup }}{{ book }}{{ chapter }}">
14
+ {% else %}
15
+ <div class="area{{ type }}{{ setup }}{% if page.tag %}{{ tag }}{% endif %}">
16
+ {% endif %}
@@ -0,0 +1,29 @@
1
+
2
+ {% assign info = page.type | prepend: '_' | append: '-info' %}
3
+ {% assign chap = page.type | prepend: '_' | append: '-chapter' %}
4
+ {% assign weight = page.type | prepend: '_' | append: '-weight' %}
5
+ {% assign chapter = page.chapter | replace: ' ','-' | downcase %}
6
+ {% assign bPath = page.collection | prepend: '/svg/' %}
7
+ {% assign cPath = chapter | append: '/icon.svg' %}
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 }}">
14
+ {{ cDivs }}
15
+ </h5>
16
+
17
+ {%- if page.icon -%}
18
+
19
+ <div class="block _page-icon {{ chapter | prepend: '--'}}">
20
+ {% include {{ bPath }}/{{ cPath }} %}
21
+ </div>
22
+
23
+ {%- endif -%}
24
+
25
+ <h5 class="title {{ weight }}">
26
+ {{ page.weight | slice: 0,5 }}
27
+ </h5>
28
+
29
+ </div>
@@ -0,0 +1,32 @@
1
+
2
+ {%- if site.setup == 'docs' -%}
3
+
4
+ {% include html/page/header.liquid %}
5
+ {% include html/page/title.liquid %}
6
+ </div>
7
+ </div>
8
+
9
+ {%- else -%}
10
+
11
+ {% include html/page/header.liquid %}
12
+
13
+ <div class="{{ split }} --left">
14
+ {% include html/page/title.liquid %}
15
+ </div>
16
+
17
+ <div class="{{ split }} --right">
18
+
19
+ <h2>
20
+ {{ page.weight | slice: 0,3 }}
21
+ </h2>
22
+
23
+ {{ page.content | markdownify }}
24
+
25
+ {% include html/page/util.liquid %}
26
+
27
+ </div>
28
+
29
+ </div>
30
+ </div>
31
+
32
+ {%- endif -%}
@@ -0,0 +1,19 @@
1
+
2
+ {% include html/page/header.liquid %}
3
+
4
+ <div class="{{ page.type | prepend: 'split-' }} --left">
5
+
6
+ {% include html/page/title.liquid %}
7
+ {% include html/page/subtitle.liquid %}
8
+ {{ page.content | markdownify }}
9
+ {% include html/page/artwork.liquid %}
10
+
11
+ </div>
12
+
13
+ <div class="{{ page.type | prepend: 'split-' }} --right">
14
+
15
+ {% include html/page/info.liquid %}
16
+
17
+ </div>
18
+ </div>
19
+ </div>
@@ -0,0 +1,27 @@
1
+
2
+ {% assign loop = site.collections | sort: 'weight' %}
3
+
4
+ <div class="wrap _home">
5
+ {% for book in loop %}
6
+ {% assign title = book.label %}
7
+
8
+ {% if book.live == true %}
9
+ <div class="area _book">
10
+ <div class="wrap _book">
11
+ <a class="lnk _book{{ title | prepend: ' --' }}" href="{{ title | prepend: '/' | append: '/' }}">
12
+ {% include {{ title | prepend: '/svg/site/book/' | append: '.svg' }} %}
13
+ </a>
14
+ </div>
15
+ </div>
16
+ {% elsif book.live == false %}
17
+ <div class="area _book">
18
+ <div class="wrap _book">
19
+ <div class="lnk _book --draft">
20
+ {% include {{ title | prepend: '/svg/site/book/' | append: '.svg' }} %}
21
+ </div>
22
+ </div>
23
+ </div>
24
+ {% endif %}
25
+
26
+ {% endfor %}
27
+ </div>
@@ -0,0 +1,45 @@
1
+
2
+ {% include html/page/header.liquid %}
3
+
4
+ {%- if site.setup == 'docs' -%}
5
+
6
+ <div class="block _expand-title {{ page.collection | prepend: 'book-' }}">
7
+
8
+ {% include html/page/title.liquid %}
9
+
10
+ </div>
11
+
12
+ {% include html/page/artwork.liquid %}
13
+
14
+ {% else %}
15
+
16
+ <div class="{{ split }} --left">
17
+
18
+ {% include html/page/title.liquid %}
19
+
20
+ <div class="block _page-content">
21
+
22
+ {% include html/page/subtitle.liquid %}
23
+
24
+ {{ page.content | markdownify }}
25
+
26
+ {%- unless page.error -%}
27
+ {% include html/page/util.liquid %}
28
+ {%- endunless -%}
29
+
30
+ </div>
31
+
32
+ </div>
33
+
34
+ <div class="{{ split }} --right">
35
+
36
+ {% include html/page/artwork.liquid %}
37
+
38
+ {% include html/page/info.liquid %}
39
+
40
+ </div>
41
+
42
+ {%- endif -%}
43
+
44
+ </div>
45
+ </div>