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 %}
{# CDNs #}
{% include "components/cdn.njk" %}
{% include "main/cdn.njk" %}
{# Favicon #}
<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="">
</button>
{% include "components/header.njk" %}
{% include "components/navbar.njk" %}
{% include "main/header.njk" %}
{% include "main/navbar.njk" %}
<main>
<!-- <aside class="left-sidebar">
Left sidebar content here
@ -56,6 +56,6 @@
Right sidebar content here
</aside> -->
</main>
{% include "components/footer.njk" %}
{% include "main/footer.njk" %}
</body>
</html>

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
---
layout: layouts/start
layout: start/base
title: 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>
<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>

View File

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