diff --git a/app/routes.py b/app/routes.py index 8116ed8..ed48aa2 100644 --- a/app/routes.py +++ b/app/routes.py @@ -272,7 +272,7 @@ def getFeed(urls): newPost.userProfilePic = rssFeed.channel.image.url except: newPost.profilePicture = "" - newPost.urlToPost = post.link + newPost.url = post.link newPost.content = Markup(post.description) if "Pinned" in post.title.split(":")[0]: @@ -310,7 +310,7 @@ def getPosts(account): newPost.userProfilePic = rssFeed.channel.image.url except: newPost.profilePicture = "" - newPost.urlToPost = post.link + newPost.url = post.link newPost.content = Markup(post.description) if "Pinned" in post.title.split(":")[0]: diff --git a/app/templates/_post.html b/app/templates/_post.html index 8b462df..7e26fb1 100644 --- a/app/templates/_post.html +++ b/app/templates/_post.html @@ -5,6 +5,10 @@
+ + + +-
- +