style toots
This commit is contained in:
parent
804d714eea
commit
a9f365eb44
2
main.js
2
main.js
@ -14,7 +14,7 @@ var jsonParsedLikes, jsonParsedOutbox;
|
||||
* You can filter the export in the following vars
|
||||
*/
|
||||
const min_length = 0; // minmum character length of toots to display
|
||||
const max_toots = 10// maximum length
|
||||
const max_toots = 20// maximum length
|
||||
const filterBiggerTootsBeforeSlicing = false; // filter only long toots
|
||||
const filterOnlyHavingMedias = false; // filter only toots having medias
|
||||
const displayMedias = true; // display medias in toots
|
||||
|
@ -8,17 +8,16 @@ div.container
|
||||
#{toot_counter = outbox.length}
|
||||
each oredredItem in outbox
|
||||
article
|
||||
|
||||
div.status.status-public
|
||||
p.toot_counter= toot_counter-=1
|
||||
div.status.status-public.flex
|
||||
p.toot_counter= (toot_counter-=1)
|
||||
a(href=oredredItem['object'].url)
|
||||
i.fa.fa-paperplane-o
|
||||
img.header(src='/avatar.gif')
|
||||
div.date-published=oredredItem['object'].published
|
||||
blockquote.published(!=oredredItem['object'].content)
|
||||
blockquote.pl-6.published(!=oredredItem['object'].content)
|
||||
if oredredItem['object'].attachment && oredredItem['object'].attachment.length
|
||||
if(!displayMedias)
|
||||
sub.font-medium.no-media Medias are not displayed
|
||||
sub.font-medium.no-media.bg-orange-300.p-2 Medias are not displayed
|
||||
if(displayMedias)
|
||||
each media in oredredItem['object'].attachment
|
||||
include medias.pug
|
||||
|
Loading…
Reference in New Issue
Block a user