@paroicms/playground_demo2 0.68.1 → 0.69.1

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.
@@ -1,12 +1,12 @@
1
1
 
2
- > @paroicms/playground_demo2@0.68.1 build
2
+ > @paroicms/playground_demo2@0.69.1 build
3
3
  > npm run scss
4
4
 
5
5
 
6
- > @paroicms/playground_demo2@0.68.1 scss
6
+ > @paroicms/playground_demo2@0.69.1 scss
7
7
  > npm run _scss -- --no-source-map --style=compressed
8
8
 
9
9
 
10
- > @paroicms/playground_demo2@0.68.1 _scss
10
+ > @paroicms/playground_demo2@0.69.1 _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,28 @@
1
1
  # @paroicms/playground_seoul
2
2
 
3
+ ## 0.69.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e4507d: Fixed: templates for routing clusters
8
+
9
+ ## 0.69.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 784db24: Added routing clusters feature
14
+
15
+ ### Patch Changes
16
+
17
+ - @paroicms/script-lib@0.2.1
18
+ - @paroicms/contact-form-plugin@0.32.1
19
+ - @paroicms/content-loading-plugin@0.26.1
20
+ - @paroicms/internal-link-plugin@0.21.1
21
+ - @paroicms/list-field-plugin@0.25.1
22
+ - @paroicms/public-menu-plugin@0.18.1
23
+ - @paroicms/quill-editor-plugin@1.41.1
24
+ - @paroicms/video-plugin@0.35.1
25
+
3
26
  ## 0.68.1
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/playground_demo2",
3
- "version": "0.68.1",
3
+ "version": "0.69.1",
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.32.0",
28
- "@paroicms/content-loading-plugin": "0.26.0",
29
- "@paroicms/internal-link-plugin": "0.21.0",
30
- "@paroicms/list-field-plugin": "0.25.0",
31
- "@paroicms/public-menu-plugin": "0.18.0",
32
- "@paroicms/quill-editor-plugin": "1.41.0",
33
- "@paroicms/script-lib": "0.2.0",
34
- "@paroicms/video-plugin": "0.35.0"
27
+ "@paroicms/contact-form-plugin": "0.32.1",
28
+ "@paroicms/content-loading-plugin": "0.26.1",
29
+ "@paroicms/internal-link-plugin": "0.21.1",
30
+ "@paroicms/list-field-plugin": "0.25.1",
31
+ "@paroicms/public-menu-plugin": "0.18.1",
32
+ "@paroicms/quill-editor-plugin": "1.41.1",
33
+ "@paroicms/script-lib": "0.2.1",
34
+ "@paroicms/video-plugin": "0.35.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "concurrently": "~9.1.2",
package/site-schema.json CHANGED
@@ -56,6 +56,9 @@
56
56
  "sorting": "manual"
57
57
  }
58
58
  ],
59
+ "cluster": {
60
+ "autoCreate": true
61
+ },
59
62
  "routingChildren": ["pages", "posts", "aboutPage", "contactPage", "searchPage", "exhibition"],
60
63
  "adminUi": {
61
64
  "defaultTab": "edit"
@@ -176,7 +179,11 @@
176
179
  "storedAs": "varchar",
177
180
  "dataType": "date"
178
181
  }
179
- ]
182
+ ],
183
+ "cluster": {
184
+ "autoCreate": true
185
+ },
186
+ "routingChildren": ["exhibition", "pages"]
180
187
  },
181
188
  {
182
189
  "typeName": "posts",
@@ -7,4 +7,6 @@ MissingTemplate:
7
7
  RemoteAsset:
8
8
  enabled: false
9
9
  UnknownFilter:
10
+ enabled: false
11
+ VariableName:
10
12
  enabled: false
@@ -60,10 +60,12 @@
60
60
  {% render 'partials/post.public.liquid', doc: post %}
61
61
  {% endfor %}
62
62
  </div>
63
- {% getDoc postsPage, id: site.home.posts.id %}
64
- <a href="{{ postsPage.url }}">
65
- {{ 'All posts' | t }}
66
- </a>
63
+ {% if site.home.posts %}
64
+ {% assign postsPage = site.home.posts.doc %}
65
+ <a href="{{ postsPage.url }}">
66
+ {{ 'All posts' | t }}
67
+ </a>
68
+ {% endif %}
67
69
  </section>
68
70
 
69
71
  {% getDocs pages, parentId: site.home.pages.id %}
@@ -1,13 +1,19 @@
1
1
  <div class="Breadcrumb">
2
- {% for item in doc.breadcrumb %}
3
- <a class="Breadcrumb-a HFont" href="{{ item.url }}">{{ item.title }}</a>
4
- <img
5
- class="Breadcrumb-imgIcon"
6
- src="{{ site.assetsUrl }}/icons/arrow-grey.svg"
7
- width="32"
8
- height="32"
9
- loading="lazy"
10
- alt="/">
2
+ {% for crumb in doc.breadcrumb %}
3
+ {% if crumb.url %}
4
+ <a class="Breadcrumb-a HFont" href="{{ crumb.url }}">{{ crumb.title }}</a>
5
+ {% else %}
6
+ <span>{{ crumb.title }}</span>
7
+ {% endif %}
8
+ {% unless forloop.last %}
9
+ <img
10
+ class="Breadcrumb-imgIcon"
11
+ src="{{ site.assetsUrl }}/icons/arrow-grey.svg"
12
+ width="32"
13
+ height="32"
14
+ loading="lazy"
15
+ alt="/"
16
+ >
17
+ {% endunless %}
11
18
  {% endfor %}
12
- <span class="Breadcrumb-span HFont">{{ doc.title }}</span>
13
- </div>
19
+ </div>
@@ -1,6 +1,7 @@
1
- {% getDoc contactPage
2
- , id: site.home.contactPage.id %}
3
1
  <footer class="SiteFooter Container">
4
2
  <span>{{ site.field.title }}</span>
5
- <a class="BoringBorders" href="{{ contactPage.url }}">{{ contactPage.title }}</a>
6
- </footer>
3
+ {% if site.home.contactPage %}
4
+ {% assign contactPage = site.home.contactPage.doc %}
5
+ <a class="BoringBorders" href="{{ contactPage.url }}">{{ contactPage.title }}</a>
6
+ {% endif %}
7
+ </footer>
@@ -1,9 +1,3 @@
1
- {% getDoc postsPage, id: site.home.posts.id %}
2
- {% getDoc exhibitionPage, id: site.home.exhibition.id %}
3
- {% getDoc aboutPage, id: site.home.aboutPage.id %}
4
- {% getDoc contactPage, id: site.home.contactPage.id %}
5
- {% getDoc searchPage, id: site.home.searchPage.id %}
6
-
7
1
  <header class="HeaderBar Container">
8
2
  <div data-mobile-menu-part="logoTitle" class="HeaderBar-logoTitle">
9
3
  <a
@@ -36,37 +30,52 @@
36
30
  <li>
37
31
  <a class="BoringBorders" data-menu-item-id="{{ site.home.id }}" href="{{ site.home.url }}">{{ 'Home' | t }}</a>
38
32
  </li>
39
- <li>
40
- <a class="BoringBorders" data-menu-item-id="{{ postsPage.id }}" href="{{ postsPage.url }}">
41
- {{- postsPage.title -}}
42
- </a>
43
- </li>
44
- <li>
45
- <a class="BoringBorders" data-menu-item-id="{{ exhibitionPage.id }}" href="{{ exhibitionPage.url }}">
46
- {{- exhibitionPage.title -}}
47
- </a>
48
- </li>
49
- <li>
50
- <a class="BoringBorders" data-menu-item-id="{{ aboutPage.id }}" href="{{ aboutPage.url }}">
51
- {{- aboutPage.title -}}
52
- </a>
53
- </li>
54
- <li>
55
- <a class="BoringBorders" data-menu-item-id="{{ contactPage.id }}" href="{{ contactPage.url }}">
56
- {{- contactPage.field.buttonLabel -}}
57
- </a>
58
- </li>
33
+ {% if site.home.posts %}
34
+ {% assign postsPage = site.home.posts.doc %}
35
+ <li>
36
+ <a class="BoringBorders" data-menu-item-id="{{ postsPage.id }}" href="{{ postsPage.url }}">
37
+ {{- postsPage.title -}}
38
+ </a>
39
+ </li>
40
+ {% endif %}
41
+ {% if site.home.exhibition %}
42
+ {% assign exhibitionPage = site.home.exhibition.doc %}
43
+ <li>
44
+ <a class="BoringBorders" data-menu-item-id="{{ exhibitionPage.id }}" href="{{ exhibitionPage.url }}">
45
+ {{- exhibitionPage.title -}}
46
+ </a>
47
+ </li>
48
+ {% endif %}
49
+ {% if site.home.aboutPage %}
50
+ {% assign aboutPage = site.home.aboutPage.doc %}
51
+ <li>
52
+ <a class="BoringBorders" data-menu-item-id="{{ aboutPage.id }}" href="{{ aboutPage.url }}">
53
+ {{- aboutPage.title -}}
54
+ </a>
55
+ </li>
56
+ {% endif %}
57
+ {% if site.home.contactPage %}
58
+ {% assign contactPage = site.home.contactPage.doc %}
59
+ <li>
60
+ <a class="BoringBorders" data-menu-item-id="{{ contactPage.id }}" href="{{ contactPage.url }}">
61
+ {{- contactPage.field.buttonLabel -}}
62
+ </a>
63
+ </li>
64
+ {% endif %}
59
65
  </ul>
60
66
  </nav>
61
- <div>
62
- <div
63
- class="HeaderBar-searchBtn"
64
- data-effect="paSearchOpener"
65
- data-icon-color=""
66
- data-search-url="{{ searchPage.url }}"
67
- ></div>
68
- <div data-mobile-menu="button"></div>
69
- </div>
67
+ {% if site.home.searchPage %}
68
+ {% assign searchPage = site.home.searchPage.doc %}
69
+ <div>
70
+ <div
71
+ class="HeaderBar-searchBtn"
72
+ data-effect="paSearchOpener"
73
+ data-icon-color=""
74
+ data-search-url="{{ searchPage.url }}"
75
+ ></div>
76
+ <div data-mobile-menu="button"></div>
77
+ </div>
78
+ {% endif %}
70
79
  </header>
71
80
  <div
72
81
  class="_paMobileMenu"