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

@@ -1,11 +1,14 @@
<a id='home-page-link' href="/"><%= locale.home_page %></a>
/
<% if (config.rss == true) { %>
<a id='global-rss-link' href="/rss"><%= locale.rss_feed %></a>
<a id='rss-link' href="/rss">
<img class='icon' src='/icons/rss.png' alt="<%= locale.rss_feed %>" title='<%= locale.rss_feed %>'>
</a>
<% } %>
/
<% if (config.atom == true) { %>
<a id='global-atom-link' href="/atom"><%= locale.atom_feed %></a>
<a id='atom-link' href="/atom">
<img class='icon' src='/icons/atom.png' alt='<%= locale.atom_feed %>' title='<%= locale.atom_feed %>'>
</a>
<% } %>
/
<a id='new-post-link' href="<%= config.new_post_url %>"><%= locale.new_post %></a>

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 %>

View File

@@ -26,7 +26,7 @@
</div>
<div id="post-edit">
<a href="<%= config.edit_post_base_url %>/<%= post["id"] %>">
<img src='/icons/edit.png'>
<img class='icon' src='/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
</a><br/>
</div>
<% if (config.enable_hitcount == true) { %>

View File

@@ -24,7 +24,7 @@
<br/>
<div id="post-edit">
<a href="<%= config.edit_post_base_url %>/<%= post["id"] %>">
<img src='/icons/edit.png'>
<img class='icon' src='/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
</a><br/>
</div>
</div>

View File

@@ -24,7 +24,7 @@
<br/>
<div id="post-edit">
<a href="<%= config.edit_post_base_url %>/<%= post["id"] %>">
<img src='/icons/edit.png'>
<img class='icon' src='/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
</a><br/>
</div>
</div>

View File

@@ -24,7 +24,7 @@
<br/>
<div id="post-edit">
<a href="<%= config.edit_post_base_url %>/<%= post["id"] %>">
<img src='/icons/edit.png'>
<img class='icon' src='/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
</a><br/>
</div>
</div>