Skip to content

Commit

Permalink
Provide open graph image for social networks
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Kott committed Sep 29, 2014
1 parent 672bd9c commit ddd18ee
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Configuration/TypoScript/setup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,25 @@ page {
}
}

// Open Graph
// http://ogp.me/
20 = COA
20 {
// og:image
10 = FILES
10 {
references {
data = levelfield:-1, media, slide
}
maxItems = 1
renderObj = TEXT
renderObj {
data = file:current:publicUrl
wrap = <meta property="og:image" content="|" />
}
}
}

}

5 < styles.content.editPanelPage
Expand Down

0 comments on commit ddd18ee

Please sign in to comment.