Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Version 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 9, 2016
1 parent 30ac43a commit ceccd5c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,13 @@ Some things to do, and ideas for potential features:

## Changelog

### 1.0.8 -- 2016.01.08

* [Improved] The rendering of the Identity and WebSite JSON-LD is now done via a tag in the templates, giving flexibility to people who want to use custom templates
* [Fixed] Fixed an issue with PHP < 5.4
* [Fixed] Fixed an issue if a plugin (like A&M forms) renders a template with Twig code in the template name
* [Improved] Updated the README.md

### 1.0.7 -- 2016.01.01

* [Added] Added a 'robots' field globally to the SEO Meta for specifying noindex/nofollow
Expand Down
11 changes: 11 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
[
{
"version": "1.0.8",
"downloadUrl": "https://github.com/khalwat/seomatic/archive/master.zip",
"date": "2016-01-09T11:00:00-05:00",
"notes": [
"[Improved] The rendering of the Identity and WebSite JSON-LD is now done via a tag in the templates, giving flexibility to people who want to use custom templates",
"[Fixed] Fixed an issue with PHP < 5.4",
"[Fixed] Fixed an issue if a plugin (like A&M forms) renders a template with Twig code in the template name",
"[Improved] Updated the README.md"
]
},
{
"version": "1.0.7",
"downloadUrl": "https://github.com/khalwat/seomatic/archive/master.zip",
Expand Down
2 changes: 0 additions & 2 deletions services/SeomaticService.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public function renderSiteMeta($templatePath="", $metaVars=null, $locale)
$htmlText = craft()->minify->htmlMin($this->render($templatePath, $metaVars));
else
$htmlText = $this->render($templatePath, $metaVars);
$htmlText .= $this->renderIdentity($metaVars, $locale);
$htmlText .= $this->renderWebsite($metaVars, $locale);
if ($shouldCache)
craft()->cache->set($cacheKey, $htmlText, null);

Expand Down
10 changes: 9 additions & 1 deletion templates/_seo_meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{% if seomaticCreator.name is defined and seomaticCreator.name %}
<meta name="dcterms.Creator" content="{{ seomaticCreator.name |raw }}" />
{% endif %}
<meta name="dcterms.Subject" content="{{ seomaticMeta.seoKeywords |raw }}" />
<meta name="dcterms.Subject" content="{{ seomaticMeta.seoKeywords |raw }}" />
<meta name="dcterms.Contributor" content="{{ seomaticSiteMeta.siteSeoName |raw }}" />
<meta name="dcterms.Date" content="{{ now | date('Y-m-d') }}" />
<meta name="dcterms.Description" content="{{ seomaticMeta.seoDescription |raw }}" />
Expand Down Expand Up @@ -89,4 +89,12 @@
<meta name="google-site-verification" content="{{ seomaticHelper.ownerGoogleSiteVerification |raw }}" />
{% endif %}

<!-- Identity -->

{{ craft.seomatic.renderIdentity() |raw }}

<!-- WebSite -->

{{ craft.seomatic.renderWebsite() |raw }}

<!-- END SEOmatic rendered SEO Meta -->

0 comments on commit ceccd5c

Please sign in to comment.