2023-08-08 21:01:13 +01:00
|
|
|
@page
|
2023-08-06 15:57:23 +01:00
|
|
|
@model OliverBooth.Pages.Blog.Index
|
|
|
|
|
2023-08-10 14:08:22 +01:00
|
|
|
<div id="all-blog-posts">
|
|
|
|
<div id="blog-loading-spinner" class="d-flex justify-content-center">
|
2023-08-10 04:56:12 +01:00
|
|
|
<div class="spinner-border text-light" role="status">
|
|
|
|
<p class="text-center sr-only">Loading...</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-08-10 14:36:51 +01:00
|
|
|
<script id="blog-post-template" type="text/x-handlebars-template">
|
|
|
|
<div class="card-body">
|
|
|
|
<h2>
|
|
|
|
<a href="{{post.url}}"> {{post.title}}</a>
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<p class="text-muted">
|
|
|
|
<img class="blog-author-icon" src="{{author.avatar}}" alt="{{author.name}}">
|
|
|
|
<span>{{author.name}}<span>
|
|
|
|
<span> • </span>
|
|
|
|
<span title="{{ post.date }}">{{ post.date_humanized }}</span>
|
|
|
|
{{#if post.enable_comments}}
|
|
|
|
<span> • </span>
|
|
|
|
<a href="{{post.url}}#disqus_thread" data-disqus-identifier="{{post.disqus_identifier}}">
|
|
|
|
0 Comments
|
2023-08-08 01:30:32 +01:00
|
|
|
</a>
|
2023-08-10 14:36:51 +01:00
|
|
|
{{/if}}
|
|
|
|
</p>
|
2023-08-08 21:01:13 +01:00
|
|
|
|
2023-08-10 14:36:51 +01:00
|
|
|
<p>{{{post.excerpt}}}</p>
|
2023-08-08 21:01:13 +01:00
|
|
|
|
2023-08-10 14:36:51 +01:00
|
|
|
{{#if post.trimmed}}
|
|
|
|
<p>
|
|
|
|
<a href="{{post.url}}">
|
|
|
|
Read more...
|
|
|
|
</a>
|
2023-08-08 01:30:32 +01:00
|
|
|
</p>
|
2023-08-10 14:36:51 +01:00
|
|
|
{{/if}}
|
2023-08-08 01:30:32 +01:00
|
|
|
</div>
|
2023-08-10 15:15:36 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script id="dsq-count-scr" src="https://oliverbooth-dev.disqus.com/count.js" async></script>
|