mirror of
https://github.com/neocities/neocities.git
synced 2025-08-12 12:29:26 +02:00
fix for home link
This commit is contained in:
parent
e200eb47c6
commit
445ec92226
1 changed files with 3 additions and 2 deletions
|
@ -81,10 +81,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="breadcrumbs">
|
<div class="breadcrumbs">
|
||||||
<% if params[:dir].nil? %>
|
<% if params[:dir].nil? || params[:dir].empty? || params[:dir] == '/' %>
|
||||||
Home
|
Home
|
||||||
<% else %>
|
<% else %>
|
||||||
<a href="?">Home</a>
|
<% puts params[:dir].inspect %>
|
||||||
|
<a href="/dashboard">Home</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @dir %>
|
<% if @dir %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue