Created
August 5, 2016 17:15
-
-
Save scripting/ebf25aa571d68158fd8932315c281405 to your computer and use it in GitHub Desktop.
The template I use for blog.1999.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>[%title%]</title> | |
<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="http://1999.io/dev/publish/code.js"></script> | |
<link rel="stylesheet" href="http://1999.io/dev/publish/styles.css"/> | |
<!-- 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%]"> | |
<style> | |
.divDisqusComments { | |
margin-top: 20px; | |
border: 1px solid silver; | |
background-color: white; | |
padding-left: 10px; | |
padding-right: 10px; | |
} | |
.brand a { | |
color: #777777; | |
} | |
</style> | |
<script> | |
var pagetable = [%pagetableInJson%]; | |
</script> | |
</head> | |
<body> | |
<div class="divPageBody" id="idPageBody"> | |
<div class="divPrevNextNavigation" id="idPrevNextNavigation"></div> | |
<div class="divMessageTitle" id="idMessageTitle" [%defaulttitlestyle%]>[%title%]</div> | |
<div class="divChatLog" id="idChatLog"> | |
[%text%] | |
</div> | |
<div class="divDisqusComments"> | |
<div id="disqus_thread"></div> | |
<script> | |
var disqus_config = function () { | |
this.page.url = "[%thispageurl%]"; | |
}; | |
(function () { | |
var d = document, s = d.createElement ('script'); | |
s.src = '//smallpict.disqus.com/embed.js'; | |
s.setAttribute ('data-timestamp', +new Date()); | |
(d.head || d.body).appendChild(s); | |
})(); | |
</script> | |
</div> | |
<div class="divFooter" id="idFooter"> | |
</div> | |
</div> | |
<script> | |
$(document).ready (function () { | |
startup (); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment