Added reply page
This commit is contained in:
1 parent
714b7153a8
commit
96bb23b436
2 files changed
+47
No files matched your search
@@ -0,0 +1,37 @@
|
||||
---
|
||||
layout: simple
|
||||
---
|
||||
<article class="flex">
|
||||
<div class="mr-2">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">{{ page.post_title }}</a></strong>
|
||||
</p>
|
||||
|
||||
<div class="mt-0 mb-1 text-sm flex items-center">
|
||||
<small class="text-text-muted text-xs"><a href="#" class="text-xs text-primary hover:underline">{{ page.post_author }}</a> | {{ page.post_date | date: "%d %b %Y" }} | <a href="#" class="text-xs text-primary hover:underline">report</a> | <a href="#" class="text-xs text-primary hover:underline">parent</a> | <a href="#" class="text-xs text-primary hover:underline">{{ comment_count }} comments</a></small>
|
||||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<div class="mt-8">
|
||||
<form>
|
||||
<div class="mb-4">
|
||||
<label class="block font-medium text-sm mb-1" for="comment-body">Comment:</label>
|
||||
<div>
|
||||
<textarea class="w-full px-3 py-2 bg-bg-light border border-gray-300 rounded" id="comment-body" name="body" placeholder="Enter your comment" required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Reply</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
layout: reply
|
||||
title: Submit Reply
|
||||
post_title: "[Ask] The saga of the disappearing ergonomic chair continues."
|
||||
post_author: deskdetective
|
||||
post_date: 2023-10-02 10:00:00 +0000
|
||||
permalink: /reply/
|
||||
---
|
||||
Every time I leave my desk, it seems to vanish. Suspecting foul play at this point. Anyone else faced something like this?
|
||||
|
||||
Reference in new issue
Block a user