@madgex/fert 7.0.4 → 7.0.6

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.
@@ -26,7 +26,7 @@ export async function getConfig(cpid, configNames = []) {
26
26
  for (let config of configNames) {
27
27
  const url = CONFIG_API.replace('{cpid}', cpid).replace('{config}', config);
28
28
  const { data } = await fetch(url).then((response) => response.json());
29
- const { value } = data[0];
29
+ const { value } = data?.[0] || {};
30
30
 
31
31
  result[config] = value;
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/fert",
3
- "version": "7.0.4",
3
+ "version": "7.0.6",
4
4
  "description": "Tool to help build the V6 branding",
5
5
  "bin": {
6
6
  "fert": "./bin/cli.js"
@@ -13,7 +13,7 @@
13
13
  {% include templatePath + './includes/footer-nav.njk' %}
14
14
 
15
15
  <p class="copyright no-margin">
16
- © 2008 - 2021 bigworkbag.com, all rights reserved. Powered by Madgex Job Board Software
16
+ © 2008 - {{ dayjs().format('YYYY') }} bigworkbag.com, all rights reserved. Powered by Madgex Job Board Software
17
17
  </p>
18
18
  </div>
19
19
  </footer>
@@ -60,8 +60,8 @@
60
60
 
61
61
  <div class="wrapper cf">
62
62
  <div class="primary-logo">
63
- <a href="/" aria-label="{{ translations.header["homepage"] }}">
64
- <img src="/public/images/logo.png" title="bigworkbag.com" alt="bigworkbag.com logo"/>
63
+ <a href="/">
64
+ <img src="/public/images/logo.png" alt="Bigworkbag Home"/>
65
65
  </a>
66
66
  </div>
67
67
  </div>
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
  <link rel="stylesheet" href="/public/tokens/css-vars/variables.css">
8
8
  <link rel="stylesheet" href="/design-system.css">
9
- <script src="/design-system.js"></script>
9
+ <script type="module" src="/design-system.js"></script>
10
10
  {%- for link in fertConfig.externalAssets.links %}
11
11
  <link {%- for key, value in link %} {{ key }}="{{ value }}" {%- endfor %}/>
12
12
  {%- endfor -%}