mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-29 03:31:27 +00:00
No date brakes RSS, revert back to date
This commit is contained in:
parent
b14986c5e8
commit
a2657dee3d
|
@ -21,7 +21,7 @@ Every post **must have** the following __metadata__:
|
||||||
```
|
```
|
||||||
layout: "post"
|
layout: "post"
|
||||||
title: "some title"
|
title: "some title"
|
||||||
*date: 2222-01-25
|
date: 2222-01-25
|
||||||
tags:
|
tags:
|
||||||
- pleroma
|
- pleroma
|
||||||
preview:
|
preview:
|
||||||
|
@ -30,8 +30,6 @@ url: "https://pleroma.social/link-to-news-source"
|
||||||
lang: en
|
lang: en
|
||||||
```
|
```
|
||||||
|
|
||||||
*In "featured" and "wanted" posts `date` is `created`, and must be in quotes, in exactly the right format (YYYY-MM-DD)
|
|
||||||
|
|
||||||
`Tags`
|
`Tags`
|
||||||
A post may have one of these tags: fediverse, gnusocial, diaspora, friendica, hubzilla, mastodon, postactiv, pleroma, socialhome, ganggo, misskey, peertube, aardwolf
|
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`
|
`Featured`
|
||||||
Add this metadata to a new internal website's article, to show the post in a prominent part of the Chronicles page.
|
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`
|
`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).
|
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).
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
---
|
---
|
||||||
layout: "post"
|
layout: "post"
|
||||||
title: "Contributors wanted (updated)"
|
title: "Contributors wanted (updated)"
|
||||||
created: "2018-02-05"
|
date: 2018-06-21
|
||||||
tags:
|
tags:
|
||||||
- fediverse
|
- fediverse
|
||||||
preview: "Anyone who knows Python / VueJS or wants to learn those is very welcome to join and help improve The-Federation.Info stats"
|
preview: "Anyone who knows Python / VueJS or wants to learn those is very welcome to join and help improve The-Federation.Info stats"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
---
|
---
|
||||||
layout: "post"
|
layout: "post"
|
||||||
title: "Why use federated networks (updated)"
|
title: "Why use federated networks (updated)"
|
||||||
created: "2018-02-27"
|
date: 2018-06-21
|
||||||
tags:
|
tags:
|
||||||
- fediverse
|
- fediverse
|
||||||
preview:
|
preview:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
<%
|
<%
|
||||||
const date = post.created;
|
const date = post.date.format(config.date_format).split('-').join('.');
|
||||||
|
|
||||||
let avatarPath ="";
|
let avatarPath ="";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
<%
|
<%
|
||||||
const date = post.created;
|
const date = post.date.format(config.date_format).split('-').join('.');
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<section class="urgent">
|
<section class="urgent">
|
||||||
|
|
Loading…
Reference in a new issue