updated ejs
This commit is contained in:
@@ -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 %>
|
||||
|
@@ -1,4 +1,6 @@
|
||||
<h1>
|
||||
<%= locale.posts_tagged %>: "<%- tag %>"
|
||||
</h1>
|
||||
<div id='tag-page-title'>
|
||||
<h1>
|
||||
<%= locale.posts_tagged %>: "<%- tag %>"
|
||||
</h1>
|
||||
</div>
|
||||
<%- config.seperator %>
|
||||
|
@@ -1,20 +0,0 @@
|
||||
<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 %>
|
||||
|
@@ -1,8 +1,10 @@
|
||||
<h1>
|
||||
<%= user.prettyname %>
|
||||
</h1>
|
||||
<div id='user-page-title'>
|
||||
<h1>
|
||||
<%= user.prettyname %>
|
||||
</h1>
|
||||
</div>
|
||||
<p><%- func.render_md(user.description) %></p>
|
||||
<a href="<%= config.edit_account_base_url %>/<%= userID %>"><%= locale.edit_account %></a><br/>
|
||||
<a href="/user/<%= user.username %>/rss"><%= locale.rss_feed %></a><br/>
|
||||
<a href="/user/<%= user.username %>/atom"><%= locale.atom_feed %></a>
|
||||
<a id='edit-account-link' href="<%= config.edit_account_base_url %>/<%= userID %>"><%= locale.edit_account %></a><br/>
|
||||
<a id='rss-link' href="/user/<%= user.username %>/rss"><%= locale.rss_feed %></a><br/>
|
||||
<a id='atom-link' href="/user/<%= user.username %>/atom"><%= locale.atom_feed %></a>
|
||||
<%- config.seperator %>
|
||||
|
Reference in New Issue
Block a user