Include more context on rendered pages

We now provide a link back to the tool from user pages as well as a link to the source code. Fixes #14.
This commit is contained in:
Darius Kazemi 2019-02-23 20:37:24 -08:00
parent aa2fbcd409
commit 92a37d60e1
3 changed files with 4 additions and 2 deletions

View File

@ -7,5 +7,5 @@ html
body
h1 RSS to ActivityPub Converter
p.account by <a href="https://friend.camp/@darius">Darius Kazemi</a>
p This is a service to convert any RSS feed into an account that Mastodon (or any other ActivityPub social network) can subscribe to.
p This is a service to convert any RSS feed into an account that Mastodon (or any other ActivityPub social network) can subscribe to. <a href="https://github.com/dariusk/rss-to-activitypub/">Source code here</a>.
p <a href="/convert/">Click here to start!</a>

View File

@ -2,6 +2,7 @@ body {
font-family: sans-serif;
max-width: 900px;
margin: 30px;
line-height: 1.3em;
}
img {
max-width: 100px;

View File

@ -5,11 +5,12 @@ html
style
include style.css
body
<a href="/">&larr; RSS to ActivityPub Converter</a>
h1= displayName
img(src=imageUrl)
h3.account #{accountName}
p #{description}
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!</em></strong>
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