diff --git a/src/views/home.ts b/src/views/home.ts index 17b363b..7291c18 100644 --- a/src/views/home.ts +++ b/src/views/home.ts @@ -44,7 +44,7 @@ export function homePage(
-

${msg.home.tagline}

+

${msg.home.tagline}

${msg.home.heroDescription}

${msg.home.createAWiki} diff --git a/src/views/layout.ts b/src/views/layout.ts index 78862c5..f4e170a 100644 --- a/src/views/layout.ts +++ b/src/views/layout.ts @@ -133,7 +133,7 @@ function renderWithSidebar(body: string, options: LayoutOptions): string { const href = handle ? noteUrl(handle, slug, n.slug) : `/${slug}/${n.slug}`; - return `
  • ${escapeHtml(n.title)}
  • `; + return `
  • ${escapeHtml(n.title)}
  • `; }) .join("\n")}`; @@ -224,7 +224,7 @@ function renderWithSidebar(body: string, options: LayoutOptions): string { ${noteActionsBlock}
    ${adminLinks} @@ -397,13 +397,13 @@ ${extraScripts} ${ options?.sidebarNotes ? renderWithSidebar( - `${options?.pageTitle ? `

    ${escapeHtml(options.pageTitle)}

    ` : ""}${body}`, + `${options?.pageTitle ? `

    ${escapeHtml(options.pageTitle)}

    ` : ""}${body}`, options, ) - : `
    ${options?.pageTitle ? `

    ${escapeHtml(options.pageTitle)}

    ` : ""}${body}
    ` + : `
    ${options?.pageTitle ? `

    ${escapeHtml(options.pageTitle)}

    ` : ""}${body}
    ` } -