no tag editing on home screen, only on profile

This commit is contained in:
Kyle Drake 2019-06-28 15:47:41 -07:00
parent 0b14ff9d68
commit a37e908b5e

View file

@ -7,7 +7,7 @@
<a class="tag" href="/browse?tag=<%== Rack::Utils.escape tag.name %>"><%= tag.name %></a>
<% end %>
<% if is_current_site %>
<% if is_current_site && request.path != '/' %>
<div class="clear">
<% if is_current_site && current_site.tags_dataset.count < Site::MAXIMUM_TAGS %>
<a href="#addTag" data-toggle="modal">Add</a>