forked from github.com/GenderDysphoria.fyi
Twitter posts
This commit is contained in:
@@ -4,11 +4,12 @@ id: "${id}"
|
||||
date: "${date.toISOString()}"
|
||||
tags:
|
||||
- Transgender
|
||||
span: 2
|
||||
tweets:
|
||||
|
||||
---
|
||||
{!{ <div class="gutter">{{import '~/tweet' ids=(array
|
||||
{!{ {{import '~/tweet' ids=(array
|
||||
'TWEETGOESHERE'
|
||||
) tweets=meta.tweets className="oneblock" }}</div> }!}
|
||||
) tweets=meta.tweets className="" }} }!}
|
||||
|
||||
`;
|
||||
|
||||
@@ -39,6 +39,7 @@ exports.everything = function (prod = false) {
|
||||
const pages = await primeTweets(PublicFiles.pages);
|
||||
const posts = await primeTweets(PostFiles.pages);
|
||||
|
||||
posts.reverse();
|
||||
|
||||
// compile all tasks to be completed
|
||||
const tasks = await Promise.all([
|
||||
|
||||
@@ -50,5 +50,11 @@ module.exports = exports = class Post extends Page {
|
||||
this.fullurl = url.href;
|
||||
}
|
||||
|
||||
_parse (...args) {
|
||||
super._parse(...args);
|
||||
|
||||
this.classes.push('post');
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ exports.type = dictMatch({
|
||||
|
||||
const KIND = exports.KIND = {
|
||||
PAGE: 'PAGE',
|
||||
POST: 'POST',
|
||||
ASSET: 'ASSET',
|
||||
ARTIFACT: 'ARTIFACT',
|
||||
OTHER: 'OTHER',
|
||||
|
||||
Reference in New Issue
Block a user