Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #286 from spree-contrib/page-title-should-be-first…
Browse files Browse the repository at this point in the history
…-in-title-tab

[NUT-316] change order of choosing page title
  • Loading branch information
KacperMekarski authored Mar 29, 2021
2 parents ef467fe + 855216b commit ac3a3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/spree/static_content/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<% else %>
<% content_for :head do -%>
<%- if @page.meta_title.present? -%>
<meta name="title" content="<%= @page.meta_title %>">
<%- else -%>
<meta name="title" content="<%= @page.title %>">
<%- else -%>
<meta name="title" content="<%= @page.meta_title %>">
<%- end -%>
<meta name="keywords" content="<%= @page.meta_keywords %>">
<meta name="description" content="<%= @page.meta_description %>">
Expand Down

0 comments on commit ac3a3c6

Please sign in to comment.