mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 15:51:55 +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 class="header">
|
||||
<div class="breadcrumbs">
|
||||
<% if params[:dir].nil? %>
|
||||
<% if params[:dir].nil? || params[:dir].empty? || params[:dir] == '/' %>
|
||||
Home
|
||||
<% else %>
|
||||
<a href="?">Home</a>
|
||||
<% puts params[:dir].inspect %>
|
||||
<a href="/dashboard">Home</a>
|
||||
<% end %>
|
||||
|
||||
<% if @dir %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue