slow-steps 0.1.11 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -0
  3. data/README.md +35 -37
  4. data/_config.yml +1 -1
  5. data/_includes/footer/footer_full.html +15 -3
  6. data/_includes/functions/calc-svg-coord.html +18 -23
  7. data/_includes/functions/pull_page_args.html +3 -3
  8. data/_includes/head/head.html +9 -30
  9. data/_includes/head/stylesheets.html +20 -0
  10. data/_includes/image-post.html +12 -0
  11. data/_includes/image.html +50 -5
  12. data/_includes/navigation/global.html +47 -53
  13. data/_includes/scripts.html +9 -8
  14. data/_includes/vimeoPlayer.html +9 -10
  15. data/_layouts/about.html +17 -3
  16. data/_layouts/careers.html +22 -0
  17. data/_layouts/contact.html +1 -1
  18. data/_layouts/env/clinician.html +12 -29
  19. data/_layouts/env/pwp.html +13 -54
  20. data/_layouts/faq.html +12 -3
  21. data/_layouts/feed.html +1 -2
  22. data/_layouts/full-width.html +25 -2
  23. data/_sass/_colors/README.md +27 -0
  24. data/_sass/_colors/_clinician.sass +7 -0
  25. data/_sass/_colors/_mixins.sass +14 -0
  26. data/_sass/_colors/_pwp.sass +6 -0
  27. data/_sass/{colors → _colors}/_variables.sass +8 -17
  28. data/_sass/_colors/collection.sass +3 -0
  29. data/_sass/_mixins.sass +14 -5
  30. data/_sass/about.sass +46 -4
  31. data/_sass/breakpoints/about.sass +28 -4
  32. data/_sass/collage.sass +129 -0
  33. data/_sass/contact.sass +11 -42
  34. data/_sass/env/landing.sass +7 -7
  35. data/_sass/faq.sass +28 -3
  36. data/_sass/feed.sass +17 -5
  37. data/_sass/footer.sass +1 -1
  38. data/_sass/footer_full.sass +23 -13
  39. data/_sass/forms/mc-forms.sass +3 -3
  40. data/_sass/global.sass +40 -35
  41. data/_sass/navigation/README.md +35 -0
  42. data/_sass/navigation/_variables.sass +5 -6
  43. data/_sass/navigation/{global.sass → base.sass} +21 -20
  44. data/_sass/navigation/breakpoints/1024.sass +33 -15
  45. data/_sass/navigation/burger.sass +9 -3
  46. data/_sass/navigation/clinician.sass +31 -0
  47. data/_sass/navigation/collection.sass +9 -0
  48. data/_sass/navigation/colors.sass +8 -0
  49. data/_sass/navigation/no-nav.sass +32 -0
  50. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  51. data/_sass/post.sass +2 -7
  52. data/_sass/typography/_variables.sass +4 -0
  53. data/assets/css/env/gaitq_clinician.sass +26 -8
  54. data/assets/css/env/gaitq_landing.sass +21 -3
  55. data/assets/css/env/gaitq_pwp.sass +28 -8
  56. data/assets/css/gaitq_errors.sass +9 -3
  57. data/assets/css/gaitq_post.sass +5 -5
  58. data/assets/images/augmented_image.png +0 -0
  59. metadata +23 -31
  60. data/_includes/.DS_Store +0 -0
  61. data/_includes/head/.DS_Store +0 -0
  62. data/_includes/head/env/conditional.html +0 -2
  63. data/_sass/colors/breakpoints/1024.sass +0 -20
  64. data/_sass/colors/burger.sass +0 -22
  65. data/_sass/colors/env/_clinician.sass +0 -16
  66. data/_sass/colors/env/_pwp.sass +0 -16
  67. data/_sass/colors/global.sass +0 -2
  68. data/_sass/colors/navigation.sass +0 -13
  69. data/_sass/navigation/env/clinician.sass +0 -38
  70. data/_sass/navigation/env/landing.sass +0 -19
  71. data/assets/css/gaitq_about.sass +0 -22
  72. data/assets/css/gaitq_feed.sass +0 -12
  73. data/assets/css/gaitq_global.sass +0 -34
  74. data/assets/fonts/.DS_Store +0 -0
  75. data/assets/fonts/Quicksand/OFL.txt +0 -93
  76. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  77. data/assets/fonts/Quicksand/README.txt +0 -67
  78. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  79. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  80. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  81. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  82. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  83. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5221f077e12c5832eab33a312f51422a160857b6a737bdbe83b6f456f6055e8
4
- data.tar.gz: 93666e548893b8e7924368f197304b9bd6c3b143219177513cb7e1d6ab3330b6
3
+ metadata.gz: d9d1c88ec0b493bea3723570d98ef400e5d009e0e3b410909808c6b35e17e845
4
+ data.tar.gz: 978803f523fdbc4efc9b2acbd6e6f3f8f0e9922fc2968aa2284ec701496a71b0
5
5
  SHA512:
6
- metadata.gz: c103bda5ff2d2f0cdbb02a82bff1100da7d1cc64351a35b6d9132f516bc2bc3cf5a3605460bb675c433fdd70aa8c44bcdf0b37cbbf64ec4054b920b43238103d
7
- data.tar.gz: 03a69ac4ab04684b74376a951f8f8d5d8ea8f5405a36513773af1c1d0813423f2ad4aedf5c974953dfc245f69c4a9260341c22e6f841166ed4d07630b52d3f59
6
+ metadata.gz: '028f491628453ae0c41ae8d4edc2a9657c0dc84adac901d32ef3868ff40d7df593cf5fd65d5dc1137b32964eae1f208962b49cd0fc0e6c58cfed934b9b1f554b'
7
+ data.tar.gz: b4a15f9e3cc37c5a52522460f95098b6edf54858184113a3c1dcffd1c81fa42643a909094a8bb08e544acb827975b5daba41ab7c3d917a463dbed7f56776e5fa
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Made Slowly and contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,55 +1,53 @@
1
1
  ---
2
2
  ---
3
- # Slow Steps, a Jekyll theme
3
+ # [Slow Steps, a Jekyll theme](https://www.gaitq.madeslowly.xyz/clinician/about/)
4
4
 
5
- A jekyll theme built for GaitQ
5
+ [![Ruby gem](https://badge.fury.io/rb/slow-steps.svg)](https://badge.fury.io/rb/slow-steps)
6
+
7
+ [![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/madeslowly/slow-steps/blob/master/LICENSE)
8
+
9
+ [![Jekyll](https://img.shields.io/badge/jekyll-%3E%3D%203.7-blue.svg)](https://jekyllrb.com/)
10
+
11
+ A bold jekyll theme built for gaitQ. Designed to have two distinct styling, depending on current URL.
6
12
 
7
13
  ## Jekyll Theme Scaffolding
8
14
 
9
- How this repo is organised and what the various files are. All posts, layouts, includes, stylesheets, assets, and whatever else is grouped nicely under the root folder. The compiled Jekyll site outputs to `_site/`, which is never pushed to this repo, see https://www.gaitq.madeslowly.xyz/. General flow starts with a `.md` file in our root. With Front Matter, we declare our layout which points to a structural `.html` file in `_layouts`. From here, the layout file can call in data from our `_config.yml` with `{{ site.variable }}` and from any of our `YAML` files in `_data/file.yml` with `{{ site.data.file.variable }}`. The layout can also pull in other structural html snippets from `_includes` with `{% raw %}{% include relative/path/file.html %}{% endraw %}`.
15
+ How this repo is organised and what the various files are. All posts, layouts, includes, stylesheets, assets, and whatever else is grouped under the root folder. The compiled Jekyll site outputs to `_site/`, which is never pushed to this repo, see https://www.gaitq.madeslowly.xyz/. General flow starts with a `.md` file in our root. With Front Matter, we declare our layout which points to a structural `.html` file in `_layouts`. From here, the layout file can call in data from our `_config.yml` with `{{ site.variable }}` and from any of our `YAML` files in `_data/file.yml` with `{{ site.data.file.variable }}`. The layout can also pull in other structural html snippets from `_includes` with `{% raw %}{% include relative/path/file.html %}{% endraw %}`.
10
16
 
11
17
  It is worth noting that _include files can also perform the tasks just described. So, for example, when the `deafult.html` layout is executed (the penultimate step for *all* `.md` files), the `head.html` snippet is called, which in turn calls `og-meta.html`. Based on our sites settings and any relevant Front Matter belonging to the calling file, `og-meta.html` compiles all our `og:meta` tags and passes them to `head.html` which after adding further code, passes on to our default layout where it is placed at the top of our webpages `html`.
12
18
 
13
19
  ```
14
20
  https://github.com/madeslowly/slow-steps/
15
21
  |
16
- ├─ _config.yml/ # Jekyll build settings and data, site.variable
22
+ ├─ _config.yml/ # Website settings
17
23
  |
18
- ├─ _data/ # Site wide data, site.data.variable
24
+ ├─ _data/ # Site data
19
25
  | | |
20
- | | ├─ forms/ # inputs for MailChimp forms, picked up by _includes/forms/
26
+ | | ├─ forms/ # Inputs for MailChimp forms
21
27
  | |
22
- | ├─ copy.yml # Website copy picked up with {{ site.data.copy.copy.variable }}
28
+ | ├─ copy.yml # Website copy
23
29
  | |
24
- | ├─ menu.yml # Menu structure for GaitQ.com
30
+ | ├─ menu.yml # Menu structure
25
31
  |
26
32
  ├─ _includes/ # HTML and Liquid templating
27
33
  | |
28
34
  | ├─ branding/ # Site branding SVGs
29
35
  | | |
30
- | | ├─ site__logo.svg # Site wide logo with CSS classes, see front matter comments for class details.
31
- | |
32
- | ├─ errors/ # Error page SVGs
33
- | | |
34
- | | ├─ robot-403.svg # 403 - Forbidden
35
- | | |
36
- | | ├─ robot-404.svg # 404 - Not Found
37
- | | |
38
- | | ├─ robot-405.svg # 405 - Method Not Allowed
36
+ | | ├─ site__logo.svg # Site wide logo
39
37
  | |
40
38
  | ├─ footer/ # Site wide footers
41
39
  | | |
42
- | | ├─ footer_full.html # Multi div footer with sitemaps and contact etc
40
+ | | ├─ footer_full.html # Multi col footer
43
41
  | | |
44
- | | ├─ footer.html # Simple single div footer with legal links and copyright
42
+ | | ├─ footer.html # Simple footer
45
43
  | |
46
- | ├─ forms/ # MailChimp scaffolding, pulls data from _data/forms/
44
+ | ├─ forms/ # Form scaffolding
47
45
  | | |
48
- | | ├─ mc-register.html # Registration form, data from _data/forms/register
46
+ | | ├─ mc-register.html # MailChimp registration form
49
47
  | |
50
- | ├─ head/ # Header partials, everything inside our <html> tags comes from here.
48
+ | ├─ head/ # Header partials
51
49
  | | |
52
- | | ├─ descriptor/ # Site wide descriptors, basically this is where much of our SEO occurs.
50
+ | | ├─ descriptor/ # Site wide descriptors
53
51
  | | | |
54
52
  | | | ├─ og-meta.html
55
53
  | | | ├─ structured-data.html
@@ -59,7 +57,7 @@ https://github.com/madeslowly/slow-steps/
59
57
  | | | |
60
58
  | | | ├─ conditional.html # Page env: condition --> gaitq_env.css
61
59
  | | |
62
- | | ├─ head.html # Routine to collect header partials, page.env and page.layout dependencies. We also open <body> here.
60
+ | | ├─ head.html # Routine to collate header partials
63
61
  | |
64
62
  | ├─ navigation/ # HTML and Liquid templating
65
63
  | | |
@@ -69,7 +67,7 @@ https://github.com/madeslowly/slow-steps/
69
67
  |
70
68
  ├─ _layouts/ # HTML and Liquid templating
71
69
  | |
72
- | ├─ env/ # Environmental specific layouts, passed onto default.html after processing
70
+ | ├─ env/ # Environmental specific layouts
73
71
  | | |
74
72
  | | ├─ clinician.html # Professionals and press
75
73
  | | ├─ pwp.html # Patients and carers
@@ -77,9 +75,9 @@ https://github.com/madeslowly/slow-steps/
77
75
  | |
78
76
  | ├─ compress.html # Final step for all pages. Strips html comments, carriage returns and white space.
79
77
  | |
80
- | ├─ default.html # Wraps page content with header, nav and scripts. For all pages, also this is where Jekyll looks if no front matter defined. Passed onto compress.html after processing.
78
+ | ├─ default.html # Wraps page content with header, nav, scripts and footer.
81
79
  | |
82
- | ├─ error-page.html # Landing page. Passed onto default.html after processing.
80
+ | ├─ error-page.html # HTTP error pages
83
81
  |
84
82
  ├─ _plugins/ # Custom Ruby plugins
85
83
  | |
@@ -135,17 +133,17 @@ https://github.com/madeslowly/slow-steps/
135
133
 
136
134
  `_config.yml` is where most variables are set.
137
135
 
138
- #### title:
136
+ #### `title:`
139
137
 
140
138
  The global title of the website.
141
139
 
142
- #### subtitle:
140
+ #### `subtitle:`
143
141
 
144
142
  The global subtitle of the website.
145
143
 
146
144
  #### Page Titling
147
145
 
148
- Pages are given titles according to,
146
+ Each pages is given a title according to,
149
147
 
150
148
  ```Liquid
151
149
  {% if page.title %}
@@ -155,11 +153,11 @@ Pages are given titles according to,
155
153
  {% endif %}
156
154
  ```
157
155
 
158
- #### description:
156
+ #### `description:`
159
157
 
160
158
  Site wide description, used in head description, og:description, twitter:description and structured data. Overwritten by page front matter, `description:`
161
159
 
162
- #### url:
160
+ #### `url:`
163
161
 
164
162
  Used to generate absolute URLs for sitemaps, feeds and for generating canonical URLs in a page's `<head>`. When developing locally either comment this out or use something like `http://localhost:4000` so all assets load properly. *Don't include a trailing `/`*.
165
163
 
@@ -172,23 +170,23 @@ url: "http://www.gaitq.com"
172
170
  url: ""
173
171
  ```
174
172
 
175
- #### baseurl:
173
+ #### `baseurl:`
176
174
 
177
175
  Used when we are developing a partial.
178
176
 
179
- #### author:
177
+ #### `author:`
180
178
 
181
179
  Author of this Jekyll project. Content authors can be added to _data/authors.yml and assigned in a pages front matter.
182
180
 
183
- #### postal_add:
181
+ #### `postal_add:`
184
182
 
185
183
  Postal address of GaitQ Ltd. Used in structured data.
186
184
 
187
- #### opening_hours:
185
+ #### `opening_hours:`
188
186
 
189
187
  Used in structured data. This lets google know when we are open.
190
188
 
191
- #### logo
189
+ #### `logo:`
192
190
 
193
191
  Site wide logo, used as a default image for Twitter and Facebook. Can be over written by a pages front matter: `image:`.
194
192
 
@@ -42,7 +42,7 @@ sass:
42
42
 
43
43
  compress_html:
44
44
  ignore:
45
- envs: [local]
45
+ envs: all
46
46
  comments: all
47
47
 
48
48
  autoprefixer:
@@ -16,8 +16,20 @@
16
16
  {% for item in site.postal_add %}
17
17
  <li class="address">{{ item[1] }}</li>
18
18
  {% endfor %}
19
+ <li><a class="ft--link" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
19
20
  <li>{{ site.phone }}</li>
20
- <li>{{ site.email }}</li>
21
+
22
+ <ul class="social-media">
23
+
24
+ {% for social in site.socials %}
25
+ <li class="social-media-item">
26
+ <a href="{{ social.url }}">
27
+ <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
28
+ </li>
29
+ {% endfor %}
30
+
31
+ </ul>
32
+
21
33
  </ul>
22
34
 
23
35
  </div>
@@ -35,7 +47,7 @@
35
47
  <h4 class="ft__sitemap--env-header">{{ item.name }}</h4>
36
48
  <ul class="ft__sitemap--submenu">
37
49
  {% for sub in item.submenu %}
38
- <li><a href="{{ sub.url }}">{{ sub.alt }}</a></li>
50
+ <li><a class="ft--link" href="{{ sub.url }}">{{ sub.alt }}</a></li>
39
51
  {% endfor %}
40
52
  </ul>
41
53
  </div>
@@ -61,7 +73,7 @@
61
73
  <a href="{{ item.url }}">{{ item.name }}</a>
62
74
  {% endfor %}
63
75
  </div>
64
- <a href="{{ site.author.url }}" class="slogan">made slowly</a>
76
+ <a href="{{ site.author.url }}" class="slogan">Jekyll theme Slow Steps</a>
65
77
  </div>
66
78
 
67
79
  </footer>
@@ -1,33 +1,30 @@
1
1
  <!-- Take inputs from page front matter and calculate the coordinates of the svg elements -->
2
2
  {% assign image_handle = include.image_handle %}
3
3
 
4
- {% if page[image_handle].augment %}
4
+ <!-- get image dimensions -->
5
+ {%- assign imageX = page.images[image_handle].size | split: ', ' | first -%}
6
+ {%- assign imageY = page.images[image_handle].size | split: ', ' | last -%}
5
7
 
6
- <!-- get image dimensions -->
7
- {%- assign imageX = page[image_handle].augment.image | split: ', ' | first -%}
8
- {%- assign imageY = page[image_handle].augment.image | split: ', ' | last -%}
8
+ <!-- pre-assign arrays for circle centers and line ends -->
9
+ {% assign cX = '' | split: ',' %}
10
+ {% assign cY = '' | split: ',' %}
9
11
 
10
- <!-- pre-assign arrays for circle centers and line ends -->
11
- {% assign cX = '' | split: ',' %}
12
- {% assign cY = '' | split: ',' %}
12
+ <!-- loop over all the requested labels -->
13
+ {% for item in page.images[image_handle].labels %}
13
14
 
14
- <!-- loop over all the requested labels -->
15
- {% for item in page[image_handle].augment.labels %}
15
+ <!-- x(i) and y(i) -->
16
+ {% assign ix = item.coord | split: ', ' | first %}
17
+ {% assign iy = item.coord | split: ', ' | last %}
16
18
 
17
- <!-- x(i) and y(i) -->
18
- {% assign ix = item.coord | split: ', ' | first %}
19
- {% assign iy = item.coord | split: ', ' | last %}
19
+ <!-- calculate circle centers as percentage of image size -->
20
+ {% assign cx = ix | times: 100 | divided_by: imageX | append: ', ' %}
21
+ {% assign cy = iy | times: 100 | divided_by: imageY | append: ', ' %}
22
+ <!-- push into arrays -->
23
+ {% assign cX = cX | push: cx %}
24
+ {% assign cY = cY | push: cy %}
20
25
 
21
- <!-- calculate circle centers as percentage of image size -->
22
- {% assign cx = ix | times: 100 | divided_by: imageX | append: ', ' %}
23
- {% assign cy = iy | times: 100 | divided_by: imageY | append: ', ' %}
24
- <!-- push into arrays -->
25
- {% assign cX = cX | push: cx %}
26
- {% assign cY = cY | push: cy %}
26
+ {% endfor %}
27
27
 
28
- {% endfor %}
29
-
30
- {% endif %}
31
28
 
32
29
  <!--
33
30
  in: [imageX, imageY] pixels
@@ -35,6 +32,4 @@ in: [imageX, imageY] pixels
35
32
 
36
33
  out: cX = [cx_1, cx_2, ... , cx_n]
37
34
  cY = [cy_1, cy_2, ... , cy_n]
38
-
39
- X1 = [x1_1, x1_2, ... , x1_n]
40
35
  -->
@@ -5,12 +5,12 @@ function svg_aug_contained_image(){
5
5
 
6
6
  var x_i = document.getElementsByClassName("image--guarantee")[0].offsetWidth ;
7
7
  var y_i = document.getElementsByClassName("image--guarantee")[0].offsetHeight ;
8
- /* ge scg labels */
8
+ /* get svg labels */
9
9
  var svg = document.querySelectorAll('.svg__augment > .augment--guarantee');
10
10
 
11
11
  /* origanal image width in pixels */
12
- var x_0 = {{ page.guarantee.augment.image | split: ', ' | first }} ;
13
- var y_0 = {{ page.guarantee.augment.image | split: ', ' | last }} ;
12
+ var x_0 = {{ page.images.guarantee.size | split: ', ' | first }} ;
13
+ var y_0 = {{ page.images.guarantee.size | split: ', ' | last }} ;
14
14
 
15
15
  for (let i = 0; i < svg.length; i++) {
16
16
  /* origanal x position in pixels */
@@ -15,9 +15,7 @@
15
15
  {% endif %}
16
16
  </title>
17
17
 
18
- {% include head/descriptors/structured-data.html %}
19
-
20
- <!-- use local page descriptions if it exist -->
18
+ <!-- use page descriptions if it exist -->
21
19
  <meta name="description"
22
20
  content="
23
21
  {% if page.description %}
@@ -30,45 +28,26 @@
30
28
 
31
29
  <meta name="author" content="{{ site.author.name }}" />
32
30
 
33
- <meta name="copyright"
34
- content="
35
- Copyright {{ site.title }} {{ 'now' | date: "%Y" }}" />
31
+ {% assign date = 'now' | date: "%Y" %}
32
+ <meta name="copyright" content="Copyright {{ site.title | append: ' Ltd. ' | append: date }}" />
36
33
 
37
34
  <meta name="robots" content="follow" />
38
35
 
39
- {% include /head/descriptors/twitter-meta.html %}
40
-
41
- {% include /head/descriptors/og-meta.html %}
42
-
43
- <link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
36
+ <link rel="canonical" href="{{ page.url | absolute_url }}" />
44
37
 
45
38
  <link rel="preconnect" href="https://fonts.gstatic.com">
46
39
 
47
40
  <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap" rel="stylesheet">
48
41
 
49
- <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_global.css" media="screen" />
50
-
51
- {% if page.layout == 'error-page' %}
52
- <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_errors.css" media="screen" />
53
- {% endif %}
42
+ <link rel="shortcut icon" type="image/x-icon" href="{{ site.fallback_path | append: site.favicon | relative_url }}">
54
43
 
55
- {% if page.layout == 'feed' %}
56
- <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_feed.css" media="screen" />
57
- {% endif %}
58
-
59
- <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_post.css" media="screen" />
60
-
61
-
62
- {% if page.env %}
63
- {% include /head/env/conditional.html %}
64
- {% endif %}
44
+ {% include head/descriptors/structured-data.html %}
65
45
 
66
- <!-- Animate on scroll lib, js is in footer -->
67
- <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/vendor/aos/aos.css" media="none" onload="if(media!='all')media='all'" />
46
+ {% include /head/descriptors/twitter-meta.html %}
68
47
 
69
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css" media="none" onload="if(media!='all')media='all'" / >
48
+ {% include /head/descriptors/og-meta.html %}
70
49
 
71
- <link rel="shortcut icon" type="image/x-icon" href="{{ site.baseurl }}{{ site.fallback_path }}{{ site.favicon }}">
50
+ {% include /head/stylesheets.html %}
72
51
 
73
52
  {% if jekyll.environment == "production" %}
74
53
  {% include google-analytics.html %}
@@ -0,0 +1,20 @@
1
+ <!-- Animate on scroll, js is in footer -->
2
+ <link rel="stylesheet" type="text/css" href="{{ '/assets/vendor/aos/aos.css' | relative_url }}" media="none" onload="if(media!='all')media='all'" />
3
+
4
+ <!-- Font Awesome v5 -->
5
+ <link rel="stylesheet" href="{{ '/assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css' | relative_url }}" media="none" onload="if(media!='all')media='all'" / >
6
+
7
+ <!-- Slow Steps error pages -->
8
+ {% if page.layout == 'error-page' %}
9
+ <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_errors.css' | relative_url }}" media="screen" />
10
+ {% endif %}
11
+
12
+ <!-- Slow Steps post pages -->
13
+ <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_post.css' | relative_url }}" media="screen" />
14
+
15
+ {% if page.env %}
16
+ <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/env/gaitq_' | append: page.env | append: '.css' | relative_url }}" media="screen" />
17
+ {% endif %}
18
+
19
+ <!-- Slow Steps custom css -->
20
+ <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_custom.css' | relative_url }}" media="screen" />
@@ -0,0 +1,12 @@
1
+ <!--
2
+ insert an image located in assets/images/posts/ and wrap with .post__image div.
3
+ -->
4
+ <div class="post__image">
5
+
6
+ {% picture {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image" %}
7
+
8
+ {% if include.caption %}
9
+ <p class="image--caption">{{ include.caption }}</p>
10
+ {% endif %}
11
+
12
+ </div>
@@ -1,10 +1,55 @@
1
- <!-- include for post images to simplify the ux -->
1
+ <!--
2
+ insert an augmented image located in assets/images/content/
2
3
 
3
- <div class="post__image">
4
+ Usage:
4
5
 
5
- {% picture {{ include.link | prepend: 'posts/' }} --alt include.alt --img class="post__content--image" %}
6
+ <div class="wrapping-class" >
7
+ {% comment %}
8
+ {% include image.html
9
+ image="handle"
10
+ alt="Description"
11
+ class="image-class"
12
+ caption="Optional caption"
13
+ %}
14
+ {% endcomment %}
6
15
 
7
- {% if include.caption %}
8
- <p class="post__image--caption">{{ include.caption }}</p>
16
+ We close the wrapping div before the caption.
17
+
18
+ -->
19
+
20
+
21
+ {% capture path %}
22
+ {{ page.images[include.image].file | prepend: 'content/' }}
23
+ {% endcapture %}
24
+
25
+ {% picture {{ path }}
26
+ --img class="{{ include.class }}"
27
+ --alt {{ include.alt }} %}
28
+
29
+ {% if page.images[include.image].labels %}
30
+
31
+ {% include functions/calc-svg-coord.html image_handle=include.image %}
32
+
33
+ <svg class="svg__augment" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
34
+
35
+ {% for item in page.images[include.image].labels %}
36
+ <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
37
+
38
+ <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
39
+
40
+ <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
41
+
42
+ <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
43
+
44
+ </svg>
45
+ {% endfor %}
46
+
47
+ </svg>
9
48
  {% endif %}
49
+
50
+ <!-- closing warpping div -->
10
51
  </div>
52
+
53
+ {% if include.caption %}
54
+ <p class="image--caption">{{ include.caption }}</p>
55
+ {% endif %}