Skip to content

Commit

Permalink
Merge pull request #30 from FosterCommerce/bugfix/seomatic-override
Browse files Browse the repository at this point in the history
Bugfix/seomatic override
  • Loading branch information
pseudoclass authored Sep 16, 2024
2 parents 2eedc15 + f35bc0e commit 75812f5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 4 additions & 0 deletions src/templates/_layouts/default.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="robots" content="noindex, nofollow" />

{% if seomatic|default %}
{% do seomatic.config.renderEnabled(false) %}
{% endif %}

{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }}
Expand Down
3 changes: 1 addition & 2 deletions src/templates/checkout/address.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }} |
{{ 'Checkout'|t('foster-checkout') }} |
{{ 'Address'|t('foster-checkout') }}
{{ 'Checkout'|t('foster-checkout') }} : {{ 'Address'|t('foster-checkout') }}
</title>
{% endblock %}

Expand Down
3 changes: 1 addition & 2 deletions src/templates/checkout/email.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }} |
{{ 'Checkout'|t('foster-checkout') }} |
{{ 'Email'|t('foster-checkout') }}
{{ 'Checkout'|t('foster-checkout') }} : {{ 'Email'|t('foster-checkout') }}
</title>
{% endblock %}

Expand Down
3 changes: 1 addition & 2 deletions src/templates/checkout/order.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }} |
{{ 'Checkout'|t('foster-checkout') }} |
{{ 'Order'|t('foster-checkout') }}
{{ 'Checkout'|t('foster-checkout') }} : {{ 'Order'|t('foster-checkout') }}
</title>
{% endblock %}

Expand Down
3 changes: 1 addition & 2 deletions src/templates/checkout/payment.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }} |
{{ 'Checkout'|t('foster-checkout') }} |
{{ 'Payment'|t('foster-checkout') }}
{{ 'Checkout'|t('foster-checkout') }} : {{ 'Payment'|t('foster-checkout') }}
</title>
{% endblock %}

Expand Down
3 changes: 1 addition & 2 deletions src/templates/checkout/shipping.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
{% block head %}
<title>
{{ craft.checkout.branding.title ? craft.checkout.branding.title : siteName }} |
{{ 'Checkout'|t('foster-checkout') }} |
{{ 'Shipping'|t('foster-checkout') }}
{{ 'Checkout'|t('foster-checkout') }} : {{ 'Shipping'|t('foster-checkout') }}
</title>
{% endblock %}

Expand Down

0 comments on commit 75812f5

Please sign in to comment.