Refactor: Simplify user profile links and layout

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 17:14:40 +08:00
1 parent c0b76a6eac
commit d22826e43d
2 files changed
+5 -6

No files matched your search

+1 -2
View File
@@ -22,8 +22,7 @@
<p><a href="{{ page.comments_uri }}" class="text-primary text-sm hover:underline">View Comments</a></p>
<p class="text-sm">
<a href="{{ page.favorites_uri }}" class="text-primary hover:underline">Favorite Submissions</a> /
<a href="{{ page.favorites_uri }}&amp;comments=t" class="text-primary hover:underline">Favorite Comments</a>
<span class="text-text-muted text-xs"> (Publicly Visible)</span>
<a href="{{ page.favorites_uri }}&amp;comments=t" class="text-primary hover:underline">Favorites</a>
</p>
</div>
</div>
+4 -4
View File
@@ -1,13 +1,13 @@
---
layout: default
layout: simple
title: User Profile
permalink: /user/
username: username
created: January 1, 2023
merits: 100
about: This is the personalized "about me" text.
submissions_uri: /submissions?user=username
comments_uri: /comments?user=username
favorites_uri: /favorites?user=username
submissions_uri: /user_posts?user=username
comments_uri: /user_comments?user=username
favorites_uri: /user_favorites?user=username
---
{% include user_profile.liquid %}