Skip to content
Permalink
Browse files

Fixed outdated docs, standalone_logo replaces trimmed_logo in v10+

  • Loading branch information...
chrisgraham committed Jul 4, 2019
1 parent d034b8e commit 12eaadbc47cf407cde2e99ef9a39744efdb57b3e
Showing with 2 additions and 2 deletions.
  1. +1 −1 docs/pages/comcode_custom/EN/tut_facebook.txt
  2. +1 −1 docs/pages/comcode_custom/EN/tut_metadata.txt
@@ -237,7 +237,7 @@ To:
<meta property="og:image" content="{$METADATA*,image}" />
{+END}
{+END}
{+START,IF_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$IMG*,logo/trimmed_logo}" />{+END}
{+START,IF_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$IMG*,logo/standalone_logo}" />{+END}
[/code]
[/list]

@@ -67,7 +67,7 @@ The Open Graph Title is taken as the same as the screen title (it's not combined

The Open Graph Image is either contextual (the main image of whatever content is being viewed), or the [tt]logo/standalone_logo[/tt] theme image.

Note that [tt]logo/trimmed_logo[/tt] is used for a number of things, including the e-mail header, and in RSS feeds. It is intended to be a simple standalone logo (i.e. not tied into the overall web design).
Note that [tt]logo/standalone_logo[/tt] is used for a number of things, including the e-mail header, and in RSS feeds. It is intended to be a simple standalone logo (i.e. not tied into the overall web design).

In your HTML the Open Graph tags look similar to:
[code="HTML"]

0 comments on commit 12eaadb

Please sign in to comment.
You can’t perform that action at this time.