35 lines
944 B
Plaintext
35 lines
944 B
Plaintext
|
---
|
||
|
layout: page
|
||
|
---
|
||
|
<style type="text/css">
|
||
|
header.intro-header{
|
||
|
background-position: right;
|
||
|
}
|
||
|
</style>
|
||
|
<!-- Chinese Version -->
|
||
|
<div class="post-container">
|
||
|
<%- page.content %>
|
||
|
</div>
|
||
|
|
||
|
<% if(config['disqus_username']) { %>
|
||
|
<div class="comment">
|
||
|
<div id="disqus_thread" class="disqus-thread">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- disqus start -->
|
||
|
<script type="text/javascript">
|
||
|
/* * * CONFIGURATION VARIABLES * * */
|
||
|
var disqus_shortname = "<%= config['disqus_username'] %>";
|
||
|
var disqus_identifier = "<%= page.permalink %>";
|
||
|
var disqus_url = "<%= page.permalink %>";
|
||
|
|
||
|
(function() {
|
||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||
|
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||
|
})();
|
||
|
</script>
|
||
|
<!-- disqus end -->
|
||
|
<% } %>
|