@paroicms/playground_demo2 0.69.2 → 0.70.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 +18 -0
- package/package.json +9 -9
- package/theme/templates/404.liquid +10 -10
- package/theme/templates/about-page.liquid +5 -5
- package/theme/templates/contact-page.liquid +3 -3
- package/theme/templates/exhibition.liquid +3 -19
- package/theme/templates/home.liquid +13 -41
- package/theme/templates/index.liquid +2 -2
- package/theme/templates/layouts/main-layout.liquid +2 -2
- package/theme/templates/page.liquid +16 -14
- package/theme/templates/pages.liquid +4 -24
- package/theme/templates/partials/footer.liquid +2 -2
- package/theme/templates/partials/header.liquid +16 -24
- package/theme/templates/partials/post.public.liquid +1 -4
- package/theme/templates/partials/result-item.public.liquid +1 -4
- package/theme/templates/post.liquid +13 -11
- package/theme/templates/posts.liquid +4 -24
- package/theme/templates/search-page.liquid +5 -9
- package/theme/templates/shelf.liquid +3 -19
- package/theme/templates/tag.liquid +9 -6
- package/theme/templates/video-page.liquid +13 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @paroicms/playground_demo2@0.
|
|
2
|
+
> @paroicms/playground_demo2@0.70.0 build
|
|
3
3
|
> npm run scss
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @paroicms/playground_demo2@0.
|
|
6
|
+
> @paroicms/playground_demo2@0.70.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.70.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,23 @@
|
|
|
1
1
|
# @paroicms/playground_seoul
|
|
2
2
|
|
|
3
|
+
## 0.70.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c9eb26a: Added 'set' and 'out' liquid tags
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [c9eb26a]
|
|
12
|
+
- @paroicms/content-loading-plugin@0.27.0
|
|
13
|
+
- @paroicms/internal-link-plugin@0.22.0
|
|
14
|
+
- @paroicms/contact-form-plugin@0.33.0
|
|
15
|
+
- @paroicms/quill-editor-plugin@1.42.0
|
|
16
|
+
- @paroicms/public-menu-plugin@0.19.0
|
|
17
|
+
- @paroicms/list-field-plugin@0.26.0
|
|
18
|
+
- @paroicms/video-plugin@0.36.0
|
|
19
|
+
- @paroicms/script-lib@0.3.0
|
|
20
|
+
|
|
3
21
|
## 0.69.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paroicms/playground_demo2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.70.0",
|
|
4
4
|
"description": "Demonstration website for ParoiCMS",
|
|
5
5
|
"author": "Paroi Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"_pino-pretty": "pino-pretty -U false -x 'stats:25' -X 'stats:grey' -t 'yyyy-mm-dd HH:MM:ss.l' -i 'hostname,pid,fqdn'"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@paroicms/contact-form-plugin": "0.
|
|
28
|
-
"@paroicms/content-loading-plugin": "0.
|
|
29
|
-
"@paroicms/internal-link-plugin": "0.
|
|
30
|
-
"@paroicms/list-field-plugin": "0.
|
|
31
|
-
"@paroicms/public-menu-plugin": "0.
|
|
32
|
-
"@paroicms/quill-editor-plugin": "1.
|
|
33
|
-
"@paroicms/script-lib": "0.
|
|
34
|
-
"@paroicms/video-plugin": "0.
|
|
27
|
+
"@paroicms/contact-form-plugin": "0.33.0",
|
|
28
|
+
"@paroicms/content-loading-plugin": "0.27.0",
|
|
29
|
+
"@paroicms/internal-link-plugin": "0.22.0",
|
|
30
|
+
"@paroicms/list-field-plugin": "0.26.0",
|
|
31
|
+
"@paroicms/public-menu-plugin": "0.19.0",
|
|
32
|
+
"@paroicms/quill-editor-plugin": "1.42.0",
|
|
33
|
+
"@paroicms/script-lib": "0.3.0",
|
|
34
|
+
"@paroicms/video-plugin": "0.36.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"concurrently": "~9.1.2",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{% endblock %}
|
|
3
|
+
<main class="Container">
|
|
4
|
+
<div class="Text">
|
|
5
|
+
<h1>404</h1>
|
|
6
|
+
<p>
|
|
7
|
+
{{ "This page does not exist. We offer you to <a href='/'>return to home page</a>." | t | raw }}
|
|
8
|
+
</p>
|
|
9
|
+
</div>
|
|
10
|
+
</main>
|
|
11
|
+
{% endblock %}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<main class="Container">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
{% if doc.featuredImage %}
|
|
6
6
|
<div class="HeroBanner">
|
|
7
|
-
{%
|
|
8
|
-
{%
|
|
9
|
-
{%
|
|
7
|
+
{% set smallImg = image(doc.featuredImage, resize: "324x200") %}
|
|
8
|
+
{% set mediumImg = image(doc.featuredImage, resize: "1024x545") %}
|
|
9
|
+
{% set largeImg = image(doc.featuredImage, resize: "1200x545") %}
|
|
10
10
|
|
|
11
11
|
<picture>
|
|
12
12
|
<source
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<main class="Container">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
<h1>{{ doc.title }}</h1>
|
|
6
6
|
<div class="Text">{{ doc.field.htmlContent | raw }}</div>
|
|
7
7
|
<p>{{ site.field.contactEmail | obfuscate: 'asLink' }} - {{ site.field.phone | obfuscate: 'asLink' }}</p>
|
|
8
|
-
{% contactForm %}
|
|
8
|
+
{% out contactForm %}
|
|
9
9
|
</main>
|
|
10
10
|
{% endblock %}
|
|
@@ -4,32 +4,16 @@
|
|
|
4
4
|
, site: site
|
|
5
5
|
%}
|
|
6
6
|
{% block %}
|
|
7
|
-
{%
|
|
8
|
-
getPaginatedDocs exhibitions
|
|
9
|
-
, parentId: doc.id
|
|
10
|
-
, pageSize: 4
|
|
11
|
-
%}
|
|
12
7
|
<div class="PageContent Container pt0">
|
|
13
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
8
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
14
9
|
<div class="PageContent-headerPage Container">
|
|
15
10
|
<h1 class="PageContent-h1 upper">
|
|
16
11
|
{{ doc.title }}
|
|
17
12
|
</h1>
|
|
18
13
|
</div>
|
|
14
|
+
{% set exhibitions = paginatedDocs(doc.routing.children, by: 4) %}
|
|
19
15
|
<div class="Container">
|
|
20
|
-
|
|
21
|
-
class="Grid12"
|
|
22
|
-
data-effect="paInfiniteLoading"
|
|
23
|
-
data-parent-id="{{ doc.id }}"
|
|
24
|
-
data-start="{{ exhibitions.pageSize }}"
|
|
25
|
-
data-limit="{{ exhibitions.pageSize }}"
|
|
26
|
-
data-total="{{ exhibitions.total }}"
|
|
27
|
-
data-template="post"
|
|
28
|
-
>
|
|
29
|
-
{% for exhibition in exhibitions.items %}
|
|
30
|
-
{% render 'partials/post.public.liquid', doc: exhibition %}
|
|
31
|
-
{% endfor %}
|
|
32
|
-
</div>
|
|
16
|
+
{% out infiniteLoading(class: "Grid12", paginatedDocs: exhibitions, template: "partials/post.public") %}
|
|
33
17
|
</div>
|
|
34
18
|
</div>
|
|
35
19
|
{% endblock %}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<main>
|
|
4
4
|
{% if doc.featuredImage %}
|
|
5
|
-
{%
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
%}
|
|
9
|
-
{%
|
|
10
|
-
useImage mediumImg image: doc.featuredImage
|
|
11
|
-
, resize: "820x150"
|
|
12
|
-
%}
|
|
13
|
-
{%
|
|
14
|
-
useImage largeImg image: doc.featuredImage
|
|
15
|
-
, resize: "1920x275"
|
|
16
|
-
%}
|
|
5
|
+
{% set smallImg = image(doc.featuredImage, resize: "360x100") %}
|
|
6
|
+
{% set mediumImg = image(doc.featuredImage, resize: "820x150") %}
|
|
7
|
+
{% set largeImg = image(doc.featuredImage, resize: "1920x275") %}
|
|
17
8
|
|
|
18
9
|
<picture class="HeroBanner">
|
|
19
10
|
<source
|
|
@@ -46,11 +37,7 @@
|
|
|
46
37
|
</picture>
|
|
47
38
|
{% endif %}
|
|
48
39
|
|
|
49
|
-
{%
|
|
50
|
-
getDocs posts
|
|
51
|
-
, parentId: site.home.posts.id
|
|
52
|
-
, limit: 4
|
|
53
|
-
%}
|
|
40
|
+
{% set posts = docs(site.home.posts.children, limit: 4) %}
|
|
54
41
|
<section class="TileList Container">
|
|
55
42
|
<h2>
|
|
56
43
|
{{ 'Latest posts' | t }}
|
|
@@ -60,25 +47,22 @@
|
|
|
60
47
|
{% render 'partials/post.public.liquid', doc: post %}
|
|
61
48
|
{% endfor %}
|
|
62
49
|
</div>
|
|
63
|
-
{%
|
|
64
|
-
|
|
50
|
+
{% set postsPage = doc(site.home.posts) %}
|
|
51
|
+
{% if postsPage %}
|
|
65
52
|
<a href="{{ postsPage.url }}">
|
|
66
53
|
{{ 'All posts' | t }}
|
|
67
54
|
</a>
|
|
68
55
|
{% endif %}
|
|
69
56
|
</section>
|
|
70
57
|
|
|
71
|
-
{%
|
|
58
|
+
{% set pages = docs(site.home.pages.children) %}
|
|
72
59
|
<section class="TileList Container">
|
|
73
60
|
<h2>{{ 'Pages' | t }}</h2>
|
|
74
61
|
<div class="Grid12">
|
|
75
62
|
{% for gPage in pages %}
|
|
76
63
|
<article class="Tile2 Span4">
|
|
77
64
|
{% if gPage.defaultImage %}
|
|
78
|
-
{%
|
|
79
|
-
useImage image image: gPage.defaultImage
|
|
80
|
-
, resize: "200x200"
|
|
81
|
-
%}
|
|
65
|
+
{% set image = image(gPage.defaultImage, resize: "200x200") %}
|
|
82
66
|
<img
|
|
83
67
|
class="Tile2-img"
|
|
84
68
|
src="{{ image.url }}"
|
|
@@ -107,10 +91,7 @@
|
|
|
107
91
|
{% if item.type == 'partner' %}
|
|
108
92
|
<div class="PartItem partner">
|
|
109
93
|
{% if item.defaultImage %}
|
|
110
|
-
{%
|
|
111
|
-
useImage image image: item.defaultImage
|
|
112
|
-
, resize: "200x200"
|
|
113
|
-
%}
|
|
94
|
+
{% set image = image(item.defaultImage, resize: "200x200") %}
|
|
114
95
|
|
|
115
96
|
<img
|
|
116
97
|
src="{{ image.url }}"
|
|
@@ -137,10 +118,7 @@
|
|
|
137
118
|
{% else %}
|
|
138
119
|
<div class="PartItem sideImage">
|
|
139
120
|
{% if item.defaultImage %}
|
|
140
|
-
{%
|
|
141
|
-
useImage image image: item.defaultImage
|
|
142
|
-
, resize: "200x200"
|
|
143
|
-
%}
|
|
121
|
+
{% set image = image(item.defaultImage, resize: "200x200") %}
|
|
144
122
|
|
|
145
123
|
<img
|
|
146
124
|
src="{{ image.url }}"
|
|
@@ -169,10 +147,7 @@
|
|
|
169
147
|
{% if item.type == 'partner' %}
|
|
170
148
|
<div class="PartItem partner">
|
|
171
149
|
{% if item.defaultImage %}
|
|
172
|
-
{%
|
|
173
|
-
useImage image image: item.defaultImage
|
|
174
|
-
, resize: "200x200"
|
|
175
|
-
%}
|
|
150
|
+
{% set image = image(item.defaultImage, resize: "200x200") %}
|
|
176
151
|
|
|
177
152
|
<img
|
|
178
153
|
src="{{ image.url }}"
|
|
@@ -199,10 +174,7 @@
|
|
|
199
174
|
{% else %}
|
|
200
175
|
<div class="PartItem sideImage">
|
|
201
176
|
{% if item.defaultImage %}
|
|
202
|
-
{%
|
|
203
|
-
useImage image image: item.defaultImage
|
|
204
|
-
, resize: "200x200"
|
|
205
|
-
%}
|
|
177
|
+
{% set image = image(item.defaultImage, resize: "200x200") %}
|
|
206
178
|
|
|
207
179
|
<img
|
|
208
180
|
src="{{ image.url }}"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<p>
|
|
4
4
|
{% for translation in doc.translations %}
|
|
5
5
|
<a href="{{ translation.url }}">{{ translation.languageLabel }}</a>
|
|
6
6
|
{% endfor %}
|
|
7
7
|
</p>
|
|
8
|
-
{% endblock %}
|
|
8
|
+
{% endblock %}
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</head>
|
|
15
15
|
|
|
16
16
|
<body>
|
|
17
|
-
{% render 'partials/header', doc: doc
|
|
17
|
+
{% render 'partials/header', doc: doc %}
|
|
18
18
|
|
|
19
19
|
{% block -%}
|
|
20
20
|
{%- endblock %}
|
|
21
21
|
|
|
22
|
-
{% render 'partials/footer', doc: doc
|
|
22
|
+
{% render 'partials/footer', doc: doc %}
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<main class="Container">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
{% if doc.featuredImage %}
|
|
6
6
|
<div class="HeroBanner">
|
|
7
|
-
{%
|
|
8
|
-
{%
|
|
9
|
-
{%
|
|
7
|
+
{% set smallImg = image(doc.featuredImage, resize: "324x200") %}
|
|
8
|
+
{% set mediumImg = image(doc.featuredImage, resize: "1024x545") %}
|
|
9
|
+
{% set largeImg = image(doc.featuredImage, resize: "1200x545") %}
|
|
10
10
|
|
|
11
11
|
<picture>
|
|
12
12
|
<source
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
{% if doc.field.gallery %}
|
|
46
46
|
<div class="Gallery ">
|
|
47
47
|
{% for media in doc.field.gallery %}
|
|
48
|
-
{%
|
|
49
|
-
{%
|
|
50
|
-
{%
|
|
48
|
+
{% set smallImg = image(media, resize: "324x200") %}
|
|
49
|
+
{% set mediumImg = image(media, resize: "1024x545") %}
|
|
50
|
+
{% set largeImg = image(media, resize: "1200x545") %}
|
|
51
51
|
|
|
52
52
|
<picture>
|
|
53
53
|
<source
|
|
@@ -89,21 +89,23 @@
|
|
|
89
89
|
<p>testTime: {{ doc.field.testTime }}</p>
|
|
90
90
|
|
|
91
91
|
<div class="Paginate Grid12">
|
|
92
|
-
{%
|
|
93
|
-
|
|
92
|
+
{% set previous = doc(doc.siblings.previous) %}
|
|
93
|
+
{% if previous %}
|
|
94
|
+
<a href="{{ previous.url }}" class="Paginate-prev Span6">
|
|
94
95
|
<span class="Paginate-prevBtn">
|
|
95
96
|
{{ 'Previous' | t }}
|
|
96
97
|
</span>
|
|
97
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
98
|
+
<h2 class="Paginate-title EllipsisLine2">{{ previous.title }}</h2>
|
|
98
99
|
</a>
|
|
99
100
|
{% endif %}
|
|
100
101
|
|
|
101
|
-
{%
|
|
102
|
-
|
|
102
|
+
{% set next = doc(doc.siblings.next) %}
|
|
103
|
+
{% if next %}
|
|
104
|
+
<a href="{{ next.url }}" class="Paginate-next Span6">
|
|
103
105
|
<span class="Paginate-nextBtn ">
|
|
104
106
|
{{ 'Next' | t }}
|
|
105
107
|
</span>
|
|
106
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
108
|
+
<h2 class="Paginate-title EllipsisLine2">{{ next.title }}</h2>
|
|
107
109
|
</a>
|
|
108
110
|
{% endif %}
|
|
109
111
|
</div>
|
|
@@ -1,35 +1,15 @@
|
|
|
1
|
-
{%
|
|
2
|
-
layout "layouts/main-layout.liquid"
|
|
3
|
-
, doc: doc
|
|
4
|
-
, site: site
|
|
5
|
-
%}
|
|
1
|
+
{% layout "layouts/main-layout.liquid", doc: doc %}
|
|
6
2
|
{% block %}
|
|
7
|
-
{%
|
|
8
|
-
getPaginatedDocs pages
|
|
9
|
-
, parentId: doc.id
|
|
10
|
-
, pageSize: 4
|
|
11
|
-
%}
|
|
12
3
|
<div class="PageContent Container pt0">
|
|
13
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
14
5
|
<div class="PageContent-headerPage Container">
|
|
15
6
|
<h1 class="PageContent-h1 upper">
|
|
16
7
|
{{ doc.title }}
|
|
17
8
|
</h1>
|
|
18
9
|
</div>
|
|
10
|
+
{% set pages = paginatedDocs(doc.routing.children, by: 4) %}
|
|
19
11
|
<div class="Container">
|
|
20
|
-
|
|
21
|
-
class="Grid12"
|
|
22
|
-
data-effect="paInfiniteLoading"
|
|
23
|
-
data-parent-id="{{ doc.id }}"
|
|
24
|
-
data-start="{{ pages.pageSize }}"
|
|
25
|
-
data-limit="{{ pages.pageSize }}"
|
|
26
|
-
data-total="{{ pages.total }}"
|
|
27
|
-
data-template="post"
|
|
28
|
-
>
|
|
29
|
-
{% for page in pages.items %}
|
|
30
|
-
{% render 'partials/post.public.liquid', doc: page, site: site %}
|
|
31
|
-
{% endfor %}
|
|
32
|
-
</div>
|
|
12
|
+
{% out infiniteLoading(class: "Grid12", paginatedDocs: pages, template: "partials/post.public") %}
|
|
33
13
|
</div>
|
|
34
14
|
</div>
|
|
35
15
|
{% endblock %}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<footer class="SiteFooter Container">
|
|
2
2
|
<span>{{ site.field.title }}</span>
|
|
3
|
-
{%
|
|
4
|
-
|
|
3
|
+
{% set contactPage = doc(site.home.contactPage) %}
|
|
4
|
+
{% if contactPage %}
|
|
5
5
|
<a class="BoringBorders" href="{{ contactPage.url }}">{{ contactPage.title }}</a>
|
|
6
6
|
{% endif %}
|
|
7
7
|
</footer>
|
|
@@ -6,10 +6,7 @@
|
|
|
6
6
|
title="{{ "Aller à l'accueil" | t }}"
|
|
7
7
|
>
|
|
8
8
|
{% if site.field.logo %}
|
|
9
|
-
{%
|
|
10
|
-
useImage logo image: site.field.logo
|
|
11
|
-
, resize: "x50"
|
|
12
|
-
%}
|
|
9
|
+
{% set logo = image(site.field.logo, resize: "x50") %}
|
|
13
10
|
<img
|
|
14
11
|
src="{{ logo.url }}"
|
|
15
12
|
alt=""
|
|
@@ -30,32 +27,32 @@
|
|
|
30
27
|
<li>
|
|
31
28
|
<a class="BoringBorders" data-menu-item-id="{{ site.home.id }}" href="{{ site.home.url }}">{{ 'Home' | t }}</a>
|
|
32
29
|
</li>
|
|
33
|
-
{%
|
|
34
|
-
|
|
30
|
+
{% set postsPage = doc(site.home.posts) %}
|
|
31
|
+
{% if postsPage %}
|
|
35
32
|
<li>
|
|
36
33
|
<a class="BoringBorders" data-menu-item-id="{{ postsPage.id }}" href="{{ postsPage.url }}">
|
|
37
34
|
{{- postsPage.title -}}
|
|
38
35
|
</a>
|
|
39
36
|
</li>
|
|
40
37
|
{% endif %}
|
|
41
|
-
{%
|
|
42
|
-
|
|
38
|
+
{% set exhibitionPage = doc(site.home.exhibition) %}
|
|
39
|
+
{% if exhibitionPage %}
|
|
43
40
|
<li>
|
|
44
41
|
<a class="BoringBorders" data-menu-item-id="{{ exhibitionPage.id }}" href="{{ exhibitionPage.url }}">
|
|
45
42
|
{{- exhibitionPage.title -}}
|
|
46
43
|
</a>
|
|
47
44
|
</li>
|
|
48
45
|
{% endif %}
|
|
49
|
-
{%
|
|
50
|
-
|
|
46
|
+
{% set aboutPage = doc(site.home.aboutPage) %}
|
|
47
|
+
{% if aboutPage %}
|
|
51
48
|
<li>
|
|
52
49
|
<a class="BoringBorders" data-menu-item-id="{{ aboutPage.id }}" href="{{ aboutPage.url }}">
|
|
53
50
|
{{- aboutPage.title -}}
|
|
54
51
|
</a>
|
|
55
52
|
</li>
|
|
56
53
|
{% endif %}
|
|
57
|
-
{%
|
|
58
|
-
|
|
54
|
+
{% set contactPage = doc(site.home.contactPage) %}
|
|
55
|
+
{% if contactPage %}
|
|
59
56
|
<li>
|
|
60
57
|
<a class="BoringBorders" data-menu-item-id="{{ contactPage.id }}" href="{{ contactPage.url }}">
|
|
61
58
|
{{- contactPage.field.buttonLabel -}}
|
|
@@ -64,18 +61,13 @@
|
|
|
64
61
|
{% endif %}
|
|
65
62
|
</ul>
|
|
66
63
|
</nav>
|
|
67
|
-
|
|
68
|
-
{%
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
data-search-url="{{ searchPage.url }}"
|
|
75
|
-
></div>
|
|
76
|
-
<div data-mobile-menu="button"></div>
|
|
77
|
-
</div>
|
|
78
|
-
{% endif %}
|
|
64
|
+
<div>
|
|
65
|
+
{% set searchPage = doc(site.home.searchPage) %}
|
|
66
|
+
{% if searchPage %}
|
|
67
|
+
{% out searchOpener(url: searchPage.url, class: "HeaderBar-searchBtn") %}
|
|
68
|
+
{% endif %}
|
|
69
|
+
<div data-mobile-menu="button"></div>
|
|
70
|
+
</div>
|
|
79
71
|
</header>
|
|
80
72
|
<div
|
|
81
73
|
class="_paMobileMenu"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<div class="Container">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
<h1>{{ doc.title }}</h1>
|
|
6
6
|
|
|
7
7
|
{% if doc.field.tags %}
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
|
|
21
21
|
{% if doc.featuredImage %}
|
|
22
22
|
<div class="HeroBanner">
|
|
23
|
-
{%
|
|
24
|
-
{%
|
|
25
|
-
{%
|
|
23
|
+
{% set smallImg = image(doc.featuredImage, resize: "324x200") %}
|
|
24
|
+
{% set mediumImg = image(doc.featuredImage, resize: "1024x545") %}
|
|
25
|
+
{% set largeImg = image(doc.featuredImage, resize: "1200x545") %}
|
|
26
26
|
|
|
27
27
|
<picture>
|
|
28
28
|
<source
|
|
@@ -51,21 +51,23 @@
|
|
|
51
51
|
{% endif %}
|
|
52
52
|
<div class="Container Text selfContained justified">{{ doc.field.htmlContent | raw }}</div>
|
|
53
53
|
<div class="Paginate Grid12">
|
|
54
|
-
{%
|
|
55
|
-
|
|
54
|
+
{% set previous = doc(doc.siblings.previous) %}
|
|
55
|
+
{% if previous %}
|
|
56
|
+
<a href="{{ previous.url }}" class="Paginate-prev Span6">
|
|
56
57
|
<span class="Paginate-prevBtn">
|
|
57
58
|
{{ 'Previous' | t }}
|
|
58
59
|
</span>
|
|
59
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
60
|
+
<h2 class="Paginate-title EllipsisLine2">{{ previous.title }}</h2>
|
|
60
61
|
</a>
|
|
61
62
|
{% endif %}
|
|
62
63
|
|
|
63
|
-
{%
|
|
64
|
-
|
|
64
|
+
{% set next = doc(doc.siblings.next) %}
|
|
65
|
+
{% if next %}
|
|
66
|
+
<a href="{{ next.url }}" class="Paginate-next Span6">
|
|
65
67
|
<span class="Paginate-nextBtn ">
|
|
66
68
|
{{ 'Next' | t }}
|
|
67
69
|
</span>
|
|
68
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
70
|
+
<h2 class="Paginate-title EllipsisLine2">{{ next.title }}</h2>
|
|
69
71
|
</a>
|
|
70
72
|
{% endif %}
|
|
71
73
|
</div>
|
|
@@ -1,35 +1,15 @@
|
|
|
1
|
-
{%
|
|
2
|
-
layout "layouts/main-layout.liquid"
|
|
3
|
-
, doc: doc
|
|
4
|
-
, site: site
|
|
5
|
-
%}
|
|
1
|
+
{% layout "layouts/main-layout.liquid", doc: doc %}
|
|
6
2
|
{% block %}
|
|
7
|
-
{%
|
|
8
|
-
getPaginatedDocs posts
|
|
9
|
-
, parentId: doc.id
|
|
10
|
-
, pageSize: 4
|
|
11
|
-
%}
|
|
12
3
|
<div class="PageContent Container pt0">
|
|
13
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
14
5
|
<div class="PageContent-headerPage Container">
|
|
15
6
|
<h1 class="PageContent-h1 upper">
|
|
16
7
|
{{ doc.title }}
|
|
17
8
|
</h1>
|
|
18
9
|
</div>
|
|
10
|
+
{% set posts = paginatedDocs(doc.routing.children, by: 4) %}
|
|
19
11
|
<div class="Container">
|
|
20
|
-
|
|
21
|
-
class="Grid12"
|
|
22
|
-
data-effect="paInfiniteLoading"
|
|
23
|
-
data-parent-id="{{ doc.id }}"
|
|
24
|
-
data-start="{{ posts.pageSize }}"
|
|
25
|
-
data-limit="{{ posts.pageSize }}"
|
|
26
|
-
data-total="{{ posts.total }}"
|
|
27
|
-
data-template="post"
|
|
28
|
-
>
|
|
29
|
-
{% for post in posts.items %}
|
|
30
|
-
{% render 'partials/post.public.liquid', doc: post, site: site %}
|
|
31
|
-
{% endfor %}
|
|
32
|
-
</div>
|
|
12
|
+
{% out infiniteLoading(class: "Grid12", paginatedDocs: posts, template: "partials/post.public") %}
|
|
33
13
|
</div>
|
|
34
14
|
</div>
|
|
35
15
|
{% endblock %}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<div class="Container w100">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
{% if doc.featuredImage %}
|
|
6
6
|
<div class="HeroBanner">
|
|
7
7
|
<picture>
|
|
8
|
-
{%
|
|
9
|
-
{%
|
|
10
|
-
{%
|
|
8
|
+
{% set smallImg = image(doc.featuredImage, resize: "324x200") %}
|
|
9
|
+
{% set mediumImg = image(doc.featuredImage, resize: "1024x545") %}
|
|
10
|
+
{% set largeImg = image(doc.featuredImage, resize: "1200x545") %}
|
|
11
11
|
|
|
12
12
|
<source
|
|
13
13
|
width="{{ smallImg.width }}"
|
|
@@ -41,10 +41,6 @@
|
|
|
41
41
|
{% endif %}
|
|
42
42
|
<h1>{{ doc.title }}</h1>
|
|
43
43
|
<div class="Text">{{ doc.field.htmlContent | raw }}</div>
|
|
44
|
-
|
|
45
|
-
data-effect="paSearchApp"
|
|
46
|
-
data-template="result-item"
|
|
47
|
-
data-limit="1"
|
|
48
|
-
></div>
|
|
44
|
+
{% out searchApp(template: "partials/result-item.public", by: 1) %}
|
|
49
45
|
</div>
|
|
50
46
|
{% endblock %}
|
|
@@ -4,32 +4,16 @@
|
|
|
4
4
|
, site: site
|
|
5
5
|
%}
|
|
6
6
|
{% block %}
|
|
7
|
-
{%
|
|
8
|
-
getPaginatedDocs shelves
|
|
9
|
-
, parentId: doc.id
|
|
10
|
-
, limit: 4
|
|
11
|
-
%}
|
|
12
7
|
<div class="PageContent Container pt0">
|
|
13
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
8
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
14
9
|
<div class="PageContent-headerPage Container">
|
|
15
10
|
<h1 class="PageContent-h1 upper">
|
|
16
11
|
{{ doc.title }}
|
|
17
12
|
</h1>
|
|
18
13
|
</div>
|
|
19
14
|
<div class="Container">
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
data-effect="paInfiniteLoading"
|
|
23
|
-
data-parent-id="{{ doc.id }}"
|
|
24
|
-
data-start="{{ shelves.pageSize }}"
|
|
25
|
-
data-limit="{{ shelves.pageSize }}"
|
|
26
|
-
data-total="{{ shelves.total }}"
|
|
27
|
-
data-template="post"
|
|
28
|
-
>
|
|
29
|
-
{% for shelf in shelves.items %}
|
|
30
|
-
{% render 'partials/post.public.liquid', doc: shelf %}
|
|
31
|
-
{% endfor %}
|
|
32
|
-
</div>
|
|
15
|
+
{% set shelves = paginatedDocs(doc.routing.children, by: 4) %}
|
|
16
|
+
{% out infiniteLoading(class: "Grid12", paginatedDocs: shelves, template: "partials/post.public") %}
|
|
33
17
|
</div>
|
|
34
18
|
</div>
|
|
35
19
|
{% endblock %}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{%
|
|
3
|
+
<main class="Container">
|
|
4
|
+
<h1>{{ doc.title }}</h1>
|
|
5
|
+
<div class="Container Text selfContained justified">{{ doc.field.htmlContent | raw }}</div>
|
|
6
|
+
|
|
7
|
+
{% set posts = paginatedDocs(site.home.posts.children, by: 4, term: doc, labeledWith: "tags") %}
|
|
8
|
+
{% out infiniteLoading(class: "Grid12", paginatedDocs: posts, template: "partials/post.public") %}
|
|
9
|
+
</main>
|
|
10
|
+
{% endblock %}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{% layout
|
|
1
|
+
{% layout 'layouts/main-layout.liquid' %}
|
|
2
2
|
{% block %}
|
|
3
3
|
<main class="Container">
|
|
4
|
-
{% render 'partials/breadcrumb', doc: doc
|
|
4
|
+
{% render 'partials/breadcrumb', doc: doc %}
|
|
5
5
|
{% if doc.featuredImage %}
|
|
6
6
|
<div class="HeroBanner">
|
|
7
|
-
{%
|
|
8
|
-
{%
|
|
9
|
-
{%
|
|
7
|
+
{% set smallImg = image(doc.featuredImage, resize: "324x200") %}
|
|
8
|
+
{% set mediumImg = image(doc.featuredImage, resize: "1024x545") %}
|
|
9
|
+
{% set largeImg = image(doc.featuredImage, resize: "1200x545") %}
|
|
10
10
|
|
|
11
11
|
<picture>
|
|
12
12
|
<source
|
|
@@ -46,21 +46,23 @@
|
|
|
46
46
|
|
|
47
47
|
<div class="Container Text selfContained justified">{{ doc.field.htmlContent | raw }}</div>
|
|
48
48
|
<div class="Paginate Grid12">
|
|
49
|
-
{%
|
|
50
|
-
|
|
49
|
+
{% set previous = doc(doc.siblings.previous) %}
|
|
50
|
+
{% if previous %}
|
|
51
|
+
<a href="{{ previous.url }}" class="Paginate-prev Span6">
|
|
51
52
|
<span class="Paginate-prevBtn">
|
|
52
53
|
{{ 'Previous' | t }}
|
|
53
54
|
</span>
|
|
54
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
55
|
+
<h2 class="Paginate-title EllipsisLine2">{{ previous.title }}</h2>
|
|
55
56
|
</a>
|
|
56
57
|
{% endif %}
|
|
57
58
|
|
|
58
|
-
{%
|
|
59
|
-
|
|
59
|
+
{% set next = doc(doc.siblings.next) %}
|
|
60
|
+
{% if next %}
|
|
61
|
+
<a href="{{ next.url }}" class="Paginate-next Span6">
|
|
60
62
|
<span class="Paginate-nextBtn ">
|
|
61
63
|
{{ 'Next' | t }}
|
|
62
64
|
</span>
|
|
63
|
-
<h2 class="Paginate-title EllipsisLine2">{{
|
|
65
|
+
<h2 class="Paginate-title EllipsisLine2">{{ next.title }}</h2>
|
|
64
66
|
</a>
|
|
65
67
|
{% endif %}
|
|
66
68
|
</div>
|