Introduced 11ty
Set new version based on all changes since last version change, which was 0.4.2. Removed obsolete devDependencies, now only using 11ty and sass. Update to package.json fields - New sass version - Update to project links - Rearranged fields - New commands for 'scripts' that include changes from branch testing-npm-scripts - Added field 'private' to prevent publishing by mistake Added configuration for 11ty to reflect previous behaviour from gulp. - Moved source/templates/demo/data.json to source/screens/demo.json so it can be used - Fixed demo template so it can use the data source - Removed source/data/demo.json which was not used
This commit is contained in:
parent
e856e53114
commit
ef9d665849
6 changed files with 1267 additions and 20446 deletions
66
source/screens/demo.json
Normal file
66
source/screens/demo.json
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"demoadditionallinks": [
|
||||
{
|
||||
"href": "demo.html",
|
||||
"text": "Index"
|
||||
},
|
||||
{
|
||||
"href": "demo/intro.html",
|
||||
"text": "Intro"
|
||||
},
|
||||
{
|
||||
"href": "demo/elements.html",
|
||||
"text": "Elements"
|
||||
},
|
||||
{
|
||||
"href": "demo/examples.html",
|
||||
"text": "Examples"
|
||||
}
|
||||
],
|
||||
"demolinks": [
|
||||
{
|
||||
"href": "demo/blank.html",
|
||||
"text": "Blank"
|
||||
},
|
||||
{
|
||||
"href": "demo/card.html",
|
||||
"text": "Card"
|
||||
},
|
||||
{
|
||||
"href": "demo/portal.html",
|
||||
"text": "Portal"
|
||||
},
|
||||
{
|
||||
"href": "demo/maintenance.html",
|
||||
"text": "Maintenance"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/304.html",
|
||||
"text": "304"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/400.html",
|
||||
"text": "400"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/401.html",
|
||||
"text": "401"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/403.html",
|
||||
"text": "403"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/404.html",
|
||||
"text": "404"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/408.html",
|
||||
"text": "408"
|
||||
},
|
||||
{
|
||||
"href": "demo/error/500.html",
|
||||
"text": "500"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
<nav>
|
||||
<ul class="list_link">
|
||||
<!-- Loops through "demoadditionallinks" array -->
|
||||
{% for link in data.demoadditionallinks %}
|
||||
{% for link in demoadditionallinks %}
|
||||
<li>
|
||||
<a href="{{ link.href }}">{{ link.text }}</a>
|
||||
</li>
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
<h3>Demo Pages</h3>
|
||||
<ul class="list_link">
|
||||
<!-- Loops through "demo-links" array -->
|
||||
{% for link in data.demolinks %}
|
||||
{% for link in demolinks %}
|
||||
<li>
|
||||
<a href="{{ link.href }}">{{ link.text }}</a>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue