Fixed some barpath issues

main
Astoria 2 years ago
parent b94befe788
commit 0a3539ceb9

@ -1,7 +1,7 @@
<div class="section upperdirs">
<span class="homesubmessage">
<b>
<a href="/">Home</a>
<a href="/home">Home</a>
>
<a href="/archive">Archive</a>
>

@ -15,7 +15,7 @@
<% if Dir.exist?("." + request.path_info) %>
<% if !Dir.children("." + request.path_info).grep(/erb/).empty? || !Dir.children("." + request.path_info).grep(/md/).empty? %>
<div class="section homesection center">
<a href="/"><span class="homemessage"><%= title %> </span></a>
<a href="/<%= request.path_info[1..-1] %>"><span class="homemessage"><%= title %> </span></a>
<% if File.exists?("." + request.path_info + "/tagline") %>
<br>
<% file = File.open("." + request.path_info + "/tagline") %>

Loading…
Cancel
Save