Files
blogger-nodejs/views/headers/site_wide.ejs
T
2026-05-30 21:05:50 +01:00

32 lines
1.2 KiB
Plaintext

<a id='home-page-link' href="<%= config.site_path %>/"><%= locale.home_page %></a>
/
<% if (config.rss == true) { %>
<a id='rss-link' href="<%= config.site_path %>/rss">
<img class='icon' src='<%= config.site_path %>/icons/rss.png' alt="<%= locale.rss_feed %>" title='<%= locale.rss_feed %>'>
</a>
<% } %>
|
<% if (config.atom == true) { %>
<a id='atom-link' href="<%= config.site_path %>/atom">
<img class='icon' src='<%= config.site_path %>/icons/atom.png' alt='<%= locale.atom_feed %>' title='<%= locale.atom_feed %>'>
</a>
<% } %>
/
<a id='new-post-link' href="<%= config.site_path %>/<%= config.new_post_url %>"><%= locale.new_post %></a>
/
<% if (config.allow_signup == true) { %>
<a id='signup-link' href="<%= config.site_path %>/<%= config.signup_url %>"><%= locale.sign_up %></a>
<% } %>
/
<form id='search-form' method="GET" action="<%= config.site_path %>/search" style="display: inline">
<input type="text" placeholder="🔍" name="q"><input type="submit" value="Search">
</form>
<br/>
<div id='site-name'>
<h1><a id='home-page-link' href="<%= config.site_path %>/"><%= config.site_name %></a></h1>
</div>
<div id='site-description'>
<h2><%- config.site_description %></h2>
</div>
<%- config.seperator %>