mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-05 10:45:45 +00:00
87 lines
2.8 KiB
HTML
87 lines
2.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>{{title}} :: samhuri.net</title>
|
|
<meta name="keywords" content="{{keywords}}">
|
|
<link rel="icon" type="image/gif" href="../assets/s.gif">
|
|
<link rel="stylesheet" href="../assets/blog-all.min.css">
|
|
<link rel="stylesheet" media="screen" href="../assets/mobile.min.css">
|
|
<link rel="alternate" type="application/rss+xml" href="http://samhuri.net/blog/sjs.rss" title="sjs' blog">
|
|
<body id="blog">
|
|
<nav id="breadcrumbs"><a href="../">samhuri.net</a> → <a href="index.html">blog</a></nav>
|
|
<header>
|
|
<h1><a href="index.html">sjs' blog</a></h1>
|
|
</header>
|
|
<div id="posts">
|
|
{{{article}}}
|
|
</div>
|
|
<p class="sep">༄</p>
|
|
<div id="around">
|
|
{{#previous}}
|
|
<a id="prev" href="{{filename}}">← {{title}}</a>
|
|
{{/previous}}
|
|
{{#next}}
|
|
<a id="next" href="{{filename}}">{{title}} →</a>
|
|
{{/next}}
|
|
<br style="clear:both">
|
|
</div>
|
|
{{#comments}}
|
|
<p id="need-js" align="center"><strong>(discussion requires JavaScript)</strong></p>
|
|
<div class="center" id="sd-container"><a id="sd" href="#comment-stuff">show the discussion</a></div>
|
|
<div id="comment-stuff">
|
|
<div id="comments">
|
|
<div id="comments-spinner"><img src="../assets/spinner.gif"></div>
|
|
</div>
|
|
<form id="comment-form">
|
|
<input name="post" type="hidden" value="{{filename}}">
|
|
<p><input name="name" type="text" placeholder="name"></p>
|
|
<p><input name="email" type="text" placeholder="email"></p>
|
|
<p><input name="url" type="text" placeholder="url"></p>
|
|
<p><textarea id="thoughts" name="body" placeholder="thoughts"></textarea></p>
|
|
<p align="center"><input type="submit" value="so there"></p>
|
|
</form>
|
|
</div>
|
|
<script type="text/html" id="comment_tmpl">
|
|
<div class="comment">
|
|
<p>
|
|
<% if (url) { %>
|
|
<a href="<%= url %>"><%= name %></a>
|
|
<% } else { %>
|
|
<%= name %>
|
|
<% } %>
|
|
@ <%= strftime('%F %r', new Date(timestamp)) %>
|
|
</p>
|
|
<blockquote><%= html %></blockquote>
|
|
</div>
|
|
</script>
|
|
{{/comments}}
|
|
<footer>
|
|
<p><a href="https://twitter.com/_sjs">@_sjs</a></p>
|
|
<p><a href="mailto:sami.samhuri@gmail.com">sami.samhuri@gmail.com</a></p>
|
|
</footer>
|
|
<script>
|
|
var _gaq = _gaq || []
|
|
_gaq.push( ['_setAccount', 'UA-214054-5']
|
|
, ['_trackPageview']
|
|
)
|
|
|
|
;(function() {
|
|
var ga = document.createElement('script')
|
|
ga.type = 'text/javascript'
|
|
ga.async = true
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'
|
|
var s = document.getElementsByTagName('script')[0]
|
|
s.parentNode.insertBefore(ga, s)
|
|
}())
|
|
</script>
|
|
{{#comments}}
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
|
|
<script>
|
|
window.SJS = window.SJS || {}
|
|
window.SJS.filename = "{{filename}}"
|
|
</script>
|
|
<script src="../assets/blog-all.min.js"></script>
|
|
{{/comments}}
|
|
</body>
|
|
</html>
|