mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-05-13 12:00:56 -07:00
swap to tera in place of handlebars
This commit is contained in:
parent
76c75a40d9
commit
ee48eae327
25 changed files with 407 additions and 184 deletions
|
@ -1,22 +0,0 @@
|
|||
<div class="blog-post">
|
||||
<h1 class="title">{{title}}</h1>
|
||||
<span class="timestamp">published {{timestamp}}</span>
|
||||
{{#if draft}}
|
||||
<h2>DRAFT</h2>
|
||||
{{/if}}
|
||||
<div class="header-image-wrapper">
|
||||
<p class="short-desc">{{desc}}</p>
|
||||
<img class="header-image" src="{{cdn_file}}" alt="{{header_image_alt}}"
|
||||
style="object-fit: cover; object-position: 50% 50%">
|
||||
</div>
|
||||
<div class="content">
|
||||
{{{content}}}
|
||||
</div>
|
||||
<hr />
|
||||
<h3 class="tags-title">tags</h3>
|
||||
<div class="post-tags">
|
||||
{{#each tags}}
|
||||
<a class="tag" href="/blog/tag/{{this}}">{{this}}</a>{{#unless @last}},{{/unless}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue