@paroicms/playground_demo2 0.76.4 → 0.76.6

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,4 +1,4 @@
1
1
 
2
- > @paroicms/playground_demo2@0.76.4 build
2
+ > @paroicms/playground_demo2@0.76.6 build
3
3
  > postcss theme/assets/css/index.css -o theme/assets/bundle.css
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @paroicms/playground_seoul
2
2
 
3
+ ## 0.76.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 17e3fdc: Fixed site generator; add pagination
8
+ - Updated dependencies [17e3fdc]
9
+ - @paroicms/content-loading-plugin@0.27.16
10
+ - @paroicms/tiptap-editor-plugin@1.2.4
11
+ - @paroicms/mcp-plugin@0.2.7
12
+ - @paroicms/script-lib@0.3.15
13
+ - @paroicms/contact-form-plugin@0.33.15
14
+ - @paroicms/internal-link-plugin@0.23.13
15
+ - @paroicms/list-field-plugin@0.28.13
16
+ - @paroicms/platform-video-plugin@0.37.14
17
+ - @paroicms/public-menu-plugin@0.19.16
18
+ - @paroicms/quill-editor-plugin@1.47.3
19
+ - @paroicms/zoom-plugin@0.2.13
20
+
21
+ ## 0.76.5
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [a01d27e]
26
+ - @paroicms/content-loading-plugin@0.27.15
27
+ - @paroicms/platform-video-plugin@0.37.13
28
+ - @paroicms/internal-link-plugin@0.23.12
29
+ - @paroicms/tiptap-editor-plugin@1.2.3
30
+ - @paroicms/contact-form-plugin@0.33.14
31
+ - @paroicms/quill-editor-plugin@1.47.2
32
+ - @paroicms/public-menu-plugin@0.19.15
33
+ - @paroicms/list-field-plugin@0.28.12
34
+ - @paroicms/script-lib@0.3.14
35
+ - @paroicms/zoom-plugin@0.2.12
36
+ - @paroicms/mcp-plugin@0.2.6
37
+
3
38
  ## 0.76.4
4
39
 
5
40
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/playground_demo2",
3
- "version": "0.76.4",
3
+ "version": "0.76.6",
4
4
  "description": "Demonstration website for ParoiCMS",
5
5
  "author": "Paroi Team",
6
6
  "license": "MIT",
@@ -22,17 +22,17 @@
22
22
  "_pino-pretty": "pino-pretty -U false -x 'stats:25' -X 'stats:grey' -t 'yyyy-mm-dd HH:MM:ss.l' -i 'hostname,pid,fqdn'"
23
23
  },
24
24
  "dependencies": {
25
- "@paroicms/contact-form-plugin": "0.33.13",
26
- "@paroicms/content-loading-plugin": "0.27.14",
27
- "@paroicms/internal-link-plugin": "0.23.11",
28
- "@paroicms/list-field-plugin": "0.28.11",
29
- "@paroicms/mcp-plugin": "0.2.5",
30
- "@paroicms/public-menu-plugin": "0.19.14",
31
- "@paroicms/tiptap-editor-plugin": "1.2.2",
32
- "@paroicms/quill-editor-plugin": "1.47.1",
33
- "@paroicms/script-lib": "0.3.13",
34
- "@paroicms/platform-video-plugin": "0.37.12",
35
- "@paroicms/zoom-plugin": "0.2.11"
25
+ "@paroicms/contact-form-plugin": "0.33.15",
26
+ "@paroicms/content-loading-plugin": "0.27.16",
27
+ "@paroicms/internal-link-plugin": "0.23.13",
28
+ "@paroicms/list-field-plugin": "0.28.13",
29
+ "@paroicms/mcp-plugin": "0.2.7",
30
+ "@paroicms/public-menu-plugin": "0.19.16",
31
+ "@paroicms/tiptap-editor-plugin": "1.2.4",
32
+ "@paroicms/quill-editor-plugin": "1.47.3",
33
+ "@paroicms/script-lib": "0.3.15",
34
+ "@paroicms/platform-video-plugin": "0.37.14",
35
+ "@paroicms/zoom-plugin": "0.2.13"
36
36
  },
37
37
  "devDependencies": {
38
38
  "concurrently": "~9.2.1",
package/site-schema.json CHANGED
@@ -172,6 +172,7 @@
172
172
  "documentKind": "routing",
173
173
  "route": "pages",
174
174
  "withFeaturedImage": true,
175
+ "useUrlQuery": true,
175
176
  "regularChildren": ["page"],
176
177
  "regularChildrenSorting": "title asc"
177
178
  },
@@ -7,9 +7,29 @@
7
7
  {{ doc.title }}
8
8
  </h1>
9
9
  </div>
10
- {% set pages = paginatedDocs(doc.routing.children, by: 4) %}
10
+
11
+ <div>============== NEW pagination function ==============</div>
12
+ {%- comment -%} Using the new simplified syntax with page parameter {%- endcomment -%}
13
+ {% set pages = paginatedDocs(doc.routing.children, by: 2, page: doc.urlQuery.page) %}
14
+ {{ pages | info }}
15
+
11
16
  <div class="Container">
12
- {% out infiniteLoading(class: "Grid12", paginatedDocs: pages, template: "partials/post.public") %}
17
+ <div class="Grid12">
18
+ {% for page in pages.items %}
19
+ {% render 'partials/post.public', doc: page %}
20
+ {% endfor %}
21
+ </div>
22
+
23
+ {%- comment -%} Using the new out pagination function {%- endcomment -%}
24
+ {% out pagination(paginatedDocs: pages) %}
25
+ </div>
26
+ <div>============== END pagination ==============</div>
27
+
28
+ {%- comment -%} Keep infiniteLoading for comparison {%- endcomment -%}
29
+ {% set pagesInfinite = paginatedDocs(doc.routing.children, by: 4) %}
30
+ <div class="Container" style="margin-top: 3rem; padding-top: 2rem; border-top: 2px dashed #ccc;">
31
+ <h2 style="text-align: center; margin-bottom: 1rem;">Infinite Loading (for comparison)</h2>
32
+ {% out infiniteLoading(class: "Grid12", paginatedDocs: pagesInfinite, template: "partials/post.public") %}
13
33
  </div>
14
34
  </div>
15
35
  {% endblock %}