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

Commit

Permalink
change order of choosing page title
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMekarski committed Mar 29, 2021
1 parent ef467fe commit 855216b
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 855216b

Please sign in to comment.