Answers.Body: <p>The following works (but is undocumented):</p>
  
  <p><code>{% set seomaticSiteMeta = seomaticSiteMeta | merge({'siteSeoTitlePlacement': 'before'}) %}</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-15T16:41:30.183Z
Answers.LastActivityDate: 2016-12-15T16:41:30.183Z
Answers.UserDisplayName: cmal
Body: <p>Let's say my seomatic <code>Site SEO Name</code> = <code>My Site</code> and my <code>Site SEO Title</code> = <code>A Wonderful Website</code></p>
  
  <p>With the default values for seomatic's <code>Site SEO Name Placement</code> and <code>Site SEO Name Separator</code>, this will output the following title:</p>
  
  <p><code>&lt;title&gt;A Wonderful Website | My Site&lt;/title&gt;</code></p>
  
  <p>This makes sense for the majority of pages on my site, where by setting a custom title for the page I'll get something like <code>About Us | My Site</code></p>
  
  <p>But on the homepage, I actually want to swap the order of these, so that the title becomes:</p>
  
  <p><code>&lt;title&gt;My Site | A Wonderful Website&lt;/title&gt;</code></p>
  
  <p>This seems like a fairly common thing to do, but I can't seem to find a way to trick seomatic into allowing this without setting <code>Site SEO Name Placement</code> to <code>None</code> (which I don't want to do because the default value works well on all other pages).</p>
  
  <p>Even trying to manually set the entire title won't work, because it will insist on adding the <code>Site SEO Name</code> to the end:</p>
  
  <p><code>{% set seomaticMeta = seomaticMeta | merge({ seoTitle: 'My Site | A Wonderful Website' }) %}</code></p>
  
  <p>Any way around this?</p>
  
Tags: <plugin-seomatic>
Title: Reverse the seomatic title and site name for a specific template
ThreadText: # Reverse the seomatic title and site name for a specific template
  
  (Asked by: username_0 on 2016-12-13)
  
  Let's say my seomatic `Site SEO Name` = `My Site` and my `Site SEO Title` = `A Wonderful Website`
  
  With the default values for seomatic's `Site SEO Name Placement` and `Site SEO Name Separator`, this will output the following title:
  
  `<title>A Wonderful Website | My Site</title>`
  
  This makes sense for the majority of pages on my site, where by setting a custom title for the page I'll get something like `About Us | My Site`
  
  But on the homepage, I actually want to swap the order of these, so that the title becomes:
  
  `<title>My Site | A Wonderful Website</title>`
  
  This seems like a fairly common thing to do, but I can't seem to find a way to trick seomatic into allowing this without setting `Site SEO Name Placement` to `None` (which I don't want to do because the default value works well on all other pages).
  
  Even trying to manually set the entire title won't work, because it will insist on adding the `Site SEO Name` to the end:
  
  `{% set seomaticMeta = seomaticMeta | merge({ seoTitle: 'My Site | A Wonderful Website' }) %}`
  
  Any way around this?
  
  **Tags:** plugin-seomatic
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-12-15. Score: 5
  
  The following works (but is undocumented):
  
  `{% set seomaticSiteMeta = seomaticSiteMeta | merge({'siteSeoTitlePlacement': 'before'}) %}`
  
  
  ---
  
  