Added icons for RSS and ATOM to make it look nicer

This commit is contained in:
deadvey
2025-10-24 13:59:41 +01:00
parent 9f0eb13bb4
commit ddf9fcae13
9 changed files with 20 additions and 11 deletions

View File

@@ -4,7 +4,13 @@
</h1>
</div>
<p><%- func.render_md(user.description) %></p>
<a id='edit-account-link' href="<%= config.edit_account_base_url %>/<%= userID %>"><%= locale.edit_account %></a><br/>
<a id='rss-link' href="/user/<%= user.username %>/rss"><%= locale.rss_feed %></a><br/>
<a id='atom-link' href="/user/<%= user.username %>/atom"><%= locale.atom_feed %></a>
<a if='edit-account-link' href="<%= config.edit_account_base_url %>/<%= userID %>">
<img class='icon' src='/icons/edit.png' alt='<%= locale.edit_account %>' title='<%= locale.edit_account %>'>
</a>
<a id='rss-link' href="/user/<%= user.username %>/rss">
<img class='icon' src='/icons/rss.png' alt="<%= locale.rss_feed %>" title='<%= locale.rss_feed %>'>
</a>
<a id='atom-link' href="/user/<%= user.username %>/atom">
<img class='icon' src='/icons/atom.png' alt='<%= locale.atom_feed %>' title='<%= locale.atom_feed %>'>
</a>
<%- config.seperator %>