Initial commit

This commit is contained in:
Mike JS. Choi
2017-07-24 10:22:05 +09:00
commit 7bae29cb75
39 changed files with 1652 additions and 0 deletions

14
_layouts/content.html Normal file
View File

@ -0,0 +1,14 @@
---
layout: page
---
<article class="c-article">
<header class="c-article__header">
<h1 class="c-article__title">{{ page.title }}</h1>
</header>
<div class="c-article__main">
{{ content }}
</div>
<footer class="c-article__footer">
</footer>
</article>

12
_layouts/default.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
{% include head.html %}
<body>
<main class="u-container">
{{ content }}
</main>
{% if jekyll.environment == 'production' %}
{% include analytics.html %}
{% endif %}
</body>
</html>

10
_layouts/page.html Normal file
View File

@ -0,0 +1,10 @@
---
layout: default
---
<div class="c-page">
{% include header.html %}
<div class="c-page__main">
{{ content }}
</div>
{% include footer.html %}
</div>

46
_layouts/post.html Normal file
View File

@ -0,0 +1,46 @@
---
layout: page
---
<article class="c-article">
<header class="c-article__header">
<h1 class="c-article__title">{{ page.title }}</h1>
<p class="c-article__time"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time></p>
</header>
<!-- Post Tags -->
<ul class="c-tags">
{% for tag in page.tags %}
<li class="c-tag">{{ tag }}</li>
{% endfor %}
</ul>
<div class="c-article__main">
{{ content }}
</div>
<!-- Previous / Next Buttons -->
<div class="pagenav">
{% if page.previous.url %}
<div class="wrapper" id="left">
<small><b>Previous</b> {{page.previous.date | date: "%b %-d, %Y"}}</small>
<br>
<a class="no-hov" href="{{ page.previous.url | prepend: site.baseurl }}">&laquo; {{page.previous.title}}</a>
</div>
{% endif %}
{% if page.next.url %}
<div class="wrapper" id="right">
<small>{{page.next.date | date: "%b %-d, %Y"}} <b>Next</b></small>
<br>
<a class="no-hov" href="{{ page.previous.url | prepend: site.baseurl }}">{{page.next.title}} &raquo;</a>
</div>
{% endif %}
</div>
<!-- Disqus comments view -->
{% if page.comments != false and site.disqus_id %}
<div class="post-disqus">
<section id="disqus_thread"></section>
{% include disqus.html %}
</div>
{% endif %}
</article>