mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Add sitemap and fully automate article creation
Article pages now insert the cover images automatically & an excerpt is used instead of a description for the page description.
This commit is contained in:
@@ -1,18 +1,10 @@
|
||||
---
|
||||
title: Title1
|
||||
description: An article description1
|
||||
layout: article
|
||||
categories: articles
|
||||
title: Title
|
||||
date: 2019-01-01 7:01
|
||||
authors: Name
|
||||
image-caption: A brass statue of a child, in a garden
|
||||
layout: article
|
||||
categories: articles
|
||||
---
|
||||
|
||||
<h3 class="mdc-typography--subtitle1">
|
||||
<time class="timeago" datetime="{{ page.date | date: '%Y-%m-%d' }}T{{ page.date | date: '%H:%M:%S' }}">{{ page.date | date: '%A %e %B %Y' }}</time>
|
||||
| by {{ page.authors }}
|
||||
</h3>
|
||||
<figure>
|
||||
<img src="/images/article_name--cover.jpg" style="width:100%;">
|
||||
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
|
||||
</figure>
|
||||
Content
|
||||
|
||||
Reference in New Issue
Block a user