35 lines
1,018 B
HTML
35 lines
1,018 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<. include!("./post_meta.html"); .>
|
|
</head>
|
|
<body>
|
|
<. let mut open_list = false ; .>
|
|
<main class="container">
|
|
<h1><.= data.title .></h1>
|
|
<p class="meta">
|
|
<a class="author" href="https://medium.com/u/<.= data.creator.id .>" rel="noreferrer">
|
|
<img
|
|
src="https://miro.medium.com/<.= data.creator.image_id .>"
|
|
class="author__photo"
|
|
alt="<.= data.creator.name .>"
|
|
/>
|
|
<.= data.creator.name .></a
|
|
>
|
|
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>
|
|
<article>
|
|
<. for (_pindex, p) in paragraphs.iter().enumerate() {.>
|
|
<.- p .>
|
|
<.}.>
|
|
</article>
|
|
</main>
|
|
</body>
|
|
<style>
|
|
<. include!("./main.css"); .>
|
|
</style>
|
|
</html>
|