@moreonion/foundist 2.1.3 → 3.0.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.
Files changed (98) hide show
  1. package/.vscode/settings.json +16 -0
  2. package/README.md +5 -9
  3. package/package.json +6 -31
  4. package/src/html/basic-action-page-cover-1col.html +27 -27
  5. package/src/html/basic-action-page-cover-2col-reversed.html +27 -27
  6. package/src/html/basic-action-page-cover-2col.html +27 -27
  7. package/src/html/basic-action-page-cover-banner.html +27 -27
  8. package/src/html/basic-action-page-reversed.html +22 -23
  9. package/src/html/basic-action-page-with-banner-reversed.html +27 -27
  10. package/src/html/basic-action-page-with-banner.html +27 -27
  11. package/src/html/basic-action-page-with-callouts.html +28 -28
  12. package/src/html/basic-action-page.html +22 -23
  13. package/src/html/build-index.html +9 -0
  14. package/src/html/dev-index.html +49 -0
  15. package/src/html/donation-action-page.html +20 -20
  16. package/src/html/e2t-action-page.html +25 -28
  17. package/src/html/includes/accordion.html +25 -25
  18. package/src/html/includes/basic-form-with-errors.html +28 -26
  19. package/src/html/includes/basic-form.html +11 -7
  20. package/src/html/includes/cookiebar.html +5 -5
  21. package/src/html/includes/donate-form.html +11 -11
  22. package/src/html/includes/e2t-single-form.html +29 -27
  23. package/src/html/includes/form-items/_macros.html +76 -0
  24. package/src/html/includes/form-items/checkboxes.html +18 -18
  25. package/src/html/includes/form-items/country-select-options.html +253 -0
  26. package/src/html/includes/form-items/donation-amount.html +63 -64
  27. package/src/html/includes/form-items/donation-interval.html +14 -13
  28. package/src/html/includes/form-items/fake-field.html +2 -2
  29. package/src/html/includes/form-items/fieldset.html +9 -7
  30. package/src/html/includes/form-items/file-upload.html +7 -7
  31. package/src/html/includes/form-items/giftaid.html +13 -13
  32. package/src/html/includes/form-items/inline-radios.html +14 -14
  33. package/src/html/includes/form-items/opt-in-checkbox.html +5 -5
  34. package/src/html/includes/form-items/opt-in-radios.html +7 -7
  35. package/src/html/includes/form-items/payment-icons.html +17 -17
  36. package/src/html/includes/form-items/paymethod-selector.html +24 -24
  37. package/src/html/includes/form-items/radios-with-error.html +8 -8
  38. package/src/html/includes/form-items/radios.html +14 -14
  39. package/src/html/includes/form-items/select-with-error.html +257 -257
  40. package/src/html/includes/form-items/textarea.html +2 -2
  41. package/src/html/includes/form-items/webform-steps.html +13 -13
  42. package/src/html/includes/language-switcher.html +10 -10
  43. package/src/html/includes/login-form.html +5 -3
  44. package/src/html/includes/menu.html +3 -3
  45. package/src/html/includes/overlay.html +4 -4
  46. package/src/html/includes/pagination.html +13 -13
  47. package/src/html/includes/pgbar-thermometer.html +8 -8
  48. package/src/html/includes/pgbar.html +5 -5
  49. package/src/html/includes/recent-supporters-agregated.html +32 -32
  50. package/src/html/includes/recent-supporters-comments.html +31 -31
  51. package/src/html/includes/recent-supporters-empty.html +3 -3
  52. package/src/html/includes/recent-supporters.html +26 -26
  53. package/src/html/includes/share-buttons.html +30 -28
  54. package/src/html/includes/sticky-button.html +1 -1
  55. package/src/html/includes/teasers.html +25 -5
  56. package/src/html/includes/toggle-element-show-more.html +3 -3
  57. package/src/html/includes/toggle-element-toggle.html +2 -2
  58. package/src/html/login-page.html +5 -7
  59. package/src/html/snippets-demo.html +13 -15
  60. package/src/html/teaser-page.html +7 -7
  61. package/src/html/templates/action-page-cover-1col.html +12 -83
  62. package/src/html/templates/action-page-cover-banner.html +15 -85
  63. package/src/html/templates/action-page-reversed.html +16 -82
  64. package/src/html/templates/action-page.html +21 -80
  65. package/src/html/templates/base.html +31 -0
  66. package/src/html/templates/page.html +93 -0
  67. package/src/html/templates/share-page.html +3 -0
  68. package/src/html/thank-you-page-cover-1col.html +14 -14
  69. package/src/html/thank-you-page-cover-2col.html +17 -13
  70. package/src/html/thank-you-page-cover-banner.html +14 -14
  71. package/src/html/thank-you-page-with-banner.html +14 -14
  72. package/src/html/thank-you-page.html +15 -15
  73. package/src/html/typography-static-page.html +18 -20
  74. package/src/js/foundist.js +6 -1
  75. package/src/scss/_settings.scss +3 -3
  76. package/src/scss/layout/_cover.scss +1 -1
  77. package/src/html/empty-action-page.html +0 -29
  78. package/src/html/empty-static-page.html +0 -21
  79. package/src/html/includes/form-items/country-select.html +0 -258
  80. package/src/html/includes/form-items/email.html +0 -4
  81. package/src/html/includes/form-items/first-name.html +0 -4
  82. package/src/html/includes/form-items/last-name.html +0 -4
  83. package/src/html/includes/form-items/password.html +0 -5
  84. package/src/html/includes/form-items/submit-button.html +0 -2
  85. package/src/html/includes/form-items/text-with-description.html +0 -5
  86. package/src/html/includes/form-items/text-with-error.html +0 -5
  87. package/src/html/includes/teaser.html +0 -17
  88. package/src/html/index.html +0 -51
  89. package/src/html/templates/action-page-cover-2col-reversed.html +0 -97
  90. package/src/html/templates/action-page-cover-2col.html +0 -97
  91. package/src/html/templates/action-page-with-banner-reversed.html +0 -91
  92. package/src/html/templates/action-page-with-banner.html +0 -91
  93. package/src/html/templates/static-page-cover-1col.html +0 -80
  94. package/src/html/templates/static-page-cover-2col.html +0 -88
  95. package/src/html/templates/static-page-cover-banner.html +0 -81
  96. package/src/html/templates/static-page-with-banner.html +0 -77
  97. package/src/html/templates/static-page.html +0 -73
  98. package/src/html/templates/teaser-page.html +0 -73
@@ -0,0 +1,16 @@
1
+ {
2
+ // the stylelint extension should do the validation
3
+ "css.validate": false,
4
+ "less.validate": false,
5
+ "scss.validate": false,
6
+ "[scss]": {
7
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
8
+ },
9
+ "[javascript]": {
10
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
11
+ },
12
+ "[html]": {
13
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
14
+ }
15
+ }
16
+ }
package/README.md CHANGED
@@ -6,10 +6,7 @@ Foundation based default theme for Impact Stack landing pages.
6
6
 
7
7
  ### As assets
8
8
 
9
- Compiled assets can be used directly:
10
-
11
- - A build of the `master` branch is available at http://assets.more-onion.at/foundist/v1 for testing.
12
- - A build of `v1` is available at https://assets.more-onion.com/foundist/v1/ for live sites.
9
+ Compiled assets can be used directly.
13
10
 
14
11
  ### As module
15
12
 
@@ -24,7 +21,7 @@ the desired result)!
24
21
  ## Development
25
22
 
26
23
  The setup should give you a quite modern JS/SCSS-environment:
27
- - Parcel (with Babel, SCSS, browserlist, PostCSS)
24
+ - Vite (with SCSS, browserlist, PostCSS)
28
25
  - Linting (`stylelint`, `eslint`)
29
26
  - Prettifying (`prettify`)
30
27
  - Pre-commit hooks for `.scss` and `.js` files
@@ -51,7 +48,7 @@ yarn build
51
48
 
52
49
  To serve the contents of the `dist/` folder (e.g. after a `build`)
53
50
  ```
54
- yarn http
51
+ yarn preview
55
52
  ```
56
53
 
57
54
  ### HTML
@@ -60,10 +57,10 @@ The module provides some example HTML to make styling easier:
60
57
 
61
58
  - The files in the `template` folder represent the general page layout(s) that
62
59
  may be different for each derived theme.
63
- - The extension of template <blocks> make up the content for an individual page.
60
+ - The extension of template `{% blocks %}` make up the content for an individual page.
64
61
  - The `include` folder offers predefined elements that would be generated by a
65
62
  CMS, e.g. form elements and social proof widgets.
66
- - The path of the main css and js file can be configured in `.posthtmlrc`
63
+ - The path of the main css and js file can be configured in `_globals.html`
67
64
  (relative to the `html` folder).
68
65
 
69
66
  ### Pre-commit hooks
@@ -85,4 +82,3 @@ You might want to install the following VS Code plugins (or re-enable the build
85
82
  - Prettier - Code formatter `esbenp.prettier-vscode` <https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode>
86
83
  - ESLint `dbaeumer.vscode-eslint` <https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint>
87
84
  - stylelint `shinnn.stylelint` <https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint>
88
- - LintHTML `kamikillerto.vscode-linthtml` <https://marketplace.visualstudio.com/items?itemName=kamikillerto.vscode-linthtml>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moreonion/foundist",
3
- "version": "2.1.3",
3
+ "version": "3.0.0",
4
4
  "description": "Foundation based default theme for Impact Stack landing pages.",
5
5
  "author": "More Onion <kontakt@more-onion.at>",
6
6
  "license": "MIT",
@@ -13,46 +13,21 @@
13
13
  "files": [
14
14
  "src/*"
15
15
  ],
16
- "js": "dist/main.js",
17
- "css": "dist/main.css",
18
- "targets": {
19
- "main": false,
20
- "js": {
21
- "sourceMap": false
22
- },
23
- "css": {
24
- "publicUrl": ".",
25
- "sourceMap": false
26
- }
27
- },
28
16
  "scripts": {
29
- "dev": "parcel serve --no-cache src/html/index.html",
30
- "prod:css": "parcel build --target css --no-content-hash src/scss/main.scss",
31
- "prod:js": "parcel build --target js --no-content-hash src/js/foundist.js",
32
- "build": "yarn run prod:css && yarn run prod:js",
33
- "http": "http-server --cors -d -p 1234 ./dist",
17
+ "dev": "vite",
18
+ "build": "vite build",
19
+ "preview": "vite preview",
34
20
  "lint:css": "stylelint src/scss && prettier --check 'src/scss/**/*.scss'",
35
21
  "lint:js": "eslint src",
36
22
  "lint": "yarn run lint:css && yarn run lint:js",
37
- "lint:html": "linthtml src/html/**/*.html ",
38
23
  "fix:css": "stylelint --fix src/scss && prettier --write 'src/scss/**/*.scss'",
39
24
  "fix:js": "eslint --fix src",
40
25
  "fix": "yarn run fix:css && yarn run fix:js",
41
26
  "prepare": "husky install"
42
27
  },
43
- "devDependencies": {
44
- "@linthtml/linthtml": "^0.8.0"
45
- },
46
28
  "dependencies": {
47
- "@moreonion/foundation-base": "2.1.3",
48
- "http-server": "^14.1.0",
49
- "posthtml": "^0.16.5",
50
- "posthtml-expressions": "^1.9.0",
51
- "posthtml-extend": "0.6.0",
52
- "posthtml-include": "^1.7.2"
53
- },
54
- "resolutions": {
55
- "@parcel/transformer-css": "2.1.1"
29
+ "@moreonion/foundation-base": "^3.0.0",
30
+ "vite-plugin-nunjucks": "^0.1.10"
56
31
  },
57
32
  "lint-staged": {
58
33
  "*.scss": [
@@ -1,48 +1,48 @@
1
- <extends src="templates/action-page-cover-1col.html">
1
+ {% extends "src/html/templates/action-page-cover-1col.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "cover-1col" %}
4
4
 
5
- <block name="banner">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block background %}
6
8
  <img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="top">
11
+ {% block top %}
10
12
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
11
- </block>
13
+ {% endblock %}
12
14
 
13
- <block name="form-intro">
15
+ {% block form_intro %}
14
16
  <h2>Signup now!</h2>
15
17
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
16
- </block>
18
+ {% endblock %}
17
19
 
18
- <block name="progress-bar">
19
- <include src="pgbar.html"></include>
20
- </block>
20
+ {% block progress_bar %}
21
+ {% include "src/html/includes/pgbar.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="form">
23
- <include src="basic-form.html"></include>
24
- </block>
24
+ {% block form %}
25
+ {% include "src/html/includes/basic-form.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="recent-supporters">
27
- <include src="recent-supporters.html"></include>
28
- </block>
28
+ {% block recent_supporters %}
29
+ {% include "src/html/includes/recent-supporters.html" %}
30
+ {% endblock %}
29
31
 
30
- <block name="content-top">
32
+ {% block content_top %}
31
33
  <div class="media-stretch">
32
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
34
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
33
35
  </div>
34
- </block>
36
+ {% endblock %}
35
37
 
36
- <block name="content">
38
+ {% block content %}
37
39
  <h2>Cougar British shorthair turkish angora</h2>
38
40
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
39
41
  <p>A very wise cat once said:</p>
40
42
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
41
43
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
42
- </block>
43
-
44
- <block name="footer">
45
- <include src="menu.html"></include>
46
- </block>
44
+ {% endblock %}
47
45
 
48
- </extends>
46
+ {% block footer %}
47
+ {% include "src/html/includes/menu.html" %}
48
+ {% endblock %}
@@ -1,48 +1,48 @@
1
- <extends src="templates/action-page-cover-2col-reversed.html">
1
+ {% extends "src/html/templates/action-page-reversed.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "cover-2col" %}
4
4
 
5
- <block name="banner">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block background %}
6
8
  <img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="top">
11
+ {% block top %}
10
12
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
11
- </block>
13
+ {% endblock %}
12
14
 
13
- <block name="form-intro">
15
+ {% block form_intro %}
14
16
  <h2>Signup now!</h2>
15
17
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
16
- </block>
18
+ {% endblock %}
17
19
 
18
- <block name="progress-bar">
19
- <include src="pgbar.html"></include>
20
- </block>
20
+ {% block progress_bar %}
21
+ {% include "src/html/includes/pgbar.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="form">
23
- <include src="basic-form.html"></include>
24
- </block>
24
+ {% block form %}
25
+ {% include "src/html/includes/basic-form.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="recent-supporters">
27
- <include src="recent-supporters.html"></include>
28
- </block>
28
+ {% block recent_supporters %}
29
+ {% include "src/html/includes/recent-supporters.html" %}
30
+ {% endblock %}
29
31
 
30
- <block name="content-top">
32
+ {% block content_top %}
31
33
  <div class="media-stretch">
32
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
34
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
33
35
  </div>
34
- </block>
36
+ {% endblock %}
35
37
 
36
- <block name="content">
38
+ {% block content %}
37
39
  <h2>Cougar British shorthair turkish angora</h2>
38
40
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
39
41
  <p>A very wise cat once said:</p>
40
42
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
41
43
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
42
- </block>
43
-
44
- <block name="footer">
45
- <include src="menu.html"></include>
46
- </block>
44
+ {% endblock %}
47
45
 
48
- </extends>
46
+ {% block footer %}
47
+ {% include "src/html/includes/menu.html" %}
48
+ {% endblock %}
@@ -1,48 +1,48 @@
1
- <extends src="templates/action-page-cover-2col.html">
1
+ {% extends "src/html/templates/action-page.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "cover-2col" %}
4
4
 
5
- <block name="banner">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block background %}
6
8
  <img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="top">
11
+ {% block top %}
10
12
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
11
- </block>
13
+ {% endblock %}
12
14
 
13
- <block name="form-intro">
15
+ {% block form_intro %}
14
16
  <h2>Signup now!</h2>
15
17
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
16
- </block>
18
+ {% endblock %}
17
19
 
18
- <block name="progress-bar">
19
- <include src="pgbar.html"></include>
20
- </block>
20
+ {% block progress_bar %}
21
+ {% include "src/html/includes/pgbar.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="form">
23
- <include src="basic-form.html"></include>
24
- </block>
24
+ {% block form %}
25
+ {% include "src/html/includes/basic-form.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="recent-supporters">
27
- <include src="recent-supporters.html"></include>
28
- </block>
28
+ {% block recent_supporters %}
29
+ {% include "src/html/includes/recent-supporters.html" %}
30
+ {% endblock %}
29
31
 
30
- <block name="content-top">
32
+ {% block content_top %}
31
33
  <div class="media-stretch">
32
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
34
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
33
35
  </div>
34
- </block>
36
+ {% endblock %}
35
37
 
36
- <block name="content">
38
+ {% block content %}
37
39
  <h2>Cougar British shorthair turkish angora</h2>
38
40
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
39
41
  <p>A very wise cat once said:</p>
40
42
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
41
43
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
42
- </block>
43
-
44
- <block name="footer">
45
- <include src="menu.html"></include>
46
- </block>
44
+ {% endblock %}
47
45
 
48
- </extends>
46
+ {% block footer %}
47
+ {% include "src/html/includes/menu.html" %}
48
+ {% endblock %}
@@ -1,48 +1,48 @@
1
- <extends src="templates/action-page-cover-banner.html">
1
+ {% extends "src/html/templates/action-page-cover-banner.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "cover-banner" %}
4
4
 
5
- <block name="banner">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block background %}
6
8
  <img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="top">
11
+ {% block top %}
10
12
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
11
- </block>
13
+ {% endblock %}
12
14
 
13
- <block name="form-intro">
15
+ {% block form_intro %}
14
16
  <h2>Signup now!</h2>
15
17
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
16
- </block>
18
+ {% endblock %}
17
19
 
18
- <block name="progress-bar">
19
- <include src="pgbar.html"></include>
20
- </block>
20
+ {% block progress_bar %}
21
+ {% include "src/html/includes/pgbar.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="form">
23
- <include src="basic-form.html"></include>
24
- </block>
24
+ {% block form %}
25
+ {% include "src/html/includes/basic-form.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="recent-supporters">
27
- <include src="recent-supporters.html"></include>
28
- </block>
28
+ {% block recent_supporters %}
29
+ {% include "src/html/includes/recent-supporters.html" %}
30
+ {% endblock %}
29
31
 
30
- <block name="content-top">
32
+ {% block content_top %}
31
33
  <div class="media-stretch">
32
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
34
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
33
35
  </div>
34
- </block>
36
+ {% endblock %}
35
37
 
36
- <block name="content">
38
+ {% block content %}
37
39
  <h2>Cougar British shorthair turkish angora</h2>
38
40
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
39
41
  <p>A very wise cat once said:</p>
40
42
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
41
43
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
42
- </block>
43
-
44
- <block name="footer">
45
- <include src="menu.html"></include>
46
- </block>
44
+ {% endblock %}
47
45
 
48
- </extends>
46
+ {% block footer %}
47
+ {% include "src/html/includes/menu.html" %}
48
+ {% endblock %}
@@ -1,41 +1,40 @@
1
- <extends src="templates/action-page-reversed.html">
1
+ {% extends "src/html/templates/action-page-reversed.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "default" %}
4
4
 
5
- <block name="top">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block top %}
6
8
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="form-intro">
11
+ {% block form_intro %}
10
12
  <h2>Signup now!</h2>
11
13
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
12
- </block>
14
+ {% endblock %}
13
15
 
14
- <block name="progress-bar">
15
- <include src="pgbar.html"></include>
16
- </block>
16
+ {% block progress_bar %}
17
+ {% include "src/html/includes/pgbar.html" %}
18
+ {% endblock %}
17
19
 
18
- <block name="form">
19
- <include src="basic-form.html"></include>
20
- </block>
20
+ {% block form %}
21
+ {% include "src/html/includes/basic-form.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="recent-supporters">
23
- <include src="recent-supporters.html"></include>
24
- </block>
24
+ {% block recent_supporters %}
25
+ {% include "src/html/includes/recent-supporters.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="content-top">
28
+ {% block content_top %}
27
29
  <div class="media-stretch">
28
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
30
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
29
31
  </div>
30
- </block>
32
+ {% endblock %}
31
33
 
32
- <block name="content">
34
+ {% block content %}
33
35
  <h2>Cougar British shorthair turkish angora</h2>
34
36
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
35
37
  <p>A very wise cat once said:</p>
36
38
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
37
39
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
38
-
39
- </block>
40
-
41
- </extends>
40
+ {% endblock %}
@@ -1,48 +1,48 @@
1
- <extends src="templates/action-page-with-banner-reversed.html">
1
+ {% extends "src/html/templates/action-page-reversed.html" %}
2
2
 
3
- <block name="page-title">Take action now!</block>
3
+ {% set layout = "banner" %}
4
4
 
5
- <block name="banner">
5
+ {% block page_title %}Take action now!{% endblock %}
6
+
7
+ {% block banner %}
6
8
  <img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
7
- </block>
9
+ {% endblock %}
8
10
 
9
- <block name="top">
11
+ {% block top %}
10
12
  <p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
11
- </block>
13
+ {% endblock %}
12
14
 
13
- <block name="form-intro">
15
+ {% block form_intro %}
14
16
  <h2>Signup now!</h2>
15
17
  <p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
16
- </block>
18
+ {% endblock %}
17
19
 
18
- <block name="progress-bar">
19
- <include src="pgbar.html"></include>
20
- </block>
20
+ {% block progress_bar %}
21
+ {% include "src/html/includes/pgbar.html" %}
22
+ {% endblock %}
21
23
 
22
- <block name="form">
23
- <include src="basic-form.html"></include>
24
- </block>
24
+ {% block form %}
25
+ {% include "src/html/includes/basic-form.html" %}
26
+ {% endblock %}
25
27
 
26
- <block name="recent-supporters">
27
- <include src="recent-supporters.html"></include>
28
- </block>
28
+ {% block recent_supporters %}
29
+ {% include "src/html/includes/recent-supporters.html" %}
30
+ {% endblock %}
29
31
 
30
- <block name="content-top">
32
+ {% block content_top %}
31
33
  <div class="media-stretch">
32
- <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
34
+ <img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
33
35
  </div>
34
- </block>
36
+ {% endblock %}
35
37
 
36
- <block name="content">
38
+ {% block content %}
37
39
  <h2>Cougar British shorthair turkish angora</h2>
38
40
  <p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
39
41
  <p>A very wise cat once said:</p>
40
42
  <blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
41
43
  <p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
42
- </block>
43
-
44
- <block name="footer">
45
- <include src="menu.html"></include>
46
- </block>
44
+ {% endblock %}
47
45
 
48
- </extends>
46
+ {% block footer %}
47
+ {% include "src/html/includes/menu.html" %}
48
+ {% endblock %}