clean
This commit is contained in:
parent
3dd877ff73
commit
dd66069a7f
|
@ -45,9 +45,7 @@ function head(file, title, options) {
|
|||
}${
|
||||
!options.canonical
|
||||
? ""
|
||||
: `<link rel="canonical" href="gemini://${
|
||||
options.canonical
|
||||
}/${file.replace(TOKENS_EXT, ".gmi")}">`
|
||||
: `<link rel="canonical" href="${ options.canonical }}">`
|
||||
}
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
|
@ -105,8 +103,3 @@ function line(
|
|||
if (quote) return `<blockquote>${escape(quote)}</blockquote>`;
|
||||
return `<p><br></p>`;
|
||||
}
|
||||
|
||||
function omit(key, obj) {
|
||||
const { [key]: omitted, ...rest } = obj;
|
||||
return rest;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue