Browse Source

Fix interpuncation spacing in footer

master v0.0.24
F.W. Dekker 8 months ago
parent
commit
a02892414d
Signed by: FWDekker GPG Key ID: B1B567AF58D6EE0F
  1. 2
      package.json
  2. 8
      src/main/js/Template.js

2
package.json

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "0.0.23",
"version": "0.0.24",
"description": "The base template for pages on fwdekker.com.",
"author": "Felix W. Dekker (https://fwdekker.com)",
"license": "MIT",

8
src/main/js/Template.js

@ -173,13 +173,7 @@ export const footer = function (
const footerLink = function (prefix, text, url, suffix) {
if (text === undefined) return "";
return `
<span>
${prefix}
${url !== undefined ? `<a href="${url}">${text}</a>` : text}
${suffix}
</span>
`;
return `${prefix}${url !== undefined ? `<a href="${url}">${text}</a>` : text}${suffix}`;
};

Loading…
Cancel
Save