Fix interpuncation spacing in footer

This commit is contained in:
Florine W. Dekker 2021-03-26 03:08:37 +01:00
parent 0e4f973553
commit a02892414d
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 2 additions and 8 deletions

View File

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

View File

@ -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}`;
};