Use sitemeta variables for web page descriptions
This commit is contained in:
parent
948d04c6b4
commit
c272f60d1c
|
@ -1,9 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: main/content
|
layout: main/content
|
||||||
title: Blog
|
title: Blog
|
||||||
desc: Blog hosted on Leilukin's personal website.
|
|
||||||
tags: blog pages
|
tags: blog pages
|
||||||
pageTitle: Welcome to Leilukin's Hub Blog!
|
|
||||||
navTitle: Blog Home
|
navTitle: Blog Home
|
||||||
pagination:
|
pagination:
|
||||||
data: collections.posts
|
data: collections.posts
|
||||||
|
@ -13,6 +11,9 @@ pagination:
|
||||||
permalink: "/{{ page.fileSlug }}{% if pagination.pageNumber > 0 %}/page/{{ pagination.pageNumber + 1 }}{% endif %}/"
|
permalink: "/{{ page.fileSlug }}{% if pagination.pageNumber > 0 %}/page/{{ pagination.pageNumber + 1 }}{% endif %}/"
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 4
|
order: 4
|
||||||
|
eleventyComputed:
|
||||||
|
pageTitle: Welcome to {{ sitemeta.siteName | safe }} Blog!
|
||||||
|
desc: Blog hosted on {{ sitemeta.siteAuthor.name }}'s pwesonal website.
|
||||||
---
|
---
|
||||||
|
|
||||||
<ul class="blog__posts">
|
<ul class="blog__posts">
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
layout: main/content
|
layout: main/content
|
||||||
title: Now
|
title: Now
|
||||||
desc: What Leilukin is doing now.
|
|
||||||
updated: 2024-05-31
|
updated: 2024-05-31
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
key: Now
|
key: Now
|
||||||
order: 3
|
order: 3
|
||||||
|
eleventyComputed:
|
||||||
|
desc: What {{ sitemeta.siteAuthor.name }} is doing now.
|
||||||
---
|
---
|
||||||
|
|
||||||
*This page was last updated on {{ updated | formatDate }}.*
|
*This page was last updated on {{ updated | formatDate }}.*
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
layout: main/content
|
layout: main/content
|
||||||
title: Projects
|
title: Projects
|
||||||
desc: Things I have created.
|
|
||||||
isContentDivided: true
|
isContentDivided: true
|
||||||
toc: true
|
toc: true
|
||||||
eleventyNavigation:
|
eleventyNavigation:
|
||||||
order: 6
|
order: 6
|
||||||
|
eleventyComputed:
|
||||||
|
desc: Things {{ sitemeta.siteAuthor.name }} has created.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% container "section", "content__section" %}
|
{% container "section", "content__section" %}
|
||||||
|
|
Loading…
Reference in New Issue