ugghhhh new site_path config option
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div id="post-header">
|
||||
<h2>
|
||||
<a href='<%= config.site_url %>/post/<%= post['id'] %>'><%= post.title %></a>
|
||||
<a href='<%= config.site_path %>/post/<%= post['id'] %>'><%= post.title %></a>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div id="post-details">
|
||||
<span id="post-author">
|
||||
<i><a href="<%= config.site_url %>/user/<%= user.username %>"><%= user.prettyname %></a></i>
|
||||
<i><a href="<%= config.site_path %>/user/<%= user.username %>"><%= user.prettyname %></a></i>
|
||||
</span>
|
||||
-
|
||||
<span id="post-pubdate">
|
||||
@@ -23,8 +23,8 @@
|
||||
</span>
|
||||
<br/>
|
||||
<div id="post-edit">
|
||||
<a href="<%= config.site_url %><%= config.edit_post_base_url %>/<%= post["id"] %>">
|
||||
<img class='icon' src='<%= config.site_url %>/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
|
||||
<a href="<%= config.site_path %><%= config.edit_post_base_url %>/<%= post["id"] %>">
|
||||
<img class='icon' src='<%= config.site_path %>/icons/edit.png' alt='<%= locale.edit_post %>' title='<%= locale.edit_post %>'>
|
||||
</a><br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user