lib/zine/skeleton/source/templates/home.erb in zine-0.4.0 vs lib/zine/skeleton/source/templates/home.erb in zine-0.5.0
- old
+ new
@@ -6,15 +6,15 @@
<p class="date"><%= @post[:page][:date_us] %></p>
<%= @post[:html] %>
<div class="tags">Tags:
<ul>
<% for @tag in @post[:page][:tags] %>
- <li><a href="/tags/<%= @tag[:tag_slug] %>.html"><%= @tag[:name] %></a></li>
+ <li><a href="<%= page[:site_URL] %>/tags/<%= @tag[:tag_slug] %>.html"><%= @tag[:name] %></a></li>
<% end %>
</ul>
</div>
<% end %>
<h2>Previously</h2>
- <p><a href="/articles.html">Earlier posts...</a></p>
+ <p><a href="<%= page[:site_URL] %>/articles.html">Earlier posts...</a></p>
</section>
</main>
<%= footer_partial %>