Move position of noscript notice on the home page

This commit is contained in:
Helen Chong 2024-06-17 23:22:22 +08:00
parent cb79487963
commit 65c8a0db65
1 changed files with 8 additions and 8 deletions

View File

@ -14,14 +14,6 @@ eleventyComputed:
--- ---
<section class="content__section"> <section class="content__section">
<noscript>
<div class="text-box">
<h2>You have disabled JavaScript</h2>
<p>This website uses JavaScript. While you can still access most of the content of this site with JavaScript disabled, some components of this site will not work as intended.</p>
<p>You can learn more about how JavaScript is used on this site on the <a href="/colophon/#javascript">JavaScript section of the colophon page</a>.</p>
</div>
</noscript>
<p>Hello! You can call me {{ sitemeta.siteAuthor.name }}. Welcome to my website! This site is my own personal hub and corner on the internet.</p> <p>Hello! You can call me {{ sitemeta.siteAuthor.name }}. Welcome to my website! This site is my own personal hub and corner on the internet.</p>
<p>You can browse all my contents published on this site through the <a href="/archive">Archive</a> page, or the <a href="/categories">Content Categories</a> page. You can use the <a href="/sitemap">site map</a> to navigate this website.</p> <p>You can browse all my contents published on this site through the <a href="/archive">Archive</a> page, or the <a href="/categories">Content Categories</a> page. You can use the <a href="/sitemap">site map</a> to navigate this website.</p>
@ -31,6 +23,14 @@ eleventyComputed:
<p>Read the <a href="/about">About</a> page to learn more about this site and its webmaster.</p> <p>Read the <a href="/about">About</a> page to learn more about this site and its webmaster.</p>
<p>Enjoy your stay!</p> <p>Enjoy your stay!</p>
<noscript>
<div class="text-box">
<h2>You have disabled JavaScript</h2>
<p>This website uses JavaScript. While you can still access most of the content of this site with JavaScript disabled, some components of this site will not work as intended.</p>
<p>You can learn more about how JavaScript is used on this site on the <a href="/colophon/#javascript">JavaScript section of the colophon page</a>.</p>
</div>
</noscript>
</section> </section>
<section class="content__section"> <section class="content__section">