@paroicms/playground_demo1 0.61.0 → 0.61.2

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_demo1@0.61.0 build
2
+ > @paroicms/playground_demo1@0.61.2 build
3
3
  > npm run scss
4
4
 
5
5
 
6
- > @paroicms/playground_demo1@0.61.0 scss
6
+ > @paroicms/playground_demo1@0.61.2 scss
7
7
  > npm run _scss -- --no-source-map --style=compressed
8
8
 
9
9
 
10
- > @paroicms/playground_demo1@0.61.0 _scss
10
+ > @paroicms/playground_demo1@0.61.2 _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,24 @@
1
1
  # @paroicms/playground_seoul
2
2
 
3
+ ## 0.61.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [114ceb0]
8
+ - @paroicms/content-loading-plugin@0.26.2
9
+ - @paroicms/internal-link-plugin@0.21.2
10
+ - @paroicms/contact-form-plugin@0.32.2
11
+ - @paroicms/quill-editor-plugin@1.41.2
12
+ - @paroicms/public-menu-plugin@0.18.2
13
+ - @paroicms/video-plugin@0.35.2
14
+ - @paroicms/script-lib@0.2.2
15
+
16
+ ## 0.61.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 2e4507d: Fixed: templates for routing clusters
21
+
3
22
  ## 0.61.0
4
23
 
5
24
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/playground_demo1",
3
- "version": "0.61.0",
3
+ "version": "0.61.2",
4
4
  "description": "Boilerplate website for ParoiCMS",
5
5
  "author": "Paroi Team",
6
6
  "license": "MIT",
@@ -24,13 +24,13 @@
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.1",
28
- "@paroicms/content-loading-plugin": "0.26.1",
29
- "@paroicms/internal-link-plugin": "0.21.1",
30
- "@paroicms/public-menu-plugin": "0.18.1",
31
- "@paroicms/quill-editor-plugin": "1.41.1",
32
- "@paroicms/script-lib": "0.2.1",
33
- "@paroicms/video-plugin": "0.35.1"
27
+ "@paroicms/contact-form-plugin": "0.32.2",
28
+ "@paroicms/content-loading-plugin": "0.26.2",
29
+ "@paroicms/internal-link-plugin": "0.21.2",
30
+ "@paroicms/public-menu-plugin": "0.18.2",
31
+ "@paroicms/quill-editor-plugin": "1.41.2",
32
+ "@paroicms/script-lib": "0.2.2",
33
+ "@paroicms/video-plugin": "0.35.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "concurrently": "~9.1.2",
@@ -7,4 +7,6 @@ MissingTemplate:
7
7
  RemoteAsset:
8
8
  enabled: false
9
9
  UnknownFilter:
10
+ enabled: false
11
+ VariableName:
10
12
  enabled: false
@@ -1,11 +1,6 @@
1
1
  {% layout "layouts/main-layout.liquid" doc: doc site: site %}
2
2
  {% block %}
3
- {% getDoc postsPage id: site.home.posts.id %}
4
- {%
5
- getDocs posts
6
- , parentId: site.home.posts.id
7
- , limit: 4
8
- %}
3
+ {% getDocs posts parentId: site.home.posts.id limit: 4 %}
9
4
  {% getDocs pages parentId: site.home.pages.id %}
10
5
 
11
6
  <main>
@@ -15,7 +10,10 @@
15
10
  <section class="TileList Container pad">
16
11
  <h2>
17
12
  Latest posts
18
- <a class="Mini" href="{{ postsPage.url }}">see all</a>
13
+ {% if site.home.posts %}
14
+ {% assign postsPage = site.home.posts.doc %}
15
+ <a class="Mini" href="{{ postsPage.url }}">see all</a>
16
+ {% endif %}
19
17
  </h2>
20
18
  <div class="Grid12">
21
19
  {% for post in posts %}
@@ -1,8 +1,9 @@
1
- {% getDoc contactPage
2
- , id: site.home.contactPage.id %}
3
1
  <div class="_revertedColors PageFooterArea">
4
2
  <footer class="PageFooter Container pad">
5
3
  <div class="Text">{{ site.field.footerMention | raw }}</div>
6
- <a class="Btn" href="{{ contactPage.url }}">{{ contactPage.title }}</a>
4
+ {% if site.home.contactPage %}
5
+ {% assign contactPage = site.home.contactPage.doc %}
6
+ <a class="Btn" href="{{ contactPage.url }}">{{ contactPage.title }}</a>
7
+ {% endif %}
7
8
  </footer>
8
- </div>
9
+ </div>
@@ -1,9 +1,3 @@
1
- {% getDoc postsPage, id: site.home.posts.id %}
2
- {% getDoc aboutPage, id: site.home.aboutPage.id %}
3
- {% getDoc contactPage, id: site.home.contactPage.id %}
4
- {% getDoc searchPage, id: site.home.searchPage.id %}
5
- {% getDocs pages, parentId: site.home.pages.id %}
6
-
7
1
  <div class="_revertedColors">
8
2
  <header class="Container pad Flex spaceBetween PageHeader">
9
3
  <div data-mobile-menu-part="logoTitle">
@@ -45,59 +39,79 @@
45
39
  >Home</a
46
40
  >
47
41
  </li>
48
- <li>
49
- <span class="Btn disabled">Pages</span>
50
- <ul class="Menu sub">
51
- {% for page in pages %}
52
- <li>
53
- <a
54
- class="Btn"
55
- data-menu-item-id="{{ page.id }}"
56
- href="{{ page.url }}"
57
- >
58
- {{- page.title -}}
59
- </a>
60
- </li>
61
- {% endfor %}
62
- </ul>
63
- </li>
64
- <li>
65
- <a
66
- class="Btn"
67
- data-menu-item-id="{{ postsPage.id }}"
68
- href="{{ postsPage.url }}"
69
- >
70
- {{- postsPage.title -}}
71
- </a>
72
- </li>
73
- <li>
74
- <a
75
- class="Btn"
76
- data-menu-item-id="{{ aboutPage.id }}"
77
- href="{{ aboutPage.url }}"
78
- >
79
- {{- aboutPage.title -}}
80
- </a>
81
- </li>
82
- <li>
83
- <a
84
- class="Btn"
85
- data-menu-item-id="{{ contactPage.id }}"
86
- href="{{ contactPage.url }}"
87
- >
88
- {{- contactPage.field.buttonLabel -}}
89
- </a>
90
- </li>
42
+
43
+ {% if site.home.pages %}
44
+ {% getDocs pages, parentId: site.home.pages.id %}
45
+ <li>
46
+ <span class="Btn disabled">Pages</span>
47
+ <ul class="Menu sub">
48
+ {% for page in pages %}
49
+ <li>
50
+ <a
51
+ class="Btn"
52
+ data-menu-item-id="{{ page.id }}"
53
+ href="{{ page.url }}"
54
+ >
55
+ {{- page.title -}}
56
+ </a>
57
+ </li>
58
+ {% endfor %}
59
+ </ul>
60
+ </li>
61
+ {% endif %}
62
+
63
+ {% if site.home.posts %}
64
+ {% assign postsPage = site.home.posts.doc %}
65
+ <li>
66
+ <a
67
+ class="Btn"
68
+ data-menu-item-id="{{ postsPage.id }}"
69
+ href="{{ postsPage.url }}"
70
+ >
71
+ {{- postsPage.title -}}
72
+ </a>
73
+ </li>
74
+ {% endif %}
75
+
76
+ {% if site.home.aboutPage %}
77
+ {% assign aboutPage = site.home.aboutPage.doc %}
78
+ <li>
79
+ <a
80
+ class="Btn"
81
+ data-menu-item-id="{{ aboutPage.id }}"
82
+ href="{{ aboutPage.url }}"
83
+ >
84
+ {{- aboutPage.title -}}
85
+ </a>
86
+ </li>
87
+ {% endif %}
88
+
89
+ {% if site.home.contactPage %}
90
+ {% assign contactPage = site.home.contactPage.doc %}
91
+ <li>
92
+ <a
93
+ class="Btn"
94
+ data-menu-item-id="{{ contactPage.id }}"
95
+ href="{{ contactPage.url }}"
96
+ >
97
+ {{- contactPage.field.buttonLabel -}}
98
+ </a>
99
+ </li>
100
+ {% endif %}
91
101
  </ul>
92
102
  </nav>
93
- <div>
94
- <div
95
- data-effect="paSearchOpener"
96
- data-icon-color=""
97
- data-search-url="{{ searchPage.url }}"
98
- ></div>
99
- <div data-mobile-menu="button"></div>
100
- </div>
103
+
104
+ {% if site.home.searchPage %}
105
+ {% assign searchPage = site.home.searchPage.doc %}
106
+ <div>
107
+ <div
108
+ data-effect="paSearchOpener"
109
+ data-icon-color=""
110
+ data-search-url="{{ searchPage.url }}"
111
+ ></div>
112
+ <div data-mobile-menu="button"></div>
113
+ </div>
114
+ {% endif %}
101
115
  </header>
102
116
  </div>
103
117
  <div