feat: Link author names and change user page layouts to content
This commit is contained in:
1 parent
d22826e43d
commit
712bf74a9b
4 files changed
+4
-4
No files matched your search
@@ -69,7 +69,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<small class="text-sm font-action">
|
<small class="text-sm font-action">
|
||||||
<a href="#" class="text-sm hover:underline">{{ post.author }}</a>
|
<a href="/user/" class="text-sm hover:underline">{{ post.author }}</a>
|
||||||
<span class="text-text-muted text-sm opacity-75">{{ post.date | date: "%d %b %Y" }}</span>
|
<span class="text-text-muted text-sm opacity-75">{{ post.date | date: "%d %b %Y" }}</span>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: simple
|
layout: content
|
||||||
title: User Profile
|
title: User Profile
|
||||||
permalink: /user/
|
permalink: /user/
|
||||||
username: username
|
username: username
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: simple
|
layout: content
|
||||||
title: User Comments
|
title: User Comments
|
||||||
author: commenter1
|
author: commenter1
|
||||||
permalink: /user_comments/
|
permalink: /user_comments/
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: simple
|
layout: content
|
||||||
title: User Submissions
|
title: User Submissions
|
||||||
author: post_author_placeholder # Replace with actual author/username variable if needed
|
author: post_author_placeholder # Replace with actual author/username variable if needed
|
||||||
permalink: /user_posts/ # Consider making this dynamic, e.g., /user/:username/posts/
|
permalink: /user_posts/ # Consider making this dynamic, e.g., /user/:username/posts/
|
||||||
|
|||||||
Reference in new issue
Block a user