Use desc instead of intro variable for description in the heading
This commit is contained in:
parent
b55b75e630
commit
9d508170ee
|
@ -4,8 +4,8 @@ layout: main/base
|
|||
|
||||
<header class="main__header">
|
||||
<h1>{{ pageTitle or title }}</h1>
|
||||
{% if intro %}
|
||||
<p>{{ intro }}</p>
|
||||
{% if desc %}
|
||||
<p>{{ desc }}</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
layout: main/content
|
||||
tags: pages
|
||||
pageTitle: Welcome!
|
||||
intro: Home page of Leilukin's Hub.
|
||||
desc: Home page of Leilukin's Hub.
|
||||
metadata:
|
||||
title: Home
|
||||
desc: Home page of Leilukin's Hub.
|
||||
date: 2023-01-01
|
||||
isContentDivided: true
|
||||
---
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
layout: main/content
|
||||
title: About
|
||||
desc: About this website and its owner.
|
||||
metadata:
|
||||
desc: About this website and its owner.
|
||||
type: article
|
||||
date: 2023-01-02
|
||||
intro: Learn more about this website and its owner.
|
||||
isContentDivided: true
|
||||
---
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
layout: main/content
|
||||
title: Articles
|
||||
desc: List of articles published on my website.
|
||||
metadata:
|
||||
desc: List of articles published on my website.
|
||||
type: article
|
||||
date: 2023-01-04
|
||||
templateEngineOverride: njk, md
|
||||
|
|
Loading…
Reference in New Issue