fixed issues with site urls not being a site root (hopefully)
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
<a id='home-page-link' href="/"><%= locale.home_page %></a>
|
||||
<a id='home-page-link' href="<%= config.site_url %>"><%= locale.home_page %></a>
|
||||
/
|
||||
<% if (config.rss == true) { %>
|
||||
<a id='rss-link' href="/rss">
|
||||
<img class='icon' src='/icons/rss.png' alt="<%= locale.rss_feed %>" title='<%= locale.rss_feed %>'>
|
||||
<a id='rss-link' href="<%= config.site_url %>/rss">
|
||||
<img class='icon' src='<%= config.site_url %>/icons/rss.png' alt="<%= locale.rss_feed %>" title='<%= locale.rss_feed %>'>
|
||||
</a>
|
||||
<% } %>
|
||||
<% if (config.atom == true) { %>
|
||||
<a id='atom-link' href="/atom">
|
||||
<img class='icon' src='/icons/atom.png' alt='<%= locale.atom_feed %>' title='<%= locale.atom_feed %>'>
|
||||
<a id='atom-link' href="<%= config.site_url %>/atom">
|
||||
<img class='icon' src='<%= config.site_url %>/icons/atom.png' alt='<%= locale.atom_feed %>' title='<%= locale.atom_feed %>'>
|
||||
</a>
|
||||
<% } %>
|
||||
/
|
||||
<a id='new-post-link' href="<%= config.new_post_url %>"><%= locale.new_post %></a>
|
||||
<a id='new-post-link' href="<%= config.site_url %><%= 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>
|
||||
<a id='signup-link' href="<%= config.site_url %><%= config.signup_url %>"><%= locale.sign_up %></a>
|
||||
<% } %>
|
||||
/
|
||||
<form id='search-form' method="GET" action="/search" style="display: inline">
|
||||
<form id='search-form' method="GET" action="<%= config.site_url %>/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_name %></a></h1>
|
||||
<h1><a id='home-page-link' href="<%= config.site_url %>"><%= config.site_name %></a></h1>
|
||||
</div>
|
||||
<div id='site-description'>
|
||||
<h2><%- config.site_description %></h2>
|
||||
|
||||
Reference in New Issue
Block a user