No date brakes RSS, revert back to date

This commit is contained in:
lostinlight 2018-06-21 03:05:40 +03:00
parent b14986c5e8
commit a2657dee3d
5 changed files with 6 additions and 8 deletions

View file

@ -21,7 +21,7 @@ Every post **must have** the following __metadata__:
```
layout: "post"
title: "some title"
*date: 2222-01-25
date: 2222-01-25
tags:
- pleroma
preview:
@ -30,8 +30,6 @@ url: "https://pleroma.social/link-to-news-source"
lang: en
```
*In "featured" and "wanted" posts `date` is `created`, and must be in quotes, in exactly the right format (YYYY-MM-DD)
`Tags`
A post may have one of these tags: fediverse, gnusocial, diaspora, friendica, hubzilla, mastodon, postactiv, pleroma, socialhome, ganggo, misskey, peertube, aardwolf
@ -55,7 +53,7 @@ Add this metadata to a post that you wish to show in the upper visible part of t
`Featured`
Add this metadata to a new internal website's article, to show the post in a prominent part of the Chronicles page.
`Wanted` and `featured` can't be mixed and are temporary. This metadata must be removed from an older post when creating a new "featured" or "wanted" post. Metadata title `created` must also be changed to `date`.
`Wanted` and `featured` can't be mixed and are temporary. This metadata must be removed from an older post when creating a new "featured" or "wanted" post.
`Banner`
Required for "featured" posts only, an image wide enough to be used as a fullscreen background, should be placed in `/source/_posts/exact-post-file-name` folder. See [example](./source/_posts/why-use-federated-networks).

View file

@ -2,7 +2,7 @@
---
layout: "post"
title: "Contributors wanted (updated)"
created: "2018-02-05"
date: 2018-06-21
tags:
- fediverse
preview: "Anyone who knows Python / VueJS or wants to learn those is very welcome to join and help improve The-Federation.Info stats"

View file

@ -2,7 +2,7 @@
---
layout: "post"
title: "Why use federated networks (updated)"
created: "2018-02-27"
date: 2018-06-21
tags:
- fediverse
preview:

View file

@ -1,6 +1,6 @@
<%
const date = post.created;
const date = post.date.format(config.date_format).split('-').join('.');
let avatarPath ="";

View file

@ -1,6 +1,6 @@
<%
const date = post.created;
const date = post.date.format(config.date_format).split('-').join('.');
%>
<section class="urgent">