-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathregex-test.html
More file actions
449 lines (424 loc) · 20.7 KB
/
Copy pathregex-test.html
File metadata and controls
449 lines (424 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
<html>
<body>
<div class="gwd-wrapper">
<app-header>
<!---->
<header class="header style-scope app-header">
<eve-container fluid="" class="style-scope app-header">
<!---->
<div
class="@custom-media --screen-xs (max-width: 576px); @custom-media --screen-sm (min-width: 576px); @custom-media --screen-md (min-width: 768px); @custom-media --screen-lg (min-width: 992px); @custom-media --screen-xl (min-width: 1200px); :host .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } :host .container-fluid { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } @media (--screen-xs) { :host .container { width: calc(100% - 30px); } } @media (--screen-sm) { :host .container { width: 540px; } } @media (--screen-md) { :host .container { width: 720px; } } @media (--screen-lg) { :host .container { width: 960px; } } @media (--screen-xl) { :host .container { width: 1140px; } } style-scope eve-container"
>
<div class="head-wrap style-scope app-header">
<div class="brand style-scope app-header">
<a
href="https://projectevergreen.github.io"
target="_blank"
rel="noopener noreferrer"
class="style-scope app-header"
>
</a>
<div class="project-name style-scope app-header">
<a href="/" class="style-scope app-header">Greenwood</a>
</div>
</div>
<nav class="style-scope app-header">
<ul class="style-scope app-header">
<!--?lit$849881805$-->
<!---->
<li class="style-scope app-header">
<a
class="style-scope app-header"
href="/about/"
title="Click to visit the About page"
>
<!--?lit$849881805$-->About
</a>
</li>
<!---->
<!---->
<li class="style-scope app-header">
<a
class="style-scope app-header"
href="/docs/"
title="Click to visit the Docs page"
>
<!--?lit$849881805$-->Docs
</a>
</li>
<!---->
<!---->
<li class="style-scope app-header">
<a
class="style-scope app-header"
href="/getting-started/"
title="Click to visit the Getting Started page"
>
<!--?lit$849881805$-->Getting Started
</a>
</li>
<!---->
<!---->
<li class="style-scope app-header">
<a
class="style-scope app-header"
href="/plugins/"
title="Click to visit the Plugins page"
>
<!--?lit$849881805$-->Plugins
</a>
</li>
<!---->
<!---->
<li class="style-scope app-header">
<a
class="style-scope app-header"
href="/guides/"
title="Click to visit the Guides page"
>
<!--?lit$849881805$-->Guides
</a>
</li>
<!---->
</ul>
</nav>
<app-social-icons class="style-scope app-header">
<!---->
<a
class="icons style-scope app-social-icons"
target="_blank"
rel="noreferrer noopener"
aria-label="open github page"
href="https://github.com/ProjectEvergreen/greenwood"
onclick="getOutboundLink('https://github.com/ProjectEvergreen/greenwood')"
>
<!--?lit$849881805$--><svg
height="35"
viewBox="0 0 16 16"
version="1.1"
width="35"
aria-hidden="true"
class="style-scope app-social-icons"
>
<path
fill-rule="evenodd"
fill="white"
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38
0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01
1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12
0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82
2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65
3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013
8.013 0 0016 8c0-4.42-3.58-8-8-8z"
class="style-scope app-social-icons"
></path>
</svg>
</a>
<a
class="icons slack-icon style-scope app-social-icons"
target="_blank"
rel="noreferrer noopener"
aria-label="slack"
href="https://join.slack.com/t/thegreenhouseio/shared_invite/enQtMzcyMzE2Mjk1MjgwLTU5YmM1MDJiMTg0ODk4MjA4NzUwNWFmZmMxNDY5MTcwM2I0MjYxN2VhOTEwNDU2YWQwOWQzZmY1YzY4MWRlOGI"
onclick="
getOutboundLink(
'https://join.slack.com/t/thegreenhouseio/shared_invite/enQtMzcyMzE2Mjk1MjgwLTU5YmM1MDJiMTg0ODk4MjA4NzUwNWFmZmMxNDY5MTcwM2I0MjYxN2VhOTEwNDU2YWQwOWQzZmY1YzY4MWRlOGI',
)
"
>
<!--?lit$849881805$--><svg
width="35"
height="35"
style="fill: white"
viewBox="0 0 54 54"
xmlns="http://www.w3.org/2000/svg"
class="style-scope app-social-icons"
>
<g fill="none" fill-rule="evenodd" class="style-scope app-social-icons">
<path
d="M19.712.133a5.381 5.381 0 0 0-5.376 5.387 5.381 5.381 0 0 0 5.376
5.386h5.376V5.52A5.381 5.381 0 0 0 19.712.133m0 14.365H5.376A5.381
5.381 0 0 0 0 19.884a5.381 5.381 0 0 0 5.376 5.387h14.336a5.381 5.381
0 0 0 5.376-5.387 5.381 5.381 0 0 0-5.376-5.386"
fill="#fff"
class="style-scope app-social-icons"
></path>
<path
d="M53.76 19.884a5.381 5.381 0 0 0-5.376-5.386 5.381 5.381 0 0 0-5.376
5.386v5.387h5.376a5.381 5.381 0 0 0 5.376-5.387m-14.336 0V5.52A5.381 5.381
0 0 0 34.048.133a5.381 5.381 0 0 0-5.376 5.387v14.364a5.381 5.381 0 0 0
5.376 5.387 5.381 5.381 0 0 0 5.376-5.387"
fill="#fff"
class="style-scope app-social-icons"
></path>
<path
d="M34.048 54a5.381 5.381 0 0 0 5.376-5.387 5.381 5.381 0 0
0-5.376-5.386h-5.376v5.386A5.381 5.381 0 0 0 34.048 54m0-14.365h14.336a5.381
5.381 0 0 0 5.376-5.386 5.381 5.381 0 0 0-5.376-5.387H34.048a5.381 5.381
0 0 0-5.376 5.387 5.381 5.381 0 0 0 5.376 5.386"
fill="#fff"
class="style-scope app-social-icons"
></path>
<path
d="M0 34.249a5.381 5.381 0 0 0 5.376 5.386 5.381 5.381 0 0 0
5.376-5.386v-5.387H5.376A5.381 5.381 0 0 0 0 34.25m14.336-.001v14.364A5.381
5.381 0 0 0 19.712 54a5.381 5.381 0 0 0 5.376-5.387V34.25a5.381 5.381
0 0 0-5.376-5.387 5.381 5.381 0 0 0-5.376 5.387"
fill="#fff"
class="style-scope app-social-icons"
></path>
</g>
</svg>
</a>
<a
target="_blank"
rel="noreferrer noopener"
aria-label="open twitter page"
class="style-scope app-social-icons"
href="https://twitter.com/PrjEvergreen"
onclick="getOutboundLink('https://twitter.com/PrjEvergreen')"
>
<!--?lit$849881805$-->
<!--?xml version="1.0" ?-->
<svg
enable-background="new 0 0 56.693 56.693"
height="40px"
id="Layer_1"
version="1.1"
viewBox="0 0 56.693 56.693"
width="40px"
fill="white"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
class="style-scope app-social-icons"
>
<path
d="M28.348,5.157c-13.6,0-24.625,11.027-24.625,24.625c0,13.6,11.025,24.623,24.625,24.623c13.6,0,24.623-11.023,24.623-24.623
C52.971,16.184,41.947,5.157,28.348,5.157z M40.752,24.817c0.013,0.266,0.018,0.533,0.018,0.803c0,8.201-6.242,17.656-17.656,17.656
c-3.504,0-6.767-1.027-9.513-2.787c0.486,0.057,0.979,0.086,1.48,0.086c2.908,0,5.584-0.992,7.707-2.656
c-2.715-0.051-5.006-1.846-5.796-4.311c0.378,0.074,0.767,0.111,1.167,0.111c0.566,0,1.114-0.074,1.635-0.217
c-2.84-0.57-4.979-3.08-4.979-6.084c0-0.027,0-0.053,0.001-0.08c0.836,0.465,1.793,0.744,2.811,0.777
c-1.666-1.115-2.761-3.012-2.761-5.166c0-1.137,0.306-2.204,0.84-3.12c3.061,3.754,7.634,6.225,12.792,6.483
c-0.106-0.453-0.161-0.928-0.161-1.414c0-3.426,2.778-6.205,6.206-6.205c1.785,0,3.397,0.754,4.529,1.959
c1.414-0.277,2.742-0.795,3.941-1.506c-0.465,1.45-1.448,2.666-2.73,3.433c1.257-0.15,2.453-0.484,3.565-0.977
C43.018,22.849,41.965,23.942,40.752,24.817z"
class="style-scope app-social-icons"
></path>
</svg>
</a>
</app-social-icons>
</div>
</div>
</eve-container>
</header>
</app-header>
<div class="gwd-content-outlet">
<app-banner>
<!---->
<div class="banner style-scope app-banner">
<eve-container class="style-scope app-banner">
<!---->
<div
class="@custom-media --screen-xs (max-width: 576px); @custom-media --screen-sm (min-width: 576px); @custom-media --screen-md (min-width: 768px); @custom-media --screen-lg (min-width: 992px); @custom-media --screen-xl (min-width: 1200px); :host .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } :host .container-fluid { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } @media (--screen-xs) { :host .container { width: calc(100% - 30px); } } @media (--screen-sm) { :host .container { width: 540px; } } @media (--screen-md) { :host .container { width: 720px; } } @media (--screen-lg) { :host .container { width: 960px; } } @media (--screen-xl) { :host .container { width: 1140px; } } style-scope eve-container"
>
<div class="content style-scope app-banner">
<h3 class="style-scope app-banner">
The static site generator for your. . .
<br class="style-scope app-banner" /><span class="on style-scope app-banner">
<!--?lit$849881805$-->blog.
</span>
</h3>
<eve-button
size="md"
href="/getting-started/"
class="style-scope app-banner"
style="
/* stylelint-disable a11y/media-prefers-reduced-motion */
:host .btn {
display: inline-block;
border-radius: 10px;
font-size: 1.2rem;
padding: 0.75rem;
color: white;
background-color: #201e2e;
border: 1px solid white;
transition: 0.3s;
}
:host .btn:hover,
:host .btn:focus {
background-color: #425d58;
border: 1px solid white;
}
"
>
<!---->
<!--?lit$849881805$-->:host .btn { margin: 2px; border: 1px solid
var(--btn-border-color, var(--primary-color, green)); color:
var(--btn-text-color, var(--primary-color, green)); background-color:
var(--btn-background, var(--secondary-color, white) ); text-decoration:none;
position:relative; display: inline-block; border-radius:
var(--btn-border-radius, 0px); } :host .btn:hover { background-color:
var(--btn-hover-background-color, var(--primary-color, green)); color:
var(--btn-hover-text-color, var(--secondary-color, white)); border: 1px solid
var(--btn-hover-border-color, var(--primary-color, green)); } :host .btn-xs {
padding:5px; font-size:12px; } :host .btn-sm { padding:5px; font-size:16px; }
:host .btn-md { padding:10px; font-size:20px; } :host .btn-lg { padding:15px;
font-size:25px; }
</eve-button>
</div>
</div>
</eve-container>
</div>
</app-banner>
<div class="gwd-content-wrapper">
<div class="gwd-page-layout gwd-content">
<div id="gwd-message-wrapper">
<div class="message">
<h2>
Greenwood is a modern and performant static site generator for Web Component based
development.
</h2>
<div class="min-card-container">
<div class="mini-card">
<p>
Prerendered,
<a
href="/about/how-it-works/"
title="How It Works"
target="_blank"
rel="noopener noreferrer"
>even your Web Components</a
>
</p>
</div>
<div class="mini-card">
<p>
<a
href="/docs/layouts/"
title="Layout docs"
target="_blank"
rel="noopener noreferrer"
>Filesystem based routing</a
>
</p>
</div>
<div class="mini-card">
<p>A fast, unbundled, local development workflow</p>
</div>
<div class="mini-card">
<p>
<a
href="/about/goals/"
title="Goals"
target="_blank"
rel="noopener noreferrer"
>Easy to get started with</a
>
</p>
</div>
<div class="mini-card">
<p>
Extensible
<a href="/plugins/" title="Plugins" target="_blank" rel="noopener noreferrer"
>plugin system</a
>
</p>
</div>
<div class="mini-card">
<p>
<a
href="/docs/data/"
title="Data docs"
target="_blank"
rel="noopener noreferrer"
>Content as data</a
>
with GraphQL
</p>
</div>
</div>
</div>
</div>
<div class="quickstart">
<h2>Quick Start Example</h2>
<pre class="language-bash"> <code class="language-bash">
# with NodeJS already installed
# create a pages directory for your content
$ mkdir -p src/pages
# create an index.md file as your home page
$ echo "## hello world" > src/pages/index.md
# run one of Greenwood's commands, and that's it!
$ npx @greenwood/cli develop
</code>
</pre>
<p>
For anyone new to Greenwood, we encourage you go through our
<a href="/getting-started/">Getting Started</a> guide, or to get right to work, head
on over to our <a href="/docs/">documentation</a>.
</p>
</div>
<div class="cards">
<app-card title="The Modern Web" img="../assets/webcomponents.svg">
<!---->
<!--?lit$849881805$-->
<div class="card-img-top style-scope app-card"></div>
<!--?lit$849881805$-->
<h3 class="style-scope app-card"><!--?lit$849881805$-->The Modern Web</h3>
<p slot="cardcontent">
Modern browsers, combined with recent advancements in web standards like
<strong>Web Components</strong>, <strong>ES Modules</strong>, and
<strong>CSS Custom Properties</strong>, bring a lot of native power and features
to the web browsers we all use now. With less need to put tools in front of your
code, Greenwood makes completing your goals easier, faster, and less complicated.
</p>
</app-card>
<app-card title="Ecosystem" img="../assets/nodejs.png">
<!---->
<!--?lit$849881805$-->
<div class="card-img-top style-scope app-card"></div>
<!--?lit$849881805$-->
<h3 class="style-scope app-card"><!--?lit$849881805$-->Ecosystem</h3>
<p slot="cardcontent">
While the web provides a lot out of the box, we want everyone to be able to reach
for those additional packages we need that help us achieve our goal of building
great things. <strong>NodeJS</strong>, along with <strong>npm</strong>, provides a
great developer experience and ecosystem to leverage when building web projects.
</p>
</app-card>
<app-card title="Keeping It Simple" img="../assets/simple.png">
<!---->
<!--?lit$849881805$-->
<div class="card-img-top style-scope app-card"></div>
<!--?lit$849881805$-->
<h3 class="style-scope app-card"><!--?lit$849881805$-->Keeping It Simple</h3>
<p slot="cardcontent">
Greenwood is on a mission to provide the best web development experience, to make
sure content is easy to create, and that going live is a breeze. Keeping things
simple is a part of that mission, and while we levarge some open source tool to
achieve all this, we intend to avoid the meta framework trend and aim keep to a
lean(er) core over time.
</p>
</app-card>
</div>
</div>
</div>
</div>
<app-footer>
<!---->
<footer class="footer style-scope app-footer">
<h4 class="style-scope app-footer">
<a href="/" class="style-scope app-footer"
>Greenwood v
<!--?lit$849881805$-->0.16.0-alpha.3
</a>
<span class="separator style-scope app-footer">◈</span>
<a href="https://www.netlify.com/" class="style-scope app-footer"
>This site is powered by Netlify</a
>
</h4>
</footer>
</app-footer>
</div>
</body>
</html>