Rearrange layout and template files

This commit is contained in:
Helen Chong 2024-04-11 23:29:15 +08:00
parent 7751eedfb9
commit 3b6ece319f
11 changed files with 16 additions and 16 deletions

View File

@ -22,7 +22,7 @@
{% endif %} {% endif %}
{# CDNs #} {# CDNs #}
{% include "components/cdn.njk" %} {% include "main/cdn.njk" %}
{# Favicon #} {# Favicon #}
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">
@ -43,8 +43,8 @@
<img src="/assets/images/elements/top.svg" alt=""> <img src="/assets/images/elements/top.svg" alt="">
</button> </button>
{% include "components/header.njk" %} {% include "main/header.njk" %}
{% include "components/navbar.njk" %} {% include "main/navbar.njk" %}
<main> <main>
<!-- <aside class="left-sidebar"> <!-- <aside class="left-sidebar">
Left sidebar content here Left sidebar content here
@ -56,6 +56,6 @@
Right sidebar content here Right sidebar content here
</aside> --> </aside> -->
</main> </main>
{% include "components/footer.njk" %} {% include "main/footer.njk" %}
</body> </body>
</html> </html>

View File

@ -1,8 +1,8 @@
--- ---
layout: "layouts/main.njk" layout: main/base
title: About title: About
meta_url: about metadata:
meta_description: About this website and its owner. desc: About this website and its owner.
--- ---
<article class="divided-article"> <article class="divided-article">

View File

@ -1,8 +1,8 @@
--- ---
layout: "layouts/main.njk" layout: main/base
title: Home title: Home
meta_url: home metadata:
meta_description: Home page of Leilukin's Hub desc: Home page of Leilukin's Hub.
--- ---
<div class="content-container"> <div class="content-container">

View File

@ -1,5 +1,5 @@
--- ---
layout: layouts/start layout: start/base
desc: Welcome to Leilukin's personal website. desc: Welcome to Leilukin's personal website.
h1: Welcome to Leilukin's Hub! h1: Welcome to Leilukin's Hub!
--- ---

View File

@ -1,5 +1,5 @@
--- ---
layout: layouts/start layout: start/base
title: Page Not Found title: Page Not Found
h1: Page Not Found h1: Page Not Found
--- ---
@ -7,5 +7,5 @@ h1: Page Not Found
<p>Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.</p> <p>Oops! Either the page you are looking for does not exist, or it has been moved to a diffrent part of this site.</p>
<section class="index__btn-wrapper"> <section class="index__btn-wrapper">
<a href="/home.html" class="index__link">🏠 Back to Home</a> <a href="/home" class="index__link">🏠 Back to Home</a>
</section> </section>

View File

@ -1,9 +1,9 @@
--- ---
layout: layouts/main layout: main/base
title: Site Map title: Site Map
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
meta_url: sitemap metadata:
meta_description: Site map of Leilukin's Hub. desc: Site map of Leilukin's Hub.
sitemap: true sitemap: true
--- ---