@x-govuk/govuk-eleventy-plugin 6.0.2 → 6.0.4

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.
@@ -9,7 +9,7 @@
9
9
  html: description | markdown("inline") | noOrphans
10
10
  } if description,
11
11
  breadcrumbs: {
12
- classes: "govuk-!-display-none-print govuk-!-margin-bottom-0",
12
+ classes: "govuk-!-display-none-print",
13
13
  items: breadcrumbItems
14
14
  } if showBreadcrumbs
15
15
  }) }}
@@ -1,32 +1,35 @@
1
1
  {% extends "layouts/base.njk" %}
2
2
 
3
3
  {% block main %}
4
- {{ xGovukMasthead({
5
- title: {
6
- html: title | smart
7
- } if title,
8
- description: {
9
- html: description | markdown("inline") | noOrphans
10
- } if description,
11
- startButton: {
12
- href: startButton.href,
13
- text: startButton.text
14
- } if startButton,
15
- image: {
16
- alt: image.alt,
17
- src: image.src
18
- } if image,
19
- breadcrumbs: {
20
- classes: "govuk-!-display-none-print govuk-!-margin-bottom-0",
21
- items: breadcrumbItems
22
- } if showBreadcrumbs
23
- }) }}
4
+ <main id="main-content" role="main" {%- if mainLang %} lang="{{ mainLang }}"{% endif %}>
5
+ {{ xGovukMasthead({
6
+ title: {
7
+ html: title | smart
8
+ } if title,
9
+ description: {
10
+ html: description | markdown("inline") | noOrphans
11
+ } if description,
12
+ startButton: {
13
+ href: startButton.href,
14
+ text: startButton.text
15
+ } if startButton,
16
+ image: {
17
+ alt: image.alt,
18
+ src: image.src
19
+ } if image,
20
+ breadcrumbs: {
21
+ classes: "govuk-!-display-none-print",
22
+ items: breadcrumbItems
23
+ } if showBreadcrumbs
24
+ }) }}
25
+ <div class="govuk-main-wrapper {%- if mainClasses %} {{ mainClasses }}{% endif %}">
26
+ <div class="govuk-width-container {%- if containerClasses %} {{ containerClasses }}{% endif %}">
27
+ {% block content %}
28
+ {{ appProseScope(content) if content }}
24
29
 
25
- {{ super() }}
26
- {% endblock %}
27
-
28
- {% block content %}
29
- {{ appProseScope(content) if content }}
30
-
31
- {% include "layouts/shared/related.njk" %}
30
+ {% include "layouts/shared/related.njk" %}
31
+ {% endblock %}
32
+ </div>
33
+ </div>
34
+ </main>
32
35
  {% endblock %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-govuk/govuk-eleventy-plugin",
3
- "version": "6.0.2",
3
+ "version": "6.0.4",
4
4
  "description": "Write documentation using Markdown and publish it using GOV.UK styles",
5
5
  "keywords": [
6
6
  "govuk",
@@ -82,14 +82,14 @@
82
82
  "eslint-config-prettier": "^9.1.0",
83
83
  "eslint-config-standard": "^17.1.0",
84
84
  "eslint-plugin-import": "^2.29.0",
85
- "eslint-plugin-jsdoc": "^46.9.0",
85
+ "eslint-plugin-jsdoc": "^48.0.0",
86
86
  "eslint-plugin-n": "^16.4.0",
87
87
  "eslint-plugin-prettier": "^5.0.0",
88
88
  "eslint-plugin-promise": "^6.1.0",
89
89
  "np": "^9.0.0",
90
90
  "prettier": "^3.1.0",
91
- "stylelint": "^15.0.0",
92
- "stylelint-config-gds": "^1.0.0",
91
+ "stylelint": "^16.0.0",
92
+ "stylelint-config-gds": "^2.0.0",
93
93
  "stylelint-order": "^6.0.0"
94
94
  },
95
95
  "engines": {