general cleanup

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-01-20 04:31:15 +03:00
parent 95616fef4a
commit f8a1e6f79c
15 changed files with 108 additions and 389 deletions

View File

@ -5,11 +5,11 @@
</head>
<body>
<. let mut open_list = false ; .>
<main class="container">
<main class="post">
<h1><.= data.title .></h1>
<p class="meta">
<a class="author" href="https://medium.com/u/<.= data.creator.id .>" rel="noreferrer">
<img
<img
src="https://miro.medium.com/<.= data.creator.image_id .>"
class="author__photo"
alt="<.= data.creator.name .>"
@ -17,8 +17,8 @@
<.= data.creator.name .></a
>
on <.= &date .> &#183; <.= reading_time .> min read &#183;&nbsp;
<a class="medium__source"
href="https://medium.com/<.= data.creator.id .>/<.= data.unique_slug .>"
<a class="medium__source"
href="https://medium.com/<.= data.creator.id .>/<.= data.unique_slug .>"
rel="noreferrer"> Open post in medium.com</a>
</p>
@ -27,7 +27,7 @@
<.- p .>
<.}.>
</article>
</main>
</main>
</body>
<style>
<. include!("./main.css"); .>