@paroicms/generator-site 0.1.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.
@@ -0,0 +1,12 @@
1
+
2
+ > @paroicms/generator-site@0.0.0 build
3
+ > npm run scss
4
+
5
+
6
+ > @paroicms/generator-site@0.0.0 scss
7
+ > npm run _scss -- --no-source-map --style=compressed
8
+
9
+
10
+ > @paroicms/generator-site@0.0.0 _scss
11
+ > sass theme/assets/scss/index.scss theme/assets/css/index.css --no-source-map --style=compressed
12
+
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @paroicms/generator-site
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fde268b: Site generator; site-schema v7
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [fde268b]
12
+ - @paroicms/site-generator-plugin@0.1.0
13
+ - @paroicms/quill-editor-plugin@1.28.0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @paroicms/generator-site
2
+
3
+ ParoiCMS generator website.
4
+
5
+ This package is part of [ParoiCMS](https://www.npmjs.com/package/@paroicms/server).
6
+
7
+ ## License
8
+
9
+ Released under the [MIT license](https://gitlab.com/paroi/opensource/paroicms/-/blob/main/LICENSE.md).
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@paroicms/generator-site",
3
+ "version": "0.1.0",
4
+ "description": "ParoiCMS generator website",
5
+ "author": "Paroi Team",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://gitlab.com/paroi/opensource/paroicms.git",
10
+ "directory": "sites/generator"
11
+ },
12
+ "type": "module",
13
+ "types": "paroicms-site.d.ts",
14
+ "main": "paroicms-site.js",
15
+ "scripts": {
16
+ "start": "paroicms | npm run _pino-pretty",
17
+ "start:dev": "nodemon --watch 'site-schema*.json' --watch config.json",
18
+ "clear": "rimraf theme/assets/css/*",
19
+ "build": "npm run scss",
20
+ "dev": "concurrently -n 'node,scss' -c 'yellow.bold,magenta.bold' 'npm run start:dev' 'npm run scss:watch'",
21
+ "scss": "npm run _scss -- --no-source-map --style=compressed",
22
+ "scss:watch": "npm run _scss && npm run _scss -- --watch",
23
+ "_scss": "sass theme/assets/scss/index.scss theme/assets/css/index.css",
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
+ },
26
+ "dependencies": {
27
+ "@paroicms/site-generator-plugin": "0.1.0",
28
+ "@paroicms/quill-editor-plugin": "1.28.0"
29
+ },
30
+ "devDependencies": {
31
+ "concurrently": "~9.1.2",
32
+ "nodemon": "~3.1.9",
33
+ "pino-pretty": "~13.0.0",
34
+ "rimraf": "~6.0.1",
35
+ "sass": "~1.84.0"
36
+ }
37
+ }
@@ -0,0 +1,3 @@
1
+ export declare const siteDir: string;
2
+ export declare const version: string;
3
+ export declare const fqdn: string;
@@ -0,0 +1,10 @@
1
+ import { resolveModuleDirectory } from "@paroicms/public-server-lib";
2
+ import { readFileSync } from "fs";
3
+ import { join } from "path";
4
+
5
+ const packageDir = resolveModuleDirectory(import.meta.url);
6
+ const packageJson = JSON.parse(readFileSync(join(packageDir, 'package.json'), 'utf-8'));
7
+
8
+ export const siteDir = packageDir;
9
+ export const version = packageJson.version;
10
+ export const fqdn = "generator.paroicms.org";
@@ -0,0 +1,21 @@
1
+ {
2
+ "version": "7",
3
+ "languages": ["en"],
4
+ "plugins": ["@paroicms/site-generator-plugin", "@paroicms/quill-editor-plugin"],
5
+ "nodeTypes": [
6
+ {
7
+ "kind": "site",
8
+ "fields": ["logo", "footerMention"]
9
+ },
10
+ {
11
+ "typeName": "home",
12
+ "kind": "document",
13
+ "documentKind": "routing",
14
+ "withFeaturedImage": false,
15
+ "fields": ["introduction"],
16
+ "backOffice": {
17
+ "defaultTab": "edit"
18
+ }
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "nodeTypes": {
3
+ "home": {
4
+ "label": "Home page"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "nodeTypes": {
3
+ "home": {
4
+ "label": "Page d'accueil"
5
+ }
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ *,*::before,*::after{box-sizing:border-box}:root{--mobileMaxWidth: 640px;--desktopMinWidth: 992px;--siteAppMobileMenuMaxWidth: 992px;--siteAppBtnBgColor: #999;--siteAppSearchIconColor: #999;--siteAppBtnFgColor: #999;--transitionDuration: 0.2s}.Container{margin-left:auto;margin-right:auto;max-width:1200px}.Container.text{max-width:700px}@media not all and (min-width: 640px){.Container{width:90%}}@media(min-width: 640px){.Container.pad{max-width:1240px;padding-left:20px;padding-right:20px}.Container.pad.text{max-width:740px}}@media(min-width: 640px){.Grid6,.Grid9,.Grid12{column-gap:25px;display:grid;row-gap:25px}.Grid6{grid-template-columns:repeat(6, 1fr)}.Grid9{grid-template-columns:repeat(9, 1fr)}.Grid12{grid-template-columns:repeat(12, 1fr)}.Span2{grid-column-end:span 2}.Span3{grid-column-end:span 3}.Span4{grid-column-end:span 4}.Span6{grid-column-end:span 6}.Span12{grid-column-end:span 12}.Column3{grid-column-start:3}.Column4{grid-column-start:4}.Column7{grid-column-start:7}@media not all and (min-width: 992px){.Span4Tablet{grid-column-end:span 4}}}.Text,.InlineText{hyphens:auto;overflow-wrap:break-word}@media not all and (min-width: 640px){.Text,.InlineText{hyphens:auto}}.Text.justified p,.Text.justified li,.InlineText.justified p,.InlineText.justified li{text-align:justify}.Text p,.Text li,.InlineText p,.InlineText li{line-height:1.55}.Text.justify p,.Text.justify li,.InlineText.justify p,.InlineText.justify li{text-align:justify}.Text p,.Text ul,.Text ol,.InlineText p,.InlineText ul,.InlineText ol{margin-bottom:.65em}.Text.book p,.Text.book ul,.Text.book ol,.InlineText.book p,.InlineText.book ul,.InlineText.book ol{margin-bottom:0}.Text ul,.Text ol,.InlineText ul,.InlineText ol{margin-left:3em}.Text ul,.InlineText ul{list-style:disc}.Text ol,.InlineText ol{list-style:decimal}.Text em,.Text i,.InlineText em,.InlineText i{font-style:italic}.Text strong,.Text b,.InlineText strong,.InlineText b{font-weight:bold}.Text s,.InlineText s{text-decoration:line-through}.Text strong,.InlineText strong{color:#111}.Text .ql-align-center,.InlineText .ql-align-center{text-align:center !important}.Text .ql-align-right,.InlineText .ql-align-right{text-align:right !important}.Text .ql-size-small,.InlineText .ql-size-small{font-size:.8125rem;line-height:normal}.Text .ql-size-large,.InlineText .ql-size-large{font-size:1.125rem}.Text .ql-size-huge,.InlineText .ql-size-huge{font-size:2rem}.Text h2:has(.ql-size-huge),.InlineText h2:has(.ql-size-huge){margin-bottom:8px}.Text .hljs,.InlineText .hljs{background-color:#f5f5f5;border-left:5px solid #ddd;font-family:monospace;font-size:.875rem;line-height:1.35;margin:20px 0;overflow-x:auto;padding:10px}@media(min-width: 640px){.Text .hljs,.InlineText .hljs{border-left:15px solid #ddd;margin:20px 10px;padding:10px 20px 10px 15px}}.Text code,.InlineText code{background-color:#f5f5f5;border:1px dotted #ccc;color:#785454;font-family:sans-serif;font-size:.9375rem;padding:1px 3px}.Text::after{clear:both;content:"";display:block}.Text p{text-indent:40px}.Text.bigFirstLetter p:first-of-type::first-letter{color:#555;font-size:1.65em;line-height:1}.Text pre{background-color:#f5f5f5;color:#555;overflow:auto;padding:4px}.Text .Img{height:auto}.Text .Img.left{float:left;margin:5px 20px 10px 0}.Text .Img.right{float:right;margin:5px 0 10px 20px}.Text .Img.left,.Text .Img.right{max-width:50%}.Text .Img.center{display:block;margin:20px auto}.Text h1,.Text h2,.Text h3,.Text h4,.Text h5{line-height:1.25;text-align:left}.Text h1,.Text h2{clear:both;font-size:1.75rem;font-weight:bold;margin:1.2rem 0}.Text h3{font-size:1.125rem;font-weight:bold;margin:.8rem 0}.Text h4,.Text h5{font-size:1rem;font-weight:bold}.Text blockquote{border-left:5px solid #e5e5e5;color:#666;font-style:italic;margin:1.5em 20px 1.5em 30px;padding:.2em 10px;quotes:"«" "»" "‘" "’"}.Text blockquote::after,.Text blockquote::before{color:#ccc;font-size:1.65em;font-weight:bold;line-height:.1em;vertical-align:-0.1em}.Text blockquote::before{content:open-quote;margin-right:.25em}.Text blockquote::after{content:close-quote;margin-left:.25em}.InlineText a,.InlineText a:visited,.Text a,.Text a:visited,a.TextLink,a.TextLink:visited{color:var(--linkColor)}.InlineText a:focus,.InlineText a:hover,.Text a:focus,.Text a:hover,a.TextLink:focus,a.TextLink:hover{text-decoration:underline}a[target=_blank]::after{content:"";background-image:url("../images/external-link.svg");background-size:contain;background-repeat:no-repeat;display:inline-block;height:10px;margin-left:2px;vertical-align:text-bottom;width:10px}a[target=_blank]:hover::after,a[target=_blank]:focus::after{transform:scale(1.2)}body{line-height:1.5;padding:0;margin:0}
@@ -0,0 +1,3 @@
1
+ document.addEventListener("DOMContentLoaded", () => {
2
+
3
+ });
@@ -0,0 +1,270 @@
1
+ @use "constants";
2
+
3
+ .Text,
4
+ .InlineText {
5
+ hyphens: auto;
6
+ overflow-wrap: break-word;
7
+
8
+ @include constants.for-phone {
9
+ hyphens: auto;
10
+ }
11
+
12
+ &.justified {
13
+
14
+ p,
15
+ li {
16
+ text-align: justify;
17
+ }
18
+ }
19
+
20
+ p,
21
+ li {
22
+ line-height: 1.55;
23
+ }
24
+
25
+ &.justify {
26
+
27
+ p,
28
+ li {
29
+ text-align: justify;
30
+ }
31
+ }
32
+
33
+ p,
34
+ ul,
35
+ ol {
36
+ margin-bottom: 0.65em;
37
+ }
38
+
39
+ &.book {
40
+
41
+ p,
42
+ ul,
43
+ ol {
44
+ margin-bottom: 0;
45
+ }
46
+ }
47
+
48
+ ul,
49
+ ol {
50
+ margin-left: 3em;
51
+ }
52
+
53
+ ul {
54
+ list-style: disc;
55
+ }
56
+
57
+ ol {
58
+ list-style: decimal;
59
+ }
60
+
61
+
62
+ em,
63
+ i {
64
+ font-style: italic;
65
+ }
66
+
67
+ strong,
68
+ b {
69
+ font-weight: bold;
70
+ }
71
+
72
+ s {
73
+ text-decoration: line-through;
74
+ }
75
+
76
+ strong {
77
+ color: rgb(17, 17, 17);
78
+ }
79
+
80
+ .ql-align-center {
81
+ text-align: center !important;
82
+ }
83
+
84
+ .ql-align-right {
85
+ text-align: right !important;
86
+ }
87
+
88
+ .ql-size-small {
89
+ font-size: constants.$f13;
90
+ line-height: normal;
91
+ }
92
+
93
+ .ql-size-large {
94
+ font-size: constants.$f18;
95
+ }
96
+
97
+ .ql-size-huge {
98
+ font-size: constants.$f32;
99
+ }
100
+
101
+ h2:has(.ql-size-huge) {
102
+ margin-bottom: 8px
103
+ }
104
+
105
+ .hljs {
106
+ background-color: #f5f5f5;
107
+ border-left: 5px solid #ddd;
108
+ font-family: monospace;
109
+ font-size: constants.$f14;
110
+ line-height: 1.35;
111
+ margin: 20px 0;
112
+ overflow-x: auto;
113
+ padding: 10px;
114
+
115
+ @include constants.for-tablet-up {
116
+ border-left: 15px solid #ddd;
117
+ margin: 20px 10px;
118
+ padding: 10px 20px 10px 15px;
119
+ }
120
+ }
121
+
122
+ code {
123
+ background-color: #f5f5f5;
124
+ border: 1px dotted #ccc;
125
+ color: #785454;
126
+ font-family: sans-serif;
127
+ font-size: constants.$f15;
128
+ padding: 1px 3px;
129
+ }
130
+ }
131
+
132
+ .Text {
133
+ &::after {
134
+ clear: both;
135
+ content: "";
136
+ display: block;
137
+ }
138
+
139
+ p {
140
+ text-indent: 40px;
141
+ }
142
+
143
+ &.bigFirstLetter p:first-of-type::first-letter {
144
+ color: #555;
145
+ font-size: 1.65em;
146
+ line-height: 1;
147
+ }
148
+
149
+ pre {
150
+ background-color: #f5f5f5;
151
+ color: #555;
152
+ overflow: auto;
153
+ padding: 4px;
154
+ }
155
+
156
+ .Img {
157
+ height: auto;
158
+
159
+ &.left {
160
+ float: left;
161
+ margin: 5px 20px 10px 0;
162
+ }
163
+
164
+ &.right {
165
+ float: right;
166
+ margin: 5px 0 10px 20px;
167
+ }
168
+
169
+ &.left,
170
+ &.right {
171
+ max-width: 50%;
172
+ }
173
+
174
+ &.center {
175
+ display: block;
176
+ margin: 20px auto;
177
+ }
178
+ }
179
+
180
+ h1,
181
+ h2,
182
+ h3,
183
+ h4,
184
+ h5 {
185
+ line-height: 1.25;
186
+ text-align: left;
187
+ }
188
+
189
+ h1,
190
+ h2 {
191
+ clear: both;
192
+ font-size: constants.$f28;
193
+ font-weight: bold;
194
+ margin: 1.2rem 0;
195
+ }
196
+
197
+ h3 {
198
+ font-size: constants.$f18;
199
+ font-weight: bold;
200
+ margin: 0.8rem 0;
201
+ }
202
+
203
+ h4,
204
+ h5 {
205
+ font-size: constants.$f16;
206
+ font-weight: bold;
207
+ }
208
+
209
+ blockquote {
210
+ border-left: 5px solid #e5e5e5;
211
+ color: #666;
212
+ font-style: italic;
213
+ margin: 1.5em 20px 1.5em 30px;
214
+ padding: 0.2em 10px;
215
+ quotes: "«" "»" "‘" "’";
216
+
217
+ &::after,
218
+ &::before {
219
+ color: #ccc;
220
+ font-size: 1.65em;
221
+ font-weight: bold;
222
+ line-height: 0.1em;
223
+ vertical-align: -0.1em;
224
+ }
225
+
226
+ &::before {
227
+ content: open-quote;
228
+ margin-right: 0.25em;
229
+ }
230
+
231
+ &::after {
232
+ content: close-quote;
233
+ margin-left: 0.25em;
234
+ }
235
+ }
236
+ }
237
+
238
+ .InlineText a,
239
+ .Text a,
240
+ a.TextLink {
241
+
242
+ &,
243
+ &:visited {
244
+ color: var(--linkColor);
245
+ }
246
+
247
+ &:focus,
248
+ &:hover {
249
+ text-decoration: underline;
250
+ }
251
+ }
252
+
253
+ a[target="_blank"] {
254
+ &::after {
255
+ content: "";
256
+ background-image: url('../images/external-link.svg');
257
+ background-size: contain;
258
+ background-repeat: no-repeat;
259
+ display: inline-block;
260
+ height: 10px;
261
+ margin-left: 2px;
262
+ vertical-align: text-bottom;
263
+ width: 10px;
264
+ }
265
+
266
+ &:hover::after,
267
+ &:focus::after {
268
+ transform: scale(1.2);
269
+ }
270
+ }
@@ -0,0 +1,93 @@
1
+ :root {
2
+ --mobileMaxWidth: 640px;
3
+ --desktopMinWidth: 992px;
4
+ --siteAppMobileMenuMaxWidth: 992px;
5
+ --siteAppBtnBgColor: #999;
6
+ --siteAppSearchIconColor: #999;
7
+ --siteAppBtnFgColor: #999;
8
+ --transitionDuration: 0.2s;
9
+ }
10
+
11
+ @mixin for-phone {
12
+ @media not all and (min-width: 640px) {
13
+ @content;
14
+ }
15
+ }
16
+
17
+ @mixin for-tablet-up {
18
+ @media (min-width: 640px) {
19
+ @content;
20
+ }
21
+ }
22
+
23
+ @mixin for-phone-and-tablet {
24
+ @media not all and (min-width: 992px) {
25
+ @content;
26
+ }
27
+ }
28
+
29
+ @mixin for-desktop {
30
+ @media (min-width: 992px) {
31
+ @content;
32
+ }
33
+ }
34
+
35
+ $f6: 0.375rem;
36
+ $f7: 0.4375rem;
37
+ $f8: 0.5rem;
38
+ $f9: 0.5625rem;
39
+ $f10: 0.625rem;
40
+ $f11: 0.6875rem;
41
+ $f12: 0.75rem;
42
+ $f13: 0.8125rem;
43
+ $f14: 0.875rem;
44
+ $f15: 0.9375rem;
45
+ $f16: 1rem;
46
+ $f17: 1.0625rem;
47
+ $f18: 1.125rem;
48
+ $f19: 1.1875rem;
49
+ $f20: 1.25rem;
50
+ $f21: 1.3125rem;
51
+ $f22: 1.375rem;
52
+ $f23: 1.4375rem;
53
+ $f24: 1.5rem;
54
+ $f25: 1.5625rem;
55
+ $f26: 1.625rem;
56
+ $f27: 1.6875rem;
57
+ $f28: 1.75rem;
58
+ $f29: 1.8125rem;
59
+ $f30: 1.875rem;
60
+ $f31: 1.9375rem;
61
+ $f32: 2rem;
62
+ $f33: 2.0625rem;
63
+ $f34: 2.125rem;
64
+ $f35: 2.1875rem;
65
+ $f36: 2.25rem;
66
+ $f37: 2.3125rem;
67
+ $f38: 2.375rem;
68
+ $f39: 2.4375rem;
69
+ $f40: 2.5rem;
70
+ $f41: 2.5625rem;
71
+ $f42: 2.625rem;
72
+ $f43: 2.6875rem;
73
+ $f44: 2.75rem;
74
+ $f45: 2.8125rem;
75
+ $f46: 2.875rem;
76
+ $f47: 2.9375rem;
77
+ $f48: 3rem;
78
+ $f49: 3.0625rem;
79
+ $f50: 3.125rem;
80
+ $f51: 3.1875rem;
81
+ $f52: 3.25rem;
82
+ $f53: 3.3125rem;
83
+ $f54: 3.375rem;
84
+ $f55: 3.4375rem;
85
+ $f56: 3.5rem;
86
+ $f57: 3.5625rem;
87
+ $f58: 3.625rem;
88
+ $f59: 3.6875rem;
89
+ $f60: 3.75rem;
90
+ $f61: 3.8125rem;
91
+ $f62: 3.875rem;
92
+ $f63: 3.9375rem;
93
+ $f64: 4rem;
@@ -0,0 +1,89 @@
1
+ @use "constants";
2
+
3
+ .Container {
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ max-width: 1200px;
7
+
8
+ &.text {
9
+ max-width: 700px;
10
+ }
11
+
12
+ @include constants.for-phone {
13
+ width: 90%;
14
+ }
15
+
16
+ @include constants.for-tablet-up {
17
+ &.pad {
18
+ max-width: 1240px;
19
+ padding-left: 20px;
20
+ padding-right: 20px;
21
+ }
22
+
23
+ &.pad.text {
24
+ max-width: 740px;
25
+ }
26
+ }
27
+ }
28
+
29
+ @include constants.for-tablet-up {
30
+
31
+ .Grid6,
32
+ .Grid9,
33
+ .Grid12 {
34
+ column-gap: 25px;
35
+ display: grid;
36
+ row-gap: 25px;
37
+ }
38
+
39
+ .Grid6 {
40
+ grid-template-columns: repeat(6, 1fr);
41
+ }
42
+
43
+ .Grid9 {
44
+ grid-template-columns: repeat(9, 1fr);
45
+ }
46
+
47
+ .Grid12 {
48
+ grid-template-columns: repeat(12, 1fr);
49
+ }
50
+
51
+ .Span2 {
52
+ grid-column-end: span 2;
53
+ }
54
+
55
+ .Span3 {
56
+ grid-column-end: span 3;
57
+ }
58
+
59
+ .Span4 {
60
+ grid-column-end: span 4;
61
+ }
62
+
63
+ .Span6 {
64
+ grid-column-end: span 6;
65
+ }
66
+
67
+ .Span12 {
68
+ grid-column-end: span 12;
69
+ }
70
+
71
+ .Column3 {
72
+ grid-column-start: 3;
73
+ }
74
+
75
+ .Column4 {
76
+ grid-column-start: 4;
77
+ }
78
+
79
+ .Column7 {
80
+ grid-column-start: 7;
81
+ }
82
+
83
+ @include constants.for-phone-and-tablet {
84
+ .Span4Tablet {
85
+ grid-column-end: span 4;
86
+
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,5 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ }
@@ -0,0 +1,7 @@
1
+ @use "constants";
2
+
3
+ body {
4
+ line-height: 1.5;
5
+ padding: 0;
6
+ margin: 0;
7
+ }
@@ -0,0 +1,4 @@
1
+ @use "reset";
2
+ @use "layout";
3
+ @use "Text";
4
+ @use "theme";
@@ -0,0 +1,10 @@
1
+ {% layout "layouts/main-layout.liquid" doc: doc site: site %}
2
+ {% block %}
3
+ <main class="Container text pad Text">
4
+ <h1>404</h1>
5
+ <p>
6
+ This page doesn't exist. Please
7
+ <a href='/'>return to home page</a>.
8
+ </p>
9
+ </main>
10
+ {% endblock %}
@@ -0,0 +1,4 @@
1
+ {% layout "layouts/main-layout.liquid" doc: doc, site: site %}
2
+ {% block %}
3
+ <div id="site-generator-app" data-recaptcha-key="{{ site.recaptchaKey }}"></div>
4
+ {% endblock %}
@@ -0,0 +1,10 @@
1
+ {% layout "layouts/main-layout.liquid" doc: doc site: site %}
2
+ {% block %}
3
+ <div class="Container pad text Mt Mb">
4
+ <p>
5
+ {% for translation in doc.translations %}
6
+ <a href="{{ translation.url }}">{{ translation.languageLabel }}</a>
7
+ {% endfor %}
8
+ </p>
9
+ </div>
10
+ {% endblock %}
@@ -0,0 +1,22 @@
1
+ <!doctype html>
2
+ <html lang="{{ doc.language }}">
3
+ <head>
4
+ <meta name="viewport" content="width=device-width,initial-scale=1">
5
+ {{ doc | headTags }}
6
+ <title>
7
+ {% if doc.type != "home" and doc.title %}
8
+ {{ doc.title }} -{% endif %}
9
+ {{ site.field.title }}</title>
10
+ <link rel="stylesheet" href="{{ site.assetsUrl }}/css/index.css">
11
+ </head>
12
+
13
+ <body>
14
+ {% block -%}
15
+ {%- endblock %}
16
+
17
+ {% render "partials/footer"
18
+ , doc: doc
19
+ , site: site %}
20
+ <script src="{{ site.assetsUrl }}/js/main.js" defer></script>
21
+ </body>
22
+ </html>
@@ -0,0 +1,5 @@
1
+ <div class="_revertedColors">
2
+ <footer class="PageFooter Container pad">
3
+ <div class="Text">{{ site.field.footerMention | raw }}</div>
4
+ </footer>
5
+ </div>
@@ -0,0 +1,4 @@
1
+ {
2
+ "fTextImages": ["700x", "x400x", "700x350"],
3
+ "pixelRatio": 1.5
4
+ }