rss-to-activitypub/views/user.pug
Darius Kazemi 609c640fc4 Add feed URL to user page
Closes #18.
2019-03-08 22:29:28 -08:00

19 lines
811 B
Plaintext

html
head
<meta name="viewport" content="width=device-width, initial-scale=1">
title= displayName
style
include style.css
body
<a href="/">&larr; RSS to ActivityPub Converter</a>
h1= displayName
img(src=imageUrl)
h3.account #{accountName}
p #{description}
p <a href="#{feedUrl}">#{feedUrl}</a>
p <strong><em>What you're looking at is an RSS feed that's been converted into an account that Mastodon (or any other ActivityPub social network) can subscribe to. Put the username above into your user search and you should be able to find this feed and subscribe! <a href="/convert/">Click here to make an ActivityPub account for your favorite RSS feeds</a>.</em></strong>
h2 Feed items
ul
for item in items
li: a(href=item.link) #{item.title}