new site
This commit is contained in:
141
_layouts/post.html
Normal file → Executable file
141
_layouts/post.html
Normal file → Executable file
@@ -1,116 +1,43 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<div style="margin: 4.5rem auto;">
|
||||
{% include mode_switcher.html %}
|
||||
|
||||
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{% include head_base.html %}
|
||||
{% include head_post.html %}
|
||||
</head>
|
||||
|
||||
<header class="inpost-header">
|
||||
<h1 class="inpost-title" itemprop="name headline">{{ page.title }}</h1>
|
||||
<h1 style="float:right">
|
||||
<i class="typico typcn typcn-messages" style=" position: relative;
|
||||
top: 0px;
|
||||
font-size: 25px;"></i> <a class="disqus-comment-count" href="#disqus_thread" style="color:#fff"> 0</a>
|
||||
</h1>
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
{% include header.html %}
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="markdown-container" class="col-lg-9">
|
||||
<header>
|
||||
<p id="postTitle">{{ page.title }}</p>
|
||||
{% if page.tags %}
|
||||
<ul class="tags clearfix">
|
||||
{% for tag in page.tags %}
|
||||
<li><i class="fa fa-tag"></i> {{ tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
<p id="postMeta">posted on {{ page.date | date_to_string }} under category <a href="{{crturl}}category/">{{ page.categories[0] }}</a></p>
|
||||
|
||||
|
||||
|
||||
</p>
|
||||
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post-content" itemprop="articleBody">
|
||||
{{ content }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<div id="markdown-outline" class="col-lg-3">
|
||||
</div>
|
||||
|
||||
<div class="arrowNav">
|
||||
|
||||
{% if page.next.url %}
|
||||
<div class="arrowLeft">
|
||||
<a id="route" class="tooltip-right" href="{{page.next.url}}" title="
|
||||
<p class=hoveratas>{{page.next.title}}</p> <p class=hoverbawah>{{ page.next.content | strip_html | truncatewords:10}}</p>
|
||||
"><i class="typcn typcn-chevron-left" style=" font-size: 30px;
|
||||
position: relative;
|
||||
|
||||
"></i></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% include disqus_load.html %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if page.previous.url %}
|
||||
<div class="arrowRight" style="float:right">
|
||||
<a id="route" class="tooltip-left" href="{{page.previous.url}}" title="
|
||||
<p class=hoveratas>{{page.previous.title}}</p> <p class=hoverbawah>{{ page.previous.content | strip_html | truncatewords:10}}</p>
|
||||
"><i class="typcn typcn-chevron-right" style=" font-size: 30px;
|
||||
position: relative;
|
||||
|
||||
"></i></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
|
||||
|
||||
<p class="post-meta" style=" background: #00bc8c;
|
||||
padding: 15px 0px 15px 20px;"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"><i class="typcn typcn-calendar-outline"></i> {{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}
|
||||
|{% if post %}
|
||||
{% assign tags = post.tags %}
|
||||
{% else %}
|
||||
{% assign tags = page.tags %}
|
||||
{% endif %}
|
||||
{% for tag in tags %}
|
||||
<a href="/tags/#{{tag|slugize}}" style="color: #fff;"><i class="typcn typcn-tags"></i> {{tag}}</a>{% unless forloop.last %} {% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
#disqus_thread {
|
||||
overflow: hidden;
|
||||
|
||||
iframe {
|
||||
margin-bottom: -54px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div id="disqus_thread"></div>
|
||||
<script>
|
||||
|
||||
var disqus_config = function () {
|
||||
this.page.url = spaghetti.ga; // Replace PAGE_URL with your page's canonical URL variable
|
||||
this.page.identifier = {{page.id}}; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||
};
|
||||
|
||||
(function() { // DON'T EDIT BELOW THIS LINE
|
||||
var d = document, s = d.createElement('script');
|
||||
|
||||
s.src = '//spaghettisan.disqus.com/embed.js';
|
||||
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<script type="text/javascript" src="{{crturl}}javascripts/markdownreader.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user