Added user specific RSS and ATOM feeds and updated the EJS templates to
add them by default to the user's header section
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<h2>
|
||||
<%- config.site_description %>
|
||||
</h2>
|
||||
<a href="<%= config.rss_url %>">RSS Feed</a><br/>
|
||||
<a href="/rss">RSS Feed</a><br/>
|
||||
<a href="/atom">ATOM Feed</a><br/>
|
||||
<a href="<%= config.new_post_url %>">New post</a><br/>
|
||||
<a href="<%= config.signup_url %>">Sign Up</a><br/>
|
||||
<% if (config.enable_hitcount == true) { %>
|
||||
|
@@ -2,5 +2,7 @@
|
||||
<%= user.prettyname %>'s posts
|
||||
</h1>
|
||||
<p><%- converter.makeHtml(user.description) %></p>
|
||||
<a href="<%= config.edit_account_base_url %>/<%= userID %>">edit account</a>
|
||||
<a href="<%= config.edit_account_base_url %>/<%= userID %>">edit account</a><br/>
|
||||
<a href="/user/<%= user.username %>/rss">RSS</a><br/>
|
||||
<a href="/user/<%= user.username %>/atom">ATOM</a>
|
||||
<%- config.seperator %>
|
||||
|
Reference in New Issue
Block a user