Skip to content

Commit

Permalink
Merge branch 'release/3.4.2' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Aug 20, 2021
2 parents b0da35d + 44bfa27 commit 166f7ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# SEOmatic Changelog

## 3.4.2 - 2021.08.20
### Fixed
* Fixed an issue that could cause an exception to be thrown or CSS to be broken for the Social Media Preview ([#953](https://github.com/nystudio107/craft-seomatic/issues/953))

## 3.4.1 - 2021.08.19
### Fixed
* Fixed an exception that could be thrown on a frontend form submission ([#951](https://github.com/nystudio107/craft-seomatic/issues/951))
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-seomatic",
"description": "SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.",
"type": "craft-plugin",
"version": "3.4.1",
"version": "3.4.2",
"keywords": [
"craft",
"cms",
Expand Down
10 changes: 6 additions & 4 deletions src/templates/_frontend/preview/social-media.twig
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body style="background-color: rgb(241, 245, 248);">
{% do view.registerAssetBundle("nystudio107\\seomatic\\assetbundles\\seomatic\\SeomaticAsset") %}
{% set baseAssetsUrl = view.getAssetManager().getPublishedUrl('@nystudio107/seomatic/assetbundles/seomatic/dist', true) %}

{{ seomatic.manifest.includeCssModule("vendors.css", false) }}
{{ seomatic.manifest.includeCssModule("styles.css", false) }}
{% set vendorsCssUrl = view.getAssetManager().getPublishedUrl('@nystudio107/seomatic/assetbundles/seomatic/dist/css/vendors.css', true) %}
{% set stylesCssUrl = view.getAssetManager().getPublishedUrl('@nystudio107/seomatic/assetbundles/seomatic/dist/css/styles.css', true) %}
<link rel="stylesheet" href="{{ vendorsCssUrl }}" />
<link rel="stylesheet" href="{{ stylesCssUrl }}" />
</head>
<body style="background-color: rgb(241, 245, 248);">

{% set displayPreviewInlineStyles = "border: none; padding-left: 0;" %}
{% set previewTypes = previewTypes ?? seomatic.config.sidebarDisplayPreviewTypes ?? ['google', 'twitter', 'facebook'] %}
Expand Down

0 comments on commit 166f7ca

Please sign in to comment.