1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 08:07:30 +00:00

Move caption above image in RSS content

This commit is contained in:
Cadence Fish 2020-01-16 23:10:53 +13:00
parent bdedd13124
commit dc2f19edbb
No known key found for this signature in database
GPG Key ID: 81015DF9AA8607E1

View File

@ -3,8 +3,8 @@ const {proxyImage} = require("../utils/proxyurl")
const {compile} = require("pug") const {compile} = require("pug")
const rssDescriptionTemplate = compile(` const rssDescriptionTemplate = compile(`
img(alt=alt src=src)
p(style='white-space: pre-line')= caption p(style='white-space: pre-line')= caption
img(alt=alt src=src)
`) `)
class GraphImage { class GraphImage {