diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Footer.astro | 2 | ||||
| -rw-r--r-- | src/layouts/Article.astro | 2 | ||||
| -rw-r--r-- | src/layouts/Layout.astro | 2 | ||||
| -rw-r--r-- | src/layouts/Page.astro | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 1e97633..a346877 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -4,6 +4,6 @@ <footer> <p class="back-to-top-link"> - <a class="btn" href="#main">▴ Back til tap</a> + <a class="btn" href="#top">▴ Back til tap</a> </p> </footer> diff --git a/src/layouts/Article.astro b/src/layouts/Article.astro index 253479b..5e95147 100644 --- a/src/layouts/Article.astro +++ b/src/layouts/Article.astro @@ -9,7 +9,7 @@ const { title } = Astro.props; --- <Layout title={title}> - <article id="main"> + <article> <slot /> </article> </Layout> diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 54b8c25..ff58e82 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -26,7 +26,7 @@ const t = translate(locale); <meta name="generator" content={Astro.generator} /> <title>{title} | {t(site, { key: 'title' })}</title> </head> - <body> + <body id="top"> <Navbar /> <slot /> <Footer /> diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index bc7a095..145a7d6 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -9,7 +9,7 @@ const { title } = Astro.props; --- <Layout title={title}> - <main id="main"> + <main> <slot /> </main> </Layout> |
