Slightly improve code style

To be honest, this is just to trigger a release.
This commit is contained in:
Florine W. Dekker 2022-11-19 17:35:12 +01:00
parent 80c6437b11
commit 60c84bd48e
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
1 changed files with 2 additions and 6 deletions

View File

@ -157,16 +157,12 @@ const footer = function(
if (privacyPolicyURL === undefined) privacyPolicyURL = "https://fwdekker.com/privacy/"; if (privacyPolicyURL === undefined) privacyPolicyURL = "https://fwdekker.com/privacy/";
return stringToHtml( return stringToHtml(
`<footer class="fwd-footer">` + `<footer class="fwd-footer"><hr /><small>` +
`<hr />` +
`<small>` +
footerLink("Made by ", author, authorURL, ". ") + footerLink("Made by ", author, authorURL, ". ") +
footerLink("Licensed ", license, licenseURL, ". ") + footerLink("Licensed ", license, licenseURL, ". ") +
footerLink("Source and support on ", vcs, vcsURL, ". ") + footerLink("Source and support on ", vcs, vcsURL, ". ") +
footerLink("Read the ", privacyPolicyURL && "privacy policy", privacyPolicyURL, ". ") + footerLink("Read the ", privacyPolicyURL && "privacy policy", privacyPolicyURL, ". ") +
`</small>` + `</small><div id="fwd-footer-version"><small>${version || ""}</small></div></footer>`,
`<div id="fwd-footer-version"><small>${version || ""}</small></div>` +
`</footer>`,
"footer"); "footer");
}; };