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:
@@ -20,7 +20,7 @@
|
|||||||
<meta name="msapplication-TileColor" content="#d84315">
|
<meta name="msapplication-TileColor" content="#d84315">
|
||||||
|
|
||||||
<title>{{ page.title }} | Reading School</title>
|
<title>{{ page.title }} | Reading School</title>
|
||||||
<meta name="description" content="{{ page.description }}">
|
<meta name="description" content="{{ page.excerpt }}">
|
||||||
|
|
||||||
<!-- import Roboto (font) -->
|
<!-- import Roboto (font) -->
|
||||||
<link href="/css/roboto.css" rel="stylesheet">
|
<link href="/css/roboto.css" rel="stylesheet">
|
||||||
|
|||||||
@@ -15,6 +15,14 @@
|
|||||||
<main class="main-content" id="main-content">
|
<main class="main-content" id="main-content">
|
||||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||||
<h2 class="mdc-typography--headline2">{{ page.title }}</h2>
|
<h2 class="mdc-typography--headline2">{{ page.title }}</h2>
|
||||||
|
<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/{{ page.url | relative_url | remove: '.html' | replace: '/', '-' | remove: '-articles-' }}--cover.jpg" style="width:100%;">
|
||||||
|
<figcaption class="mdc-typography--caption-text">{{ page.image-caption }}</figcaption>
|
||||||
|
</figure>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -1,18 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Title1
|
title: Title
|
||||||
description: An article description1
|
|
||||||
layout: article
|
|
||||||
categories: articles
|
|
||||||
date: 2019-01-01 7:01
|
date: 2019-01-01 7:01
|
||||||
authors: Name
|
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
|
Content
|
||||||
|
|||||||
@@ -14,15 +14,16 @@
|
|||||||
<!-- add to homescreen for Safari on iOS -->
|
<!-- add to homescreen for Safari on iOS -->
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<meta name="apple-mobile-web-app-title" content="Title1 | Reading School">
|
<meta name="apple-mobile-web-app-title" content="Title | Reading School">
|
||||||
<link rel="apple-touch-icon-precomposed" href="/images/favicon.png">
|
<link rel="apple-touch-icon-precomposed" href="/images/favicon.png">
|
||||||
|
|
||||||
<!-- tile icon & colour for Windows 8 -->
|
<!-- tile icon & colour for Windows 8 -->
|
||||||
<meta name="msapplication-TileImage" content="/images/favicon.png">
|
<meta name="msapplication-TileImage" content="/images/favicon.png">
|
||||||
<meta name="msapplication-TileColor" content="#d84315">
|
<meta name="msapplication-TileColor" content="#d84315">
|
||||||
|
|
||||||
<title>Title1 | Reading School</title>
|
<title>Title | Reading School</title>
|
||||||
<meta name="description" content="An article description1">
|
<meta name="description" content="<p>Content</p>
|
||||||
|
">
|
||||||
|
|
||||||
<!-- import Roboto (font) -->
|
<!-- import Roboto (font) -->
|
||||||
<link href="/css/roboto.css" rel="stylesheet">
|
<link href="/css/roboto.css" rel="stylesheet">
|
||||||
@@ -73,27 +74,9 @@
|
|||||||
<div class="mdc-list-group">
|
<div class="mdc-list-group">
|
||||||
<h3 class="mdc-list-group__subheader">Articles</h3>
|
<h3 class="mdc-list-group__subheader">Articles</h3>
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/02/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article_name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
<span class="mdc-list-item__text">Title</span>
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Authors</h3>
|
|
||||||
<a class="mdc-list-item" href="/authors/name" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">account_circle</i>
|
|
||||||
<span class="mdc-list-item__text">Name</span>
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -122,13 +105,13 @@
|
|||||||
|
|
||||||
<main class="main-content" id="main-content">
|
<main class="main-content" id="main-content">
|
||||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||||
<h2 class="mdc-typography--headline2">Title1</h2>
|
<h2 class="mdc-typography--headline2">Title</h2>
|
||||||
<h3 class="mdc-typography--subtitle1">
|
<h3 class="mdc-typography--subtitle1">
|
||||||
<time class="timeago" datetime="2019-01-01T07:01:00">Tuesday 1 January 2019</time>
|
<time class="timeago" datetime="2019-01-01T07:01:00">Tuesday 1 January 2019</time>
|
||||||
| by Name
|
| by Name
|
||||||
</h3>
|
</h3>
|
||||||
<figure>
|
<figure>
|
||||||
<img src="/images/article_name--cover.jpg" style="width:100%;" />
|
<img src="/images/2019-01-01-article-name--cover.jpg" style="width:100%;">
|
||||||
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
|
<figcaption class="mdc-typography--caption-text">A brass statue of a child, in a garden</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<p>Content</p>
|
<p>Content</p>
|
||||||
|
|||||||
@@ -1,144 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
|
||||||
<meta name="HandheldFriendly" content="True">
|
|
||||||
<link rel="icon" href="/images/favicon.ico">
|
|
||||||
|
|
||||||
<!-- add to homescreen for Chrome on Android -->
|
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
|
||||||
<link rel="icon" sizes="192x192" href="/images/favicon.png">
|
|
||||||
|
|
||||||
<!-- add to homescreen for Safari on iOS -->
|
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
||||||
<meta name="apple-mobile-web-app-title" content="Title1 | Reading School">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="/images/favicon.png">
|
|
||||||
|
|
||||||
<!-- tile icon & colour for Windows 8 -->
|
|
||||||
<meta name="msapplication-TileImage" content="/images/favicon.png">
|
|
||||||
<meta name="msapplication-TileColor" content="#d84315">
|
|
||||||
|
|
||||||
<title>Title1 | Reading School</title>
|
|
||||||
<meta name="description" content="An article description1">
|
|
||||||
|
|
||||||
<!-- import Roboto (font) -->
|
|
||||||
<link href="/css/roboto.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- import jQuery -->
|
|
||||||
<script src="/js/jquery.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import jQuery timeago -->
|
|
||||||
<script src="/js/jquery.timeago.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import cookie JavaScript -->
|
|
||||||
<script src="/js/cookies.js"></script>
|
|
||||||
|
|
||||||
<!-- import Material Design components & icons -->
|
|
||||||
<link href="/css/material-components-web.min.css" rel="stylesheet">
|
|
||||||
<link href="/css/material_icons.css" rel="stylesheet">
|
|
||||||
<script src="/js/material-components-web.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import local styling & scripts -->
|
|
||||||
<script src="/js/global.js"></script>
|
|
||||||
<link href="/css/global.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<link href="/css/article-page.css" rel="stylesheet">
|
|
||||||
<body>
|
|
||||||
<!-- cookie notice is included automatically -->
|
|
||||||
<div id="cookies">
|
|
||||||
<p>Just to let you know, we use cookies on our site.</p>
|
|
||||||
<p><a href="javascript:void(0);" id="close-cookies">OK</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- content of navbar is included via jQuery -->
|
|
||||||
<aside class="mdc-drawer mdc-drawer--modal">
|
|
||||||
<div class="mdc-drawer__content">
|
|
||||||
<nav class="mdc-list">
|
|
||||||
<div style="margin: 15px;text-align:center;">
|
|
||||||
<img src="/images/page-logo.png" style="width: 90%;"/>
|
|
||||||
</div>
|
|
||||||
<a class="mdc-list-item" href="https://reading-school.co.uk" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">school</i>
|
|
||||||
<span class="mdc-list-item__text">Reading School Website</span>
|
|
||||||
</a>
|
|
||||||
<a class="mdc-list-item" href="/" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">home</i>
|
|
||||||
<span class="mdc-list-item__text">Home Page</span>
|
|
||||||
</a>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Articles</h3>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/02/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article_name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Authors</h3>
|
|
||||||
<a class="mdc-list-item" href="/authors/name" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">account_circle</i>
|
|
||||||
<span class="mdc-list-item__text">Name</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
<div class="mdc-drawer-scrim"></div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="mdc-drawer-app-content">
|
|
||||||
<header class="mdc-top-app-bar mdc-top-app-bar--short" id="app-bar">
|
|
||||||
<div class="mdc-top-app-bar__row">
|
|
||||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
|
|
||||||
<a href="javascript:void(0);" class="material-icons mdc-top-app-bar__navigation-icon">menu</a>
|
|
||||||
<span class="mdc-top-app-bar__title">BBC Young Reporter | Reading School</span>
|
|
||||||
</section>
|
|
||||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
|
|
||||||
<a href="/" class="mdc-top-app-bar__action-item" aria-label="Reading School" style="padding:0;">
|
|
||||||
<img src="/images/logo-white.png" alt="Reading School Logo" style="height:100%;"/>
|
|
||||||
</a>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
|
||||||
<main class="main-content" id="main-content">
|
|
||||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
|
||||||
<h2 class="mdc-typography--headline2">Title1</h2>
|
|
||||||
<h3 class="mdc-typography--subtitle1">
|
|
||||||
<time class="timeago" datetime="2019-01-01T07:02:00">Tuesday 1 January 2019</time>
|
|
||||||
| by Name
|
|
||||||
</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>
|
|
||||||
<p>Content</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
© Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew Grove</a>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,144 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
|
||||||
<meta name="HandheldFriendly" content="True">
|
|
||||||
<link rel="icon" href="/images/favicon.ico">
|
|
||||||
|
|
||||||
<!-- add to homescreen for Chrome on Android -->
|
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
|
||||||
<link rel="icon" sizes="192x192" href="/images/favicon.png">
|
|
||||||
|
|
||||||
<!-- add to homescreen for Safari on iOS -->
|
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
||||||
<meta name="apple-mobile-web-app-title" content="Title1 | Reading School">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="/images/favicon.png">
|
|
||||||
|
|
||||||
<!-- tile icon & colour for Windows 8 -->
|
|
||||||
<meta name="msapplication-TileImage" content="/images/favicon.png">
|
|
||||||
<meta name="msapplication-TileColor" content="#d84315">
|
|
||||||
|
|
||||||
<title>Title1 | Reading School</title>
|
|
||||||
<meta name="description" content="An article description1">
|
|
||||||
|
|
||||||
<!-- import Roboto (font) -->
|
|
||||||
<link href="/css/roboto.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- import jQuery -->
|
|
||||||
<script src="/js/jquery.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import jQuery timeago -->
|
|
||||||
<script src="/js/jquery.timeago.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import cookie JavaScript -->
|
|
||||||
<script src="/js/cookies.js"></script>
|
|
||||||
|
|
||||||
<!-- import Material Design components & icons -->
|
|
||||||
<link href="/css/material-components-web.min.css" rel="stylesheet">
|
|
||||||
<link href="/css/material_icons.css" rel="stylesheet">
|
|
||||||
<script src="/js/material-components-web.min.js"></script>
|
|
||||||
|
|
||||||
<!-- import local styling & scripts -->
|
|
||||||
<script src="/js/global.js"></script>
|
|
||||||
<link href="/css/global.css" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<link href="/css/article-page.css" rel="stylesheet">
|
|
||||||
<body>
|
|
||||||
<!-- cookie notice is included automatically -->
|
|
||||||
<div id="cookies">
|
|
||||||
<p>Just to let you know, we use cookies on our site.</p>
|
|
||||||
<p><a href="javascript:void(0);" id="close-cookies">OK</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- content of navbar is included via jQuery -->
|
|
||||||
<aside class="mdc-drawer mdc-drawer--modal">
|
|
||||||
<div class="mdc-drawer__content">
|
|
||||||
<nav class="mdc-list">
|
|
||||||
<div style="margin: 15px;text-align:center;">
|
|
||||||
<img src="/images/page-logo.png" style="width: 90%;"/>
|
|
||||||
</div>
|
|
||||||
<a class="mdc-list-item" href="https://reading-school.co.uk" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">school</i>
|
|
||||||
<span class="mdc-list-item__text">Reading School Website</span>
|
|
||||||
</a>
|
|
||||||
<a class="mdc-list-item" href="/" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">home</i>
|
|
||||||
<span class="mdc-list-item__text">Home Page</span>
|
|
||||||
</a>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Articles</h3>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/02/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article_name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Authors</h3>
|
|
||||||
<a class="mdc-list-item" href="/authors/name" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">account_circle</i>
|
|
||||||
<span class="mdc-list-item__text">Name</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
<div class="mdc-drawer-scrim"></div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="mdc-drawer-app-content">
|
|
||||||
<header class="mdc-top-app-bar mdc-top-app-bar--short" id="app-bar">
|
|
||||||
<div class="mdc-top-app-bar__row">
|
|
||||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
|
|
||||||
<a href="javascript:void(0);" class="material-icons mdc-top-app-bar__navigation-icon">menu</a>
|
|
||||||
<span class="mdc-top-app-bar__title">BBC Young Reporter | Reading School</span>
|
|
||||||
</section>
|
|
||||||
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
|
|
||||||
<a href="/" class="mdc-top-app-bar__action-item" aria-label="Reading School" style="padding:0;">
|
|
||||||
<img src="/images/logo-white.png" alt="Reading School Logo" style="height:100%;"/>
|
|
||||||
</a>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
|
||||||
<main class="main-content" id="main-content">
|
|
||||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
|
||||||
<h2 class="mdc-typography--headline2">Title1</h2>
|
|
||||||
<h3 class="mdc-typography--subtitle1">
|
|
||||||
<time class="timeago" datetime="2019-01-02T07:01:00">Wednesday 2 January 2019</time>
|
|
||||||
| by Name
|
|
||||||
</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>
|
|
||||||
<p>Content</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
© Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew Grove</a>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<meta name="msapplication-TileColor" content="#d84315">
|
<meta name="msapplication-TileColor" content="#d84315">
|
||||||
|
|
||||||
<title>BBC Young Reporter | Reading School</title>
|
<title>BBC Young Reporter | Reading School</title>
|
||||||
<meta name="description" content="News articles written by Reading School students in year 8">
|
<meta name="description" content="">
|
||||||
|
|
||||||
<!-- import Roboto (font) -->
|
<!-- import Roboto (font) -->
|
||||||
<link href="/css/roboto.css" rel="stylesheet">
|
<link href="/css/roboto.css" rel="stylesheet">
|
||||||
@@ -73,27 +73,9 @@
|
|||||||
<div class="mdc-list-group">
|
<div class="mdc-list-group">
|
||||||
<h3 class="mdc-list-group__subheader">Articles</h3>
|
<h3 class="mdc-list-group__subheader">Articles</h3>
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/02/article-name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article_name.html" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
<a class="mdc-list-item" href="/articles/2019/01/01/article-name.html" data-mdc-auto-init="MDCRipple">
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
|
||||||
<span class="mdc-list-item__text">Title1</span>
|
<span class="mdc-list-item__text">Title</span>
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="mdc-list-group">
|
|
||||||
<h3 class="mdc-list-group__subheader">Authors</h3>
|
|
||||||
<a class="mdc-list-item" href="/authors/name" data-mdc-auto-init="MDCRipple">
|
|
||||||
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">account_circle</i>
|
|
||||||
<span class="mdc-list-item__text">Name</span>
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -123,54 +105,10 @@
|
|||||||
<main class="main-content" id="main-content">
|
<main class="main-content" id="main-content">
|
||||||
<div class="mdc-top-app-bar--short-fixed-adjust">
|
<div class="mdc-top-app-bar--short-fixed-adjust">
|
||||||
|
|
||||||
<div class="mdc-card">
|
|
||||||
<div class="mdc-card__media mdc-card__media--16-9 -articles-2019-01-02-article-name-html"></div>
|
|
||||||
<div class="mdc-card-content">
|
|
||||||
<h2 class="mdc-typography--headline6">Title1</h2>
|
|
||||||
<h3 class="mdc-typography--subtitle2">
|
|
||||||
<time class="timeago" datetime="2019-01-02T07:01:00">Wednesday 2 January 2019</time>
|
|
||||||
| by Name
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
<div class="mdc-card__actions">
|
|
||||||
<div class="mdc-card__action-buttons">
|
|
||||||
<button class="mdc-button mdc-card__action mdc-card__action--button" data-mdc-auto-init="MDCRipple" onclick="window.location='/articles/2019/01/02/article-name.html';">Read</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.-articles-2019-01-02-article-name-html {
|
|
||||||
background-image: url("/images/2019-01-02-article-name--cover.jpg");
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="mdc-card">
|
|
||||||
<div class="mdc-card__media mdc-card__media--16-9 -articles-2019-01-01-article_name-html"></div>
|
|
||||||
<div class="mdc-card-content">
|
|
||||||
<h2 class="mdc-typography--headline6">Title1</h2>
|
|
||||||
<h3 class="mdc-typography--subtitle2">
|
|
||||||
<time class="timeago" datetime="2019-01-01T07:02:00">Tuesday 1 January 2019</time>
|
|
||||||
| by Name
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
<div class="mdc-card__actions">
|
|
||||||
<div class="mdc-card__action-buttons">
|
|
||||||
<button class="mdc-button mdc-card__action mdc-card__action--button" data-mdc-auto-init="MDCRipple" onclick="window.location='/articles/2019/01/01/article_name.html';">Read</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.-articles-2019-01-01-article_name-html {
|
|
||||||
background-image: url("/images/2019-01-01-article_name--cover.jpg");
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="mdc-card">
|
<div class="mdc-card">
|
||||||
<div class="mdc-card__media mdc-card__media--16-9 -articles-2019-01-01-article-name-html"></div>
|
<div class="mdc-card__media mdc-card__media--16-9 -articles-2019-01-01-article-name-html"></div>
|
||||||
<div class="mdc-card-content">
|
<div class="mdc-card-content">
|
||||||
<h2 class="mdc-typography--headline6">Title1</h2>
|
<h2 class="mdc-typography--headline6">Title</h2>
|
||||||
<h3 class="mdc-typography--subtitle2">
|
<h3 class="mdc-typography--subtitle2">
|
||||||
<time class="timeago" datetime="2019-01-01T07:01:00">Tuesday 1 January 2019</time>
|
<time class="timeago" datetime="2019-01-01T07:01:00">Tuesday 1 January 2019</time>
|
||||||
| by Name
|
| by Name
|
||||||
|
|||||||
27
_site/sitemap.xml
Normal file
27
_site/sitemap.xml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="URF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>/</loc>
|
||||||
|
<lastmod>2019-01-27</lastmod>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>/sitemap.xml</loc>
|
||||||
|
<lastmod>2019-01-27</lastmod>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>/articles/2019/01/01/article-name.html</loc>
|
||||||
|
<lastmod>2019-01-27</lastmod>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
</urlset>
|
||||||
25
sitemap.xml
Normal file
25
sitemap.xml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
layout: none
|
||||||
|
search: exclude
|
||||||
|
---
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="URF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
{% for page in site.pages %}
|
||||||
|
<url>
|
||||||
|
<loc>{{ page.url }}</loc>
|
||||||
|
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% for post in site.posts %}
|
||||||
|
<url>
|
||||||
|
<loc>{{ post.url }}</loc>
|
||||||
|
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
|
{% endfor %}
|
||||||
|
</urlset>
|
||||||
Reference in New Issue
Block a user