Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Commonly Used MODX Head Tags for use in my Public Snapshots
<title>[[*pagetitle]]</title>
<title>[[*longtitle:default=`[[*pagetitle]]`]]</title>
<meta name="description" content="[[*description]]">
<meta name="keywords" content="[[*keywords]]">
<meta itemprop="url" content="[[~[[*id? &scheme=`full`]]]]">
<meta itemprop="name headline" content="[[*pagetitle]]">
<meta itemprop="description" content="[[*description]]">
<meta itemprop="image" content="">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="[[*pagetitle]]">
<meta name="twitter:description" content="[[*description]]">
<meta name="twitter:image:src" content="">
<!-- Facebook -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="[[++site_name]]">
<meta property="og:url" content="[[~[[*id? &scheme=`full`]]]]">
<meta property="og:image" content="">
<meta property="og:title" content="[[*pagetitle]]">
<meta property="og:description" content="[[*description]]">
<meta property="fb:app_id" content="">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.