From 7ad24a2c866a09be78ff0c26a7b6dc2b26f3a8a7 Mon Sep 17 00:00:00 2001
From: realaravinth
Date: Wed, 9 Feb 2022 23:38:04 +0530
Subject: [PATCH] feat: show post's medium.com url
---
templates/main.css | 5 +++++
templates/post.html | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/templates/main.css b/templates/main.css
index 3a605f0..58bfc82 100644
--- a/templates/main.css
+++ b/templates/main.css
@@ -117,6 +117,11 @@ iframe {
display: inline-flex;
}
+.medium__source {
+ font-style: italic;
+}
+
+
.author {
display: inline-flex;
flex-direction: row;
diff --git a/templates/post.html b/templates/post.html
index 8bc724f..0824773 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -16,7 +16,11 @@
/>
<.= data.creator.name .>
- on <.= &date .> · <.= reading_time .> min read
+ on <.= &date .> · <.= reading_time .> min read ·
+ Open post in medium.com
+
<. let paragraphs = &data.content.body_model.paragraphs; .>