@paroicms/playground_demo2 0.58.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +22 -0
- package/package.json +6 -6
- package/site-schema.json +13 -13
- package/site-schema.l10n.en.json +6 -1
- package/site-schema.l10n.fr.json +6 -1
- package/theme/templates/home.liquid +243 -208
- package/theme/templates/partials/post.public.liquid +12 -8
- package/theme/templates/partials/result-item.public.liquid +12 -8
- package/theme/templates/post.liquid +15 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @paroicms/playground_demo2@0.
|
|
2
|
+
> @paroicms/playground_demo2@0.59.0 build
|
|
3
3
|
> npm run scss
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @paroicms/playground_demo2@0.
|
|
6
|
+
> @paroicms/playground_demo2@0.59.0 scss
|
|
7
7
|
> npm run _scss -- --no-source-map --style=compressed
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @paroicms/playground_demo2@0.
|
|
10
|
+
> @paroicms/playground_demo2@0.59.0 _scss
|
|
11
11
|
> sass theme/assets/scss/index.scss theme/assets/css/index.css --no-source-map --style=compressed
|
|
12
12
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @paroicms/playground_seoul
|
|
2
2
|
|
|
3
|
+
## 0.59.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b456d80: Add labeling fields; Improve field values
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [b456d80]
|
|
12
|
+
- @paroicms/content-loading-plugin@0.16.0
|
|
13
|
+
- @paroicms/internal-link-plugin@0.13.0
|
|
14
|
+
- @paroicms/quill-editor-plugin@1.32.0
|
|
15
|
+
- @paroicms/list-field-plugin@0.18.0
|
|
16
|
+
- @paroicms/video-plugin@0.29.0
|
|
17
|
+
|
|
18
|
+
## 0.58.1
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [8fca857]
|
|
23
|
+
- @paroicms/quill-editor-plugin@1.31.1
|
|
24
|
+
|
|
3
25
|
## 0.58.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paroicms/playground_demo2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "Demonstration website for ParoiCMS",
|
|
5
5
|
"author": "Paroi Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@paroicms/contact-form-plugin": "0.23.0",
|
|
27
|
-
"@paroicms/content-loading-plugin": "0.
|
|
27
|
+
"@paroicms/content-loading-plugin": "0.16.0",
|
|
28
28
|
"@paroicms/public-menu-plugin": "0.11.0",
|
|
29
|
-
"@paroicms/quill-editor-plugin": "1.
|
|
30
|
-
"@paroicms/video-plugin": "0.
|
|
31
|
-
"@paroicms/list-field-plugin": "0.
|
|
32
|
-
"@paroicms/internal-link-plugin": "0.
|
|
29
|
+
"@paroicms/quill-editor-plugin": "1.32.0",
|
|
30
|
+
"@paroicms/video-plugin": "0.29.0",
|
|
31
|
+
"@paroicms/list-field-plugin": "0.18.0",
|
|
32
|
+
"@paroicms/internal-link-plugin": "0.13.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"concurrently": "~9.1.2",
|
package/site-schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "8",
|
|
3
3
|
"languages": ["fr", "en"],
|
|
4
4
|
"plugins": [
|
|
5
5
|
{
|
|
@@ -78,8 +78,7 @@
|
|
|
78
78
|
"name": "color",
|
|
79
79
|
"localized": false,
|
|
80
80
|
"storedAs": "varchar",
|
|
81
|
-
"dataType": "string"
|
|
82
|
-
"visibility": ["table", "overview", "feed"]
|
|
81
|
+
"dataType": "string"
|
|
83
82
|
},
|
|
84
83
|
{
|
|
85
84
|
"name": "myList2",
|
|
@@ -125,8 +124,7 @@
|
|
|
125
124
|
"name": "color",
|
|
126
125
|
"localized": false,
|
|
127
126
|
"storedAs": "varchar",
|
|
128
|
-
"dataType": "string"
|
|
129
|
-
"visibility": ["table", "overview", "feed"]
|
|
127
|
+
"dataType": "string"
|
|
130
128
|
}
|
|
131
129
|
]
|
|
132
130
|
},
|
|
@@ -201,12 +199,16 @@
|
|
|
201
199
|
"route": ":yyyy/:mm/:dd/:relativeId-:slug",
|
|
202
200
|
"relativeIdGenerator": ["default", 6],
|
|
203
201
|
"withFeaturedImage": true,
|
|
204
|
-
"fields": [
|
|
205
|
-
"labeling": [
|
|
202
|
+
"fields": [
|
|
206
203
|
{
|
|
204
|
+
"name": "tags",
|
|
205
|
+
"localized": false,
|
|
206
|
+
"storedAs": "labeling",
|
|
207
207
|
"taxonomy": "tags",
|
|
208
|
-
"
|
|
209
|
-
}
|
|
208
|
+
"multiple": true
|
|
209
|
+
},
|
|
210
|
+
"leadParagraph",
|
|
211
|
+
"htmlContent"
|
|
210
212
|
]
|
|
211
213
|
},
|
|
212
214
|
{
|
|
@@ -250,15 +252,13 @@
|
|
|
250
252
|
"name": "testTime",
|
|
251
253
|
"localized": true,
|
|
252
254
|
"storedAs": "varchar",
|
|
253
|
-
"dataType": "time"
|
|
254
|
-
"visibility": ["table", "overview", "feed"]
|
|
255
|
+
"dataType": "time"
|
|
255
256
|
},
|
|
256
257
|
{
|
|
257
258
|
"name": "testDate",
|
|
258
259
|
"localized": true,
|
|
259
260
|
"storedAs": "varchar",
|
|
260
|
-
"dataType": "date"
|
|
261
|
-
"visibility": ["table", "overview", "feed"]
|
|
261
|
+
"dataType": "date"
|
|
262
262
|
}
|
|
263
263
|
]
|
|
264
264
|
},
|
package/site-schema.l10n.en.json
CHANGED
package/site-schema.l10n.fr.json
CHANGED
|
@@ -1,218 +1,253 @@
|
|
|
1
1
|
{% layout "layouts/main-layout.liquid" doc: doc site: site %}
|
|
2
2
|
{% block %}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
srcset="{{ smallImg.url }}"
|
|
20
|
-
media="(max-width: 360px)">
|
|
21
|
-
<source
|
|
22
|
-
width="{{ mediumImg.width }}"
|
|
23
|
-
height="{{ mediumImg.height }}"
|
|
24
|
-
srcset="{{ mediumImg.url }}"
|
|
25
|
-
media="(max-width: 1024px)">
|
|
26
|
-
<source
|
|
27
|
-
width="{{ largeImg.width }}"
|
|
28
|
-
height="{{ largeImg.height }}"
|
|
29
|
-
srcset="{{ largeImg.url }}"
|
|
30
|
-
media="(min-width: 1920px)">
|
|
31
|
-
|
|
32
|
-
<img
|
|
33
|
-
class="HeroBanner-img"
|
|
34
|
-
src="{{ largeImg.url }}"
|
|
35
|
-
width="{{ largeImg.width }}"
|
|
36
|
-
height="{{ largeImg.height }}"
|
|
37
|
-
alt=""
|
|
38
|
-
loading="lazy">
|
|
39
|
-
</picture>
|
|
40
|
-
{% endif %}
|
|
41
|
-
|
|
42
|
-
{% getDocs posts
|
|
43
|
-
, parentId: site.home.posts.id
|
|
44
|
-
, limit: 4
|
|
3
|
+
<main>
|
|
4
|
+
{% if doc.featuredImage %}
|
|
5
|
+
{%
|
|
6
|
+
useImage smallImg
|
|
7
|
+
, uid: doc.featuredImage.uid
|
|
8
|
+
, size: "360x100"
|
|
9
|
+
%}
|
|
10
|
+
{%
|
|
11
|
+
useImage mediumImg
|
|
12
|
+
, uid: doc.featuredImage.uid
|
|
13
|
+
, size: "820x150"
|
|
14
|
+
%}
|
|
15
|
+
{%
|
|
16
|
+
useImage largeImg
|
|
17
|
+
, uid: doc.featuredImage.uid
|
|
18
|
+
, size: "1920x275"
|
|
45
19
|
%}
|
|
46
|
-
<section class="TileList Container">
|
|
47
|
-
<h2>
|
|
48
|
-
{{ "Latest posts" | t }}
|
|
49
|
-
</h2>
|
|
50
|
-
<div class="Grid12">
|
|
51
|
-
{% for post in posts %}
|
|
52
|
-
{% render "partials/post.public.liquid"
|
|
53
|
-
, doc: post %}
|
|
54
|
-
{% endfor %}
|
|
55
|
-
</div>
|
|
56
|
-
{% getDoc postsPage
|
|
57
|
-
, id: site.home.posts.id %}
|
|
58
|
-
<a href="{{ postsPage.url }}">
|
|
59
|
-
{{ "All posts" | t }}
|
|
60
|
-
</a>
|
|
61
|
-
</section>
|
|
62
|
-
|
|
63
|
-
{% getDocs pages
|
|
64
|
-
, parentId: site.home.pages.id %}
|
|
65
|
-
<section class="TileList Container">
|
|
66
|
-
<h2>{{ "Pages" | t }}</h2>
|
|
67
|
-
<div class="Grid12">
|
|
68
|
-
{% for gPage in pages %}
|
|
69
|
-
<article class="Tile2 Span4">
|
|
70
|
-
{% if gPage.defaultImage %}
|
|
71
|
-
{% useImage image
|
|
72
|
-
, uid: gPage.defaultImage.uid
|
|
73
|
-
, size: "200x200" %}
|
|
74
|
-
<img
|
|
75
|
-
class="Tile2-img"
|
|
76
|
-
src="{{ image.url }}"
|
|
77
|
-
width="{{ image.width }}"
|
|
78
|
-
height="{{ image.height }}"
|
|
79
|
-
alt=""
|
|
80
|
-
loading="lazy">
|
|
81
|
-
{% endif %}
|
|
82
|
-
<div class="Tile2-text Span3">
|
|
83
|
-
<h3 class="Tile2-h1">{{ gPage.title }}</h3>
|
|
84
|
-
<p class="Tile2-excerpt">{{ gPage.excerpt | makeExcerpt: 60 }}
|
|
85
|
-
<a href="{{ gPage.url }}">
|
|
86
|
-
{{ "Read more" | t }}</a>
|
|
87
|
-
</p>
|
|
88
|
-
</div>
|
|
89
|
-
</article>
|
|
90
|
-
{% endfor %}
|
|
91
|
-
</div>
|
|
92
|
-
</section>
|
|
93
|
-
|
|
94
|
-
<section class="Container">
|
|
95
|
-
<h1>Partners</h1>
|
|
96
|
-
{% for item in doc.list.partners %}
|
|
97
|
-
<p>RelativeId: #{{ item.relativeId }}</p>
|
|
98
|
-
{% if item.type == "partner" %}
|
|
99
|
-
<div class="PartItem partner">
|
|
100
|
-
{% if item.defaultImage %}
|
|
101
|
-
{% useImage image
|
|
102
|
-
, uid: item.defaultImage.uid
|
|
103
|
-
, size: "200x200" %}
|
|
104
|
-
|
|
105
|
-
<img
|
|
106
|
-
src="{{ image.url }}"
|
|
107
|
-
width="{{ image.width }}"
|
|
108
|
-
height="{{ image.height }}"
|
|
109
|
-
alt=""
|
|
110
|
-
loading="lazy">
|
|
111
|
-
{% endif %}
|
|
112
|
-
|
|
113
|
-
{% if item.field.url %}
|
|
114
|
-
<a href="{{ item.field.url }}">{{ item.number }} ({{ item.type }} {{ item.numberOfType }}) - {{ item.field.title }}</a>
|
|
115
|
-
{% else %}
|
|
116
|
-
<span>{{ item.number }} ({{ item.type }} {{ item.numberOfType }}) - {{ item.field.title }}</span>
|
|
117
|
-
{% endif %}
|
|
118
|
-
{{ item.field.htmlContent | raw }}
|
|
119
|
-
</div>
|
|
120
|
-
{% else %}
|
|
121
|
-
<div class="PartItem sideImage">
|
|
122
|
-
{% if item.defaultImage %}
|
|
123
|
-
{% useImage image
|
|
124
|
-
, uid: item.defaultImage.uid
|
|
125
|
-
, size: "200x200" %}
|
|
126
|
-
|
|
127
|
-
<img
|
|
128
|
-
src="{{ image.url }}"
|
|
129
|
-
width="{{ image.width }}"
|
|
130
|
-
height="{{ image.height }}"
|
|
131
|
-
alt=""
|
|
132
|
-
loading="lazy">
|
|
133
20
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
{
|
|
21
|
+
<picture class="HeroBanner">
|
|
22
|
+
<source
|
|
23
|
+
width="{{ smallImg.width }}"
|
|
24
|
+
height="{{ smallImg.height }}"
|
|
25
|
+
srcset="{{ smallImg.url }}"
|
|
26
|
+
media="(max-width: 360px)"
|
|
27
|
+
>
|
|
28
|
+
<source
|
|
29
|
+
width="{{ mediumImg.width }}"
|
|
30
|
+
height="{{ mediumImg.height }}"
|
|
31
|
+
srcset="{{ mediumImg.url }}"
|
|
32
|
+
media="(max-width: 1024px)"
|
|
33
|
+
>
|
|
34
|
+
<source
|
|
35
|
+
width="{{ largeImg.width }}"
|
|
36
|
+
height="{{ largeImg.height }}"
|
|
37
|
+
srcset="{{ largeImg.url }}"
|
|
38
|
+
media="(min-width: 1920px)"
|
|
39
|
+
>
|
|
40
|
+
|
|
41
|
+
<img
|
|
42
|
+
class="HeroBanner-img"
|
|
43
|
+
src="{{ largeImg.url }}"
|
|
44
|
+
width="{{ largeImg.width }}"
|
|
45
|
+
height="{{ largeImg.height }}"
|
|
46
|
+
alt=""
|
|
47
|
+
loading="lazy"
|
|
48
|
+
>
|
|
49
|
+
</picture>
|
|
50
|
+
{% endif %}
|
|
51
|
+
|
|
52
|
+
{%
|
|
53
|
+
getDocs posts
|
|
54
|
+
, parentId: site.home.posts.id
|
|
55
|
+
, limit: 4
|
|
56
|
+
%}
|
|
57
|
+
<section class="TileList Container">
|
|
58
|
+
<h2>
|
|
59
|
+
{{ 'Latest posts' | t }}
|
|
60
|
+
</h2>
|
|
61
|
+
<div class="Grid12">
|
|
62
|
+
{% for post in posts %}
|
|
63
|
+
{% render 'partials/post.public.liquid', doc: post %}
|
|
144
64
|
{% endfor %}
|
|
145
|
-
</
|
|
146
|
-
|
|
147
|
-
<
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
<div class="
|
|
174
|
-
{
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
<img
|
|
180
|
-
src="{{ image.url }}"
|
|
181
|
-
width="{{ image.width }}"
|
|
182
|
-
height="{{ image.height }}"
|
|
183
|
-
alt=""
|
|
184
|
-
loading="lazy">
|
|
185
|
-
|
|
186
|
-
{% endif %}
|
|
187
|
-
{{ item.number }} ({{ item.type }} {{ item.numberOfType }}) -
|
|
188
|
-
{{ item.field.htmlContent | raw }}
|
|
65
|
+
</div>
|
|
66
|
+
{% getDoc postsPage, id: site.home.posts.id %}
|
|
67
|
+
<a href="{{ postsPage.url }}">
|
|
68
|
+
{{ 'All posts' | t }}
|
|
69
|
+
</a>
|
|
70
|
+
</section>
|
|
71
|
+
|
|
72
|
+
{% getDocs pages, parentId: site.home.pages.id %}
|
|
73
|
+
<section class="TileList Container">
|
|
74
|
+
<h2>{{ 'Pages' | t }}</h2>
|
|
75
|
+
<div class="Grid12">
|
|
76
|
+
{% for gPage in pages %}
|
|
77
|
+
<article class="Tile2 Span4">
|
|
78
|
+
{% if gPage.defaultImage %}
|
|
79
|
+
{%
|
|
80
|
+
useImage image
|
|
81
|
+
, uid: gPage.defaultImage.uid
|
|
82
|
+
, size: "200x200"
|
|
83
|
+
%}
|
|
84
|
+
<img
|
|
85
|
+
class="Tile2-img"
|
|
86
|
+
src="{{ image.url }}"
|
|
87
|
+
width="{{ image.width }}"
|
|
88
|
+
height="{{ image.height }}"
|
|
89
|
+
alt=""
|
|
90
|
+
loading="lazy"
|
|
91
|
+
>
|
|
92
|
+
{% endif %}
|
|
93
|
+
<div class="Tile2-text Span3">
|
|
94
|
+
<h3 class="Tile2-h1">{{ gPage.title }}</h3>
|
|
95
|
+
<p class="Tile2-excerpt">
|
|
96
|
+
{{ gPage.excerpt | makeExcerpt: 60 }}
|
|
97
|
+
<a href="{{ gPage.url }}"> {{ 'Read more' | t }}</a>
|
|
98
|
+
</p>
|
|
189
99
|
</div>
|
|
190
|
-
|
|
191
|
-
{% if item.parts %}
|
|
192
|
-
{% for child in item.parts %}
|
|
193
|
-
{{ child | info }}
|
|
194
|
-
{% endfor %}
|
|
195
|
-
{% endif %}
|
|
100
|
+
</article>
|
|
196
101
|
{% endfor %}
|
|
197
|
-
</
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
102
|
+
</div>
|
|
103
|
+
</section>
|
|
104
|
+
|
|
105
|
+
<section class="Container">
|
|
106
|
+
<h1>Partners</h1>
|
|
107
|
+
{% for item in doc.list.partners %}
|
|
108
|
+
<p>RelativeId: #{{ item.relativeId }}</p>
|
|
109
|
+
{% if item.type == 'partner' %}
|
|
110
|
+
<div class="PartItem partner">
|
|
111
|
+
{% if item.defaultImage %}
|
|
112
|
+
{%
|
|
113
|
+
useImage image
|
|
114
|
+
, uid: item.defaultImage.uid
|
|
115
|
+
, size: "200x200"
|
|
116
|
+
%}
|
|
117
|
+
|
|
118
|
+
<img
|
|
119
|
+
src="{{ image.url }}"
|
|
120
|
+
width="{{ image.width }}"
|
|
121
|
+
height="{{ image.height }}"
|
|
122
|
+
alt=""
|
|
123
|
+
loading="lazy"
|
|
124
|
+
>
|
|
125
|
+
{% endif %}
|
|
126
|
+
|
|
127
|
+
{% if item.field.url %}
|
|
128
|
+
<a href="{{ item.field.url }}">
|
|
129
|
+
{{- item.number }} ({{ item.type }}
|
|
130
|
+
{{ item.numberOfType }}) - {{ item.field.title -}}
|
|
131
|
+
</a>
|
|
132
|
+
{% else %}
|
|
133
|
+
<span>
|
|
134
|
+
{{- item.number }} ({{ item.type }}
|
|
135
|
+
{{ item.numberOfType }}) - {{ item.field.title -}}
|
|
136
|
+
</span>
|
|
137
|
+
{% endif %}
|
|
138
|
+
{{ item.field.htmlContent | raw }}
|
|
139
|
+
</div>
|
|
140
|
+
{% else %}
|
|
141
|
+
<div class="PartItem sideImage">
|
|
142
|
+
{% if item.defaultImage %}
|
|
143
|
+
{%
|
|
144
|
+
useImage image
|
|
145
|
+
, uid: item.defaultImage.uid
|
|
146
|
+
, size: "200x200"
|
|
147
|
+
%}
|
|
148
|
+
|
|
149
|
+
<img
|
|
150
|
+
src="{{ image.url }}"
|
|
151
|
+
width="{{ image.width }}"
|
|
152
|
+
height="{{ image.height }}"
|
|
153
|
+
alt=""
|
|
154
|
+
loading="lazy"
|
|
155
|
+
>
|
|
156
|
+
{% endif %}
|
|
157
|
+
{{ item.number }} ({{ item.type }}
|
|
158
|
+
{{ item.numberOfType }}) -
|
|
159
|
+
{{ item.field.htmlContent | raw }}
|
|
160
|
+
</div>
|
|
161
|
+
{% endif %}
|
|
162
|
+
{% if item.parts %}
|
|
163
|
+
{% for child in item.parts %}
|
|
164
|
+
{{ child | info }}
|
|
204
165
|
{% endfor %}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
166
|
+
{% endif %}
|
|
167
|
+
{% endfor %}
|
|
168
|
+
</section>
|
|
169
|
+
|
|
170
|
+
<section class="Container">
|
|
171
|
+
<h1>Sections</h1>
|
|
172
|
+
{% for item in doc.list.sections %}
|
|
173
|
+
{% if item.type == 'partner' %}
|
|
174
|
+
<div class="PartItem partner">
|
|
175
|
+
{% if item.defaultImage %}
|
|
176
|
+
{%
|
|
177
|
+
useImage image
|
|
178
|
+
, uid: item.defaultImage.uid
|
|
179
|
+
, size: "200x200"
|
|
180
|
+
%}
|
|
181
|
+
|
|
182
|
+
<img
|
|
183
|
+
src="{{ image.url }}"
|
|
184
|
+
width="{{ image.width }}"
|
|
185
|
+
height="{{ image.height }}"
|
|
186
|
+
alt=""
|
|
187
|
+
loading="lazy"
|
|
188
|
+
>
|
|
189
|
+
{% endif %}
|
|
190
|
+
|
|
191
|
+
{% if item.field.url %}
|
|
192
|
+
<a href="{{ item.field.url }}">
|
|
193
|
+
{{- item.number }} ({{ item.type }}
|
|
194
|
+
{{ item.numberOfType }}) - {{ item.field.title -}}
|
|
195
|
+
</a>
|
|
196
|
+
{% else %}
|
|
197
|
+
<span>
|
|
198
|
+
{{- item.number }} ({{ item.type }}
|
|
199
|
+
{{ item.numberOfType }}) - {{ item.field.title -}}
|
|
200
|
+
</span>
|
|
201
|
+
{% endif %}
|
|
202
|
+
{{ item.field.htmlContent | raw }}
|
|
214
203
|
</div>
|
|
204
|
+
{% else %}
|
|
205
|
+
<div class="PartItem sideImage">
|
|
206
|
+
{% if item.defaultImage %}
|
|
207
|
+
{%
|
|
208
|
+
useImage image
|
|
209
|
+
, uid: item.defaultImage.uid
|
|
210
|
+
, size: "200x200"
|
|
211
|
+
%}
|
|
212
|
+
|
|
213
|
+
<img
|
|
214
|
+
src="{{ image.url }}"
|
|
215
|
+
width="{{ image.width }}"
|
|
216
|
+
height="{{ image.height }}"
|
|
217
|
+
alt=""
|
|
218
|
+
loading="lazy"
|
|
219
|
+
>
|
|
220
|
+
{% endif %}
|
|
221
|
+
{{ item.number }} ({{ item.type }}
|
|
222
|
+
{{ item.numberOfType }}) -
|
|
223
|
+
{{ item.field.htmlContent | raw }}
|
|
224
|
+
</div>
|
|
225
|
+
{% endif %}
|
|
226
|
+
{% if item.parts %}
|
|
227
|
+
{% for child in item.parts %}
|
|
228
|
+
{{ child | info }}
|
|
229
|
+
{% endfor %}
|
|
215
230
|
{% endif %}
|
|
216
|
-
|
|
217
|
-
</
|
|
218
|
-
|
|
231
|
+
{% endfor %}
|
|
232
|
+
</section>
|
|
233
|
+
|
|
234
|
+
<section class="Container">
|
|
235
|
+
<h1>My List</h1>
|
|
236
|
+
<ul>
|
|
237
|
+
{% for item in doc.field.myList %}
|
|
238
|
+
<li>{{ item }}</li>
|
|
239
|
+
{% endfor %}
|
|
240
|
+
</ul>
|
|
241
|
+
</section>
|
|
242
|
+
|
|
243
|
+
<section class="Container">
|
|
244
|
+
<h1>Test Video</h1>
|
|
245
|
+
{% if doc.field.video %}
|
|
246
|
+
<div class="Deafness-videoPresentate Span4 Mb50">
|
|
247
|
+
Video featured
|
|
248
|
+
{{ doc.field.video | video }}
|
|
249
|
+
</div>
|
|
250
|
+
{% endif %}
|
|
251
|
+
</section>
|
|
252
|
+
</main>
|
|
253
|
+
{% endblock %}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<article class="Tile Span6 Grid6">
|
|
2
2
|
{% if doc.defaultImage %}
|
|
3
|
-
{%
|
|
3
|
+
{%
|
|
4
|
+
useImage image
|
|
4
5
|
, uid: doc.defaultImage.uid
|
|
5
|
-
, size: "345x295"
|
|
6
|
+
, size: "345x295"
|
|
7
|
+
%}
|
|
6
8
|
<div class="Span3">
|
|
7
9
|
<img
|
|
8
10
|
class="Tile-img"
|
|
@@ -11,22 +13,24 @@
|
|
|
11
13
|
width="{{ image.width }}"
|
|
12
14
|
height="{{ image.height }}"
|
|
13
15
|
loading="lazy"
|
|
14
|
-
alt=""
|
|
16
|
+
alt=""
|
|
17
|
+
>
|
|
15
18
|
</div>
|
|
16
19
|
{% endif %}
|
|
17
20
|
<div class="Tile-text Span3">
|
|
18
21
|
<h3 class="Tile-h1">{{ doc.title }}</h3>
|
|
19
|
-
<p class="Tile-excerpt">
|
|
22
|
+
<p class="Tile-excerpt">
|
|
23
|
+
{{ doc.excerpt | makeExcerpt: 60 }}
|
|
20
24
|
<a href="{{ doc.url }}">
|
|
21
|
-
{{
|
|
25
|
+
{{ 'Read more' | t }}
|
|
22
26
|
</a>
|
|
23
27
|
</p>
|
|
24
|
-
{% if doc.
|
|
28
|
+
{% if doc.field.tags %}
|
|
25
29
|
<div class="Tile-tags">
|
|
26
|
-
{% for tag in doc.
|
|
30
|
+
{% for tag in doc.field.tags %}
|
|
27
31
|
<span>{{ tag.title }}</span>
|
|
28
32
|
{% endfor %}
|
|
29
33
|
</div>
|
|
30
34
|
{% endif %}
|
|
31
35
|
</div>
|
|
32
|
-
</article>
|
|
36
|
+
</article>
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
<article class="ResultItem Tile Grid12">
|
|
2
2
|
{% if doc.defaultImage %}
|
|
3
|
-
{%
|
|
3
|
+
{%
|
|
4
|
+
useImage image
|
|
4
5
|
, uid: doc.defaultImage.uid
|
|
5
|
-
, size: "345x295"
|
|
6
|
+
, size: "345x295"
|
|
7
|
+
%}
|
|
6
8
|
<div class="Span3">
|
|
7
9
|
<img
|
|
8
10
|
class="Tile-img"
|
|
@@ -10,22 +12,24 @@
|
|
|
10
12
|
width="{{ image.width }}"
|
|
11
13
|
height="{{ image.height }}"
|
|
12
14
|
loading="lazy"
|
|
13
|
-
alt=""
|
|
15
|
+
alt=""
|
|
16
|
+
>
|
|
14
17
|
</div>
|
|
15
18
|
{% endif %}
|
|
16
19
|
<div class="Tile-text Span3">
|
|
17
20
|
<h3 class="Tile-h1">{{ doc.title }}</h3>
|
|
18
|
-
<p class="Tile-excerpt">
|
|
21
|
+
<p class="Tile-excerpt">
|
|
22
|
+
{{ doc.excerpt | makeExcerpt: 60 }}
|
|
19
23
|
<a href="{{ doc.url }}">
|
|
20
|
-
{{
|
|
24
|
+
{{ 'Read more' | t }}
|
|
21
25
|
</a>
|
|
22
26
|
</p>
|
|
23
|
-
{% if doc.
|
|
27
|
+
{% if doc.field.tags %}
|
|
24
28
|
<div class="Tile-tags">
|
|
25
|
-
{% for tag in doc.
|
|
29
|
+
{% for tag in doc.field.tags %}
|
|
26
30
|
<span>{{ tag.title }}</span>
|
|
27
31
|
{% endfor %}
|
|
28
32
|
</div>
|
|
29
33
|
{% endif %}
|
|
30
34
|
</div>
|
|
31
|
-
</article>
|
|
35
|
+
</article>
|
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
<div class="Container">
|
|
4
4
|
{% render 'partials/breadcrumb', doc: doc, site: site %}
|
|
5
5
|
<h1>{{ doc.title }}</h1>
|
|
6
|
+
|
|
7
|
+
{% if doc.field.tags %}
|
|
8
|
+
<ul class="Tile-tags">
|
|
9
|
+
{% for tag in doc.field.tags %}
|
|
10
|
+
<li>
|
|
11
|
+
{% if tag.inRightLanguage %}
|
|
12
|
+
<a href="{{ tag.url }}">{{ tag.title }}</a>
|
|
13
|
+
{% else %}
|
|
14
|
+
<span>{{ tag.title }}</span>
|
|
15
|
+
{% endif %}
|
|
16
|
+
</li>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
</ul>
|
|
19
|
+
{% endif %}
|
|
20
|
+
|
|
6
21
|
{% if doc.featuredImage %}
|
|
7
22
|
<div class="HeroBanner">
|
|
8
23
|
{%
|