Files
hedgeblog/templates/post.html
jetstream0 c041f77b88 working + many improvements
ryuji new features, saki changes, write build code, bump makoto version, add preview
2023-07-31 14:28:26 -07:00

32 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>[[ post.title ]]</title>
<link rel="icon" type="image/png" href="/favicon.ico">
</head>
<body>
[[ component:return ]]
<div>
<div id="post-info">
<h1>[[ post.title ]]</h1>
<div>
<span><span [[ if:author_expected ]]title="(obviously)"[[ endif ]]>By [[ post.author ]]</span> | <span>[[ post.date ]]</span> [[ if:post.tags_exist ]]| <span>[[ for:post.tags:tag:index:max ]]<a href="/tags/[[ tag ]]">[[ tag ]]</a>[[ if:index:!max ]], [[ endif ]][[ endfor ]]</span>[[ endif ]]</span>
</div>
</div>
<input id="show-md" type="checkbox"/><label for="html">Show MD</label>
<div id="post-html">
[[ html:post.html ]]
</div>
<div id="post-md">
[[ for:post.md_lines:line ]]
[[ line ]]
[[ if:line ]]
<br>
[[ endif ]]
[[ endfor ]]
</div>
</div>
</body>
</html>