forked from realaravinth/libmedium
feat: show post's medium.com url
This commit is contained in:
parent
574d14714d
commit
7ad24a2c86
2 changed files with 10 additions and 1 deletions
|
@ -117,6 +117,11 @@ iframe {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.medium__source {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
|
@ -16,7 +16,11 @@
|
||||||
/>
|
/>
|
||||||
<.= data.creator.name .></a
|
<.= data.creator.name .></a
|
||||||
>
|
>
|
||||||
on <.= &date .> · <.= reading_time .> min read
|
on <.= &date .> · <.= reading_time .> min read ·
|
||||||
|
<a class="medium__source"
|
||||||
|
href="https://medium.com/<.= data.creator.id .>/<.= data.unique_slug .>"
|
||||||
|
rel="noreferrer"> Open post in medium.com</a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<article>
|
<article>
|
||||||
<. let paragraphs = &data.content.body_model.paragraphs; .>
|
<. let paragraphs = &data.content.body_model.paragraphs; .>
|
||||||
|
|
Loading…
Reference in a new issue