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:
sthag 2023-10-25 20:25:09 +02:00
parent e856e53114
commit ef9d665849
6 changed files with 1267 additions and 20446 deletions

View file

@ -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>