-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.cfm
executable file
·19 lines (14 loc) · 1.07 KB
/
index.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<cfinclude template="plugin/config.cfm">
<cfsavecontent variable="twitterAdminBody">
<cfoutput>
<h3>Twitter Cards for Mura</h3>
<p>This plugin adds the necessary meta information to the page HEAD element to utilise the Twitter Cards</p>
<p> Read the Twitter Cards documentation here for a better understanding of what this plugin does: <a href="https://dev.twitter.com/docs/cards">Twitter cards documentation</a>
<p>For each site you enable the plugin, ensure you set in the Site Config the two values 'Twitter account name' and 'Default card description'. These values are used to populate two of the Twitter Card fields.</p>
<p>This plugin supports all 'Page' types creating a 'summary' or 'summary_large_image' type of card depending on the dimensions of the associated image, as well as the 'Gallery' content type, where it creates a 'gallery' type card, using the first 4 images from the gallery.</p>
</cfoutput>
</cfsavecontent>
<cfoutput>#$.getBean('pluginManager').renderAdminTemplate(
body=twitterAdminBody,
pageTitle=pluginConfig.getName(),
jsLib="jQuery")# </cfoutput>