blog.grace.moe

Source for the blog blog.grace.moe
git clone https://git.grace.moe/blog.grace.moe
Log | Files | Refs

page.shtml (771B)


      1 <extend template="base.shtml">
      2 <div id="content">
      3   <style>
      4     #post-header > tags {
      5       flex-direction: column;
      6       align-items: end;
      7       text-align: right;
      8       width: min-content;
      9       float: right;
     10       padding-inline: 10px;
     11       padding-block-end: 10px;
     12     }
     13   </style>
     14   <main>
     15     <header id="post-header" class="limit-self">
     16       <tags>
     17         <time class="date" datetime="$page.date.format('2006-01-02 15:04:05MST')" :text="$page.date.format('2006-01-02')"></time>
     18         <author :text="$page.author"></author>
     19         <ctx :loop="$page.tags">
     20           <tag :text="$loop.it">
     21           </tag>
     22         </ctx>
     23       </tags>
     24     </header>
     25     <article id="post" class="hierarchical limit-children" :html="$page.content()"></article>
     26   </main>
     27 </div>