Files
blogger-nodejs/views/headers/timeline.ejs
DeaDvey 6fc1f85e18 Added locale (english only at the moment) and modifed the EJS so I think
every string is customisable (via the /locales/selected locale)
2025-08-09 16:57:31 +01:00

21 lines
574 B
Plaintext

<h1>
<%- config.site_name %>
</h1>
<h2>
<%- config.site_description %>
</h2>
<% 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) { %>
<%= locale.hitcount %>: <%= hitcount %>
<% } %>
<%- config.seperator %>