<p>Yes, it's definitely possible to do that, but you'll need to use Twig as per: <a href="https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta" rel="nofollow noreferrer">https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta</a></p>

<p>However, you might not want to do that. Sometimes it's nice to have the site name show up in the title that's shared via social media, to tie in the branding. Your call tho!</p>

CC BY-SA 3.0
2017-07-17T23:06:16.380Z
Thanks, yes, I am using a Twig array to define values for specific fields, but entry.title returns the modified title with the siteName appended. I've updated my question with my example code.
Dalton Rooney
CC BY-SA 3.0
2017-07-16T20:48:26.463Z
2017-07-16T20:48:26.463Z
andrew.welch
<p>SEOMatic automatically adds the siteName after your title tag, which seems smart, but I don't think it's necessary for social sharing. Is it possible to tweak the og:title and twitter:title tag output in SEOmatic to remove the siteName?</p>

<p>My current seomaticMeta array looks like this:</p>

<pre><code>{% set seomaticMeta = { 
  seoTitle: entry.title,
  seoDescription: entry.shortDescription,
  seoImage: entry.thumbnailImage.first(),
  seoKeywords: '',
  canonicalUrl: entry.url,
  twitter: { 
      card: seomaticMeta.twitter.card,
      site: seomaticMeta.twitter.site,
      creator: seomaticMeta.twitter.creator,
      title: entry.title,
      description: entry.shortDescription,
      image: entry.thumbnailImage.first(),
  },
  og: { 
      type: seomaticMeta.og.type,
      locale: seomaticMeta.og.locale,
      url: entry.url,
      title: entry.title,
      description: entry.shortDescription,
      image: entry.thumbnailImage.first(),
      site_name: seomaticMeta.og.site_name,
      see_also: seomaticMeta.og.see_also
  }
} %}
</code></pre>

<p>However, the entry.title tag returns the title with the siteName appended.</p>

CC BY-SA 3.0
2017-07-18T01:57:13.017Z
Try `{% set seomaticSiteMeta = seomaticSiteMeta | merge({'siteSeoTitlePlacement': 'none'}) %}`
andrew.welch
<plugin-seomatic>
How to remove siteName from the og:title tag with SEOMatic
# How to remove siteName from the og:title tag with SEOMatic

(Asked by: username_0 on 2017-07-06)

SEOMatic automatically adds the siteName after your title tag, which seems smart, but I don't think it's necessary for social sharing. Is it possible to tweak the og:title and twitter:title tag output in SEOmatic to remove the siteName?
My current seomaticMeta array looks like this:
{% set seomaticMeta = { 
  seoTitle: entry.title,
  seoDescription: entry.shortDescription,
  seoImage: entry.thumbnailImage.first(),
  seoKeywords: '',
  canonicalUrl: entry.url,
  twitter: { 
      card: seomaticMeta.twitter.card,
      site: seomaticMeta.twitter.site,
      creator: seomaticMeta.twitter.creator,
      title: entry.title,
      description: entry.shortDescription,
      image: entry.thumbnailImage.first(),
  },
  og: { 
      type: seomaticMeta.og.type,
      locale: seomaticMeta.og.locale,
      url: entry.url,
      title: entry.title,
      description: entry.shortDescription,
      image: entry.thumbnailImage.first(),
      site_name: seomaticMeta.og.site_name,
      see_also: seomaticMeta.og.see_also
  }
} %}

However, the entry.title tag returns the title with the siteName appended.

**Tags:** plugin-seomatic
> **Comments:**
> **username_1**: Try `{% set seomaticSiteMeta = seomaticSiteMeta | merge({'siteSeoTitlePlacement': 'none'}) %}`  

---

## 1 answers

### Answer by username_1 on 2017-07-16. Score: 2 | Accepted answer

Yes, it's definitely possible to do that, but you'll need to use Twig as per: <https://github.com/nystudio107/seomatic/wiki/10.-Dynamic-Twig-SEO-Meta>

However, you might not want to do that. Sometimes it's nice to have the site name show up in the title that's shared via social media, to tie in the branding. Your call tho!

> **Comments:**
> **username_0**: Thanks, yes, I am using a Twig array to define values for specific fields, but entry.title returns the modified title with the siteName appended. I've updated my question with my example code.  

---

