Added locale (english only at the moment) and modifed the EJS so I think
every string is customisable (via the /locales/selected locale)
This commit is contained in:
@@ -4,11 +4,17 @@
|
||||
<h2>
|
||||
<%- config.site_description %>
|
||||
</h2>
|
||||
<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.rss == true) { %>
|
||||
<a href="/rss"><%= locale.rss_feed %></a><br/>
|
||||
<% } %>
|
||||
<% if (config.atom == true) { %>
|
||||
<a href="/atom"><%= locale.atom_feed %></a><br/>
|
||||
<% } %>
|
||||
<a href="<%= config.new_post_url %>"><%= locale.new_post %></a><br/>
|
||||
<% if (config.allow_signup == true) { %>
|
||||
<a href="<%= config.signup_url %>"><%= locale.sign_up %></a><br/>
|
||||
<% } %>
|
||||
<% if (config.enable_hitcount == true) { %>
|
||||
Hitcount: <%= hitcount %>
|
||||
<%= locale.hitcount %>: <%= hitcount %>
|
||||
<% } %>
|
||||
<%- config.seperator %>
|
||||
|
Reference in New Issue
Block a user