Skip to content

Instantly share code, notes, and snippets.

@ari
Created May 2, 2018 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ari/233171d56222a7e071e6f399c0ad9531 to your computer and use it in GitHub Desktop.
Save ari/233171d56222a7e071e6f399c0ad9531 to your computer and use it in GitHub Desktop.
PageHead
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
<script type="text/javascript">
var ciVersion = '${ciVersion}';
var editorVersion = '${editorVersion}';
var checkoutVersion = '${checkoutVersion}';
</script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<t:any element="meta" name="generator" content="prop:metaGeneratorContent" />
<t:if test="canonicalLinkPath">
<link rel="canonical" href="${canonicalLinkPath}"></link>
<link rel="alternate" href="${canonicalLinkPath}" hreflang="en-au" />
<meta property="og:url" content="${canonicalLinkPath}" />
</t:if>
<t:if test="canonicalRelativeLinkPath">
<link rel="canonical" href="${canonicalRelativeLinkPath}"></link>
</t:if>
<meta property="og:type" content="website"/>
<meta content="${metaDescription}" name="description" />
<meta content="${metaDescription}" property="og:description"/>
<meta content="${metaDescription}" property="twitter:description"/>
<meta property="og:image" content="" />
<meta name="twitter:image" content="https://${request.serverName}/s/img/logos/logo.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<div t:type="ui/courseClassMetaInfo"/>
<link rel="shortcut icon" type="image/ico" href="/s/img/favicon.ico" />
<span t:type="ui/title" pageName="pageName" webNode="webNode"/>
<meta name="author" content="" />
<!--[if lt IE 9]><script src="/s/js/oncourse/vendor/html5shiv-printshiv.min.js"></script><![endif]-->
<link href="/s/stylesheets/css/site.css?v=${ciVersion}" media="screen, print" rel="stylesheet" />
<script type="text/javascript" src="/s/js/all.js?v=${ciVersion}"></script>
</t:container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment