Skip to content
This repository was archived by the owner on Apr 7, 2019. It is now read-only.

Commit a6ba3f4

Browse files
committed
Merge branch 'dev'
2 parents 2be09a0 + 608b3e9 commit a6ba3f4

File tree

11 files changed

+37
-3
lines changed

11 files changed

+37
-3
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Demo StarterKit for Twig
2+
3+
This StarterKit is meant to be used as a demo that highlights how to combine Twig and Pattern Lab. It is currently very thin. We're looking for maintainers who may be interested in making this demo the equal to if not better than the Mustache demo.
4+
5+
## Install
6+
7+
This StarterKit can be installed using the following command:
8+
9+
php core/console --starterkit --install pattern-lab/starterkit-twig-demo
10+
11+
It is recommended that you **do not** install this StarterKit as a dependency for your Pattern Lab project via Composer.
12+
13+
## Edit Files
14+
15+
After installation the files for this StarterKit can be found in `source/`.
16+
17+
## Maintainers Wanted
18+
19+
Interested in making the Twig demo match the Mustache demo? Drop us a note in the issues.

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pattern-lab/starterkit-twig-demo",
3-
"description": "The Twig-based demo starter kit for Pattern Lab.",
3+
"description": "Pattern Lab's Demo StarterKit for Twig.",
44
"keywords": ["twig", "pattern lab", "starterkit", "demo"],
55
"homepage": "http://patternlab.io",
66
"license": "MIT",
@@ -23,6 +23,9 @@
2323
"wiki": "http://patternlab.io/docs/",
2424
"source": "https://github.com/pattern-lab/starterkit-twig-demo/releases"
2525
},
26+
"require": {
27+
"pattern-lab/core": "~0.5"
28+
},
2629
"minimum-stability": "dev",
2730
"extra": {
2831
"patternlab": {

dist/_layouts/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory

dist/_macros/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory

dist/_meta/_00-head.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
99

1010
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
11-
{{{ patternLabHead }}}
11+
{{ patternLabHead | raw }}
1212
<!-- End Pattern Lab -->
1313

1414
</head>

dist/_meta/_01-foot.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<!--DO NOT REMOVE-->
3-
{{{ patternLabFoot }}}
3+
{{ patternLabFoot | raw }}
44

55
</body>
66
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory

dist/_twig-components/tags/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory

dist/_twig-components/tests/.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keeping this directory

0 commit comments

Comments
 (0)