This commit is contained in:
2016-06-14 21:54:24 -04:00
parent c8df251d02
commit 3de79fda50
10115 changed files with 32393 additions and 1035866 deletions

20
_layouts/base.html Executable file
View File

@@ -0,0 +1,20 @@
{% include mode_switcher.html %}
<!DOCTYPE html>
<html>
<head>
{% include head_base.html %}
</head>
<body>
{% include header.html %}
<section id="l-main">
<div class="container">
{{ content }}
</div>
</section>
{% include footer.html %}
</body>
</html>

View File

@@ -1,20 +0,0 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<Body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
{% include footer.html %}
</Body>
</html>

View File

@@ -0,0 +1,27 @@
{% include mode_switcher.html %}
<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="{{crturl}}stylesheets/markdownreader_bare.css">
<link rel="stylesheet" type="text/css" href="{{crturl}}stylesheets/pygments_monokai.css">
<link rel="stylesheet" type="text/css" href="{{crturl}}stylesheets/code_block.css">
<!-- favicon -->
<link rel="shortcut icon" href="{{crturl}}favicon.ico" type="image/icon">
<link rel="icon" href="{{crturl}}favicon.ico" type="image/icon">
</head>
<body>
<div id="markdown-container">
{% include resume_head.html %}
{{ content }}
</div>
<div id="markdown-outline">
</div>
<div id="markdown-backTop" onclick="window.scrollTo(0,0)"></div>
<script type="text/javascript" src="{{crturl}}javascripts/markdownreader_bare.js"></script>
</body>
</html>

View File

@@ -1,14 +0,0 @@
---
layout: default
---
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<div class="post-content">
{{ content }}
</div>
</article>

141
_layouts/post.html Normal file → Executable file
View 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="
&lt;p class=hoveratas&gt;{{page.next.title}}&lt;/p&gt; &lt;p class=hoverbawah&gt;{{ page.next.content | strip_html | truncatewords:10}}&lt;/p&gt;
"><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="
&lt;p class=hoveratas&gt;{{page.previous.title}}&lt;/p&gt; &lt;p class=hoverbawah&gt;{{ page.previous.content | strip_html | truncatewords:10}}&lt;/p&gt;
"><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>

0
_layouts/tagOrCat.html Executable file
View File