Commit a9f365eb authored by ty kayn's avatar ty kayn

style toots

parent 804d714e
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment