many many changes

This commit is contained in:
Zoey 2023-06-09 21:55:04 -07:00
parent 80bc863cdf
commit efa0d03315
22 changed files with 360 additions and 45 deletions

View file

@ -13,6 +13,7 @@
<span class="pronouns">she/they</span>
</span>
<span class="spacer"></span>
{{!-- <a href="/blog/">Blog</a> | --}}
<a href="/images/">Images</a> |
<a href="https://github.com/Zyllian/zyllian.github.io" rel="noopener noreferrer">Source</a>
</header>

View file

@ -0,0 +1,23 @@
{{#if tag}}
<h1>Blog posts tagged {{tag}}</h1>
<p><a href="/blog/">View all blog posts</a></p>
{{else}}
<h1>Blog Posts</h1>
<p><a href="tags">View blog tags</a></p>
<p><a href="rss.xml">RSS Feed</a></p>
{{/if}}
<h1>Page {{page}}/{{page_max}}</h1>
{{#if previous}}
<a href="./{{previous}}">Previous page</a>
{{/if}}
{{#if next}}
<a href="./{{next}}">Next page</a>
{{/if}}
<div class="blog-post-list">
{{#each resources}}
<div class="post">
<p class="title"><a href="/blog/{{id}}">{{title}}</a></p>
<p class="short-desc">{{desc}}</p>
</div>
{{/each}}
</div>

View file

@ -0,0 +1,22 @@
<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="{{header_image}}" alt="{{header_image_alt}}"
style="object-fit: {{object_fit}}; object-position: {{object_position}};">
</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>

View file

@ -2,9 +2,7 @@
<h1 class="title">{{title}}</h1>
<span class="timestamp">Published {{timestamp}}</span>
<img class="image-actual" src="{{src}}" alt="{{alt}}">
{{#if desc}}
<p>{{{desc}}}</p>
{{/if}}
{{{content}}}
<p><a href="{{src}}">View full size image</a></p>
<h3 class="tags-title">Tags</h3>
<div class="image-tags">

View file

@ -0,0 +1 @@
<div>{{{source}}}</div>