Remove the "response" section, it's doing nothing
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m4s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m4s
This commit is contained in:
parent
00e8dceae9
commit
cc0bd79b63
@ -28,59 +28,4 @@ includePrism: true
|
|||||||
|
|
||||||
<p class="p-note">I'm <a href="https://{{metadata.site.domain}}" class="u-url p-name">Lewis Dale</a>, a software engineer and web developer based in the UK. I write about writing software, silly projects, and cycling. A lot of cycling. Too much, maybe.</p>
|
<p class="p-note">I'm <a href="https://{{metadata.site.domain}}" class="u-url p-name">Lewis Dale</a>, a software engineer and web developer based in the UK. I write about writing software, silly projects, and cycling. A lot of cycling. Too much, maybe.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="stack-sm" data-section="responses">
|
|
||||||
<h2>Responses</h2>
|
|
||||||
|
|
||||||
{% if post.comments.like | length %}
|
|
||||||
<div class="stack-xs">
|
|
||||||
<h3 class="block w-full">Likes</h3>
|
|
||||||
|
|
||||||
<div class="row overlaps">
|
|
||||||
{% for like in post.comments.like %}
|
|
||||||
<a href="{{ like.author.url }}" rel="noreferrer" target="_blank">
|
|
||||||
{% remoteImage(like.author.avatars["96"], like.author.name, "circle", "96px", [96] %}
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if post.comments.repost | length %}
|
|
||||||
<div class="stack-xs">
|
|
||||||
<h3 class="block w-full">Reposts</h3>
|
|
||||||
|
|
||||||
<div class="row overlaps">
|
|
||||||
{% for repost in post.comments.repost %}
|
|
||||||
<a href="{{ repost.author.url }}" rel="noreferrer" target="_blank">
|
|
||||||
{% remoteImage(repost.author.avatars["96"], repost.author.name, "circle", "96px", [96] %}
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if post.comments.comment | length %}
|
|
||||||
<div class="stack-xs">
|
|
||||||
<h3 class="block w-full">Replies</h3>
|
|
||||||
|
|
||||||
<ol class="stack-md">
|
|
||||||
{% for reply in post.comments.comment | reverse %}
|
|
||||||
|
|
||||||
<li class="sidebar items-center">
|
|
||||||
|
|
||||||
<div class="stack-2xs basis-[50ch]">
|
|
||||||
{% set date = reply.date | parseDate %}
|
|
||||||
<h4><a href="{{ reply.author.url }}" rel="noreferrer" target="_blank">{{ reply.author.name }}</a> <span class="font-normal">on</span> {{ date | dateDisplay }} <span class="font-normal">at</span> {{ date | timeDisplay }}</h4>
|
|
||||||
<a href="{{ reply.canonical }}" rel="noreferrer" target="_blank">Original comment</a>
|
|
||||||
<p>{{ reply.content | safe }}</p>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user