updated ejs

This commit is contained in:
2025-10-09 14:18:03 +01:00
parent 2ada1d970f
commit e63fb4a27a
7 changed files with 52 additions and 38 deletions

View File

@@ -1,6 +1,26 @@
<a href="/"><%= locale.home_page %></a>
<a href="/index/pages"><%= locale.site_index %></a>
<a href="<%= config.new_post_url %>"><%= locale.new_post %></a>
<form method="GET" action="/search" style="display: inline"><input type="text" placeholder="🔍" name="q"><input type="submit" value="Search"></form>
<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>
<% } %>
/
<% if (config.atom == true) { %>
<a id='global-atom-link' href="/atom"><%= locale.atom_feed %></a>
<% } %>
/
<a id='new-post-link' href="<%= config.new_post_url %>"><%= locale.new_post %></a>
<% if (config.allow_signup == true) { %>
<a id='signup-link' href="<%= config.signup_url %>"><%= locale.sign_up %></a>
<% } %>
/
<form id='search-form' method="GET" action="/search" style="display: inline">
<input type="text" placeholder="🔍" name="q"><input type="submit" value="Search">
</form>
<br/>
<div id='site-name'>
<h1><%- config.site_name %></h2>
</div>
<div id='site-description'>
<h2><%- config.site_description %></h2>
</div>
<%- config.seperator %>