Skip to content

Instantly share code, notes, and snippets.

Created August 5, 2016 17:15
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save scripting/ebf25aa571d68158fd8932315c281405 to your computer and use it in GitHub Desktop.
The template I use for
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" href="[%urlRssFeed%]" />
<script src=""></script>
<link rel="stylesheet" href=""/>
<!-- Hellllp! I'm trapped in an HTML page!?! -->
<!-- Facebook metadata -->
<meta property="og:url" content="[%thispageurl%]" />
<meta property="og:type" content="website" />
<meta property="og:title" content="[%title%]" />
<meta property="og:description" content="[%description%]" />
<meta property="og:site_name" content="[%sitename%]" />
<meta property="og:image" content="[%urlImage%]" />
<!-- Twitter metadata -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@[%twitterscreenname%]">
<meta name="twitter:title" content="[%title%]">
<meta name="twitter:description" content="[%description%]">
<meta name="twitter:image:src" content="[%urlImage%]">
.divDisqusComments {
margin-top: 20px;
border: 1px solid silver;
background-color: white;
padding-left: 10px;
padding-right: 10px;
.brand a {
color: #777777;
var pagetable = [%pagetableInJson%];
<div class="divPageBody" id="idPageBody">
<div class="divPrevNextNavigation" id="idPrevNextNavigation"></div>
<div class="divMessageTitle" id="idMessageTitle" [%defaulttitlestyle%]>[%title%]</div>
<div class="divChatLog" id="idChatLog">
<div class="divDisqusComments">
<div id="disqus_thread"></div>
var disqus_config = function () { = "[%thispageurl%]";
(function () {
var d = document, s = d.createElement ('script');
s.src = '//';
s.setAttribute ('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
<div class="divFooter" id="idFooter">
$(document).ready (function () {
startup ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment