<% if @item.identifier.to_s.split('/').count == 2 %> <%= @item[:title] %> <% else %> <%= @item.key?(:title) ? "#{item[:title]} | GitLab" : "GitLab Documentation" %> <% end %> <% if @item[:description] %> <% else %> <% end %> <% if @item[:noindex] %> <% end %> <% if !ENV['CI_COMMIT_REF_NAME'].nil? and stable_version?(ENV['CI_COMMIT_REF_NAME']) %> <% else %> <% end %> <% if is_production? %> <%# Adds GTM only in production %> <% end %>