uechi.io/_layouts/post.html

61 lines
1.7 KiB
HTML
Raw Normal View History

2017-10-07 11:43:26 +09:00
---
layout: default
---
<section>
<article class="article">
<hgroup class="article__metadata">
2018-12-28 21:44:59 +09:00
{% if page.date %}
2017-11-20 21:34:36 +09:00
<h3 class="article__pubdate">
2018-12-28 21:44:59 +09:00
<time pubdate>{{ page.date | date: '%B %d, %Y' | upcase }}</time>
2017-11-20 21:34:36 +09:00
</h3>
2018-12-28 21:44:59 +09:00
{% endif %}
<h2 class="article__title">{{ page.title }}</h2>
2017-10-07 11:43:26 +09:00
</hgroup>
2018-12-28 21:44:59 +09:00
<div class="article__content">{{ content }}</div>
2017-10-07 11:43:26 +09:00
<!-- Social buttons -->
<div id="fb-root"></div>
<div class="article__social">
2018-12-28 21:44:59 +09:00
<a
href="https://twitter.com/share"
class="twitter-share-button"
data-size="large"
>Tweet</a
>
<div
class="fb-like"
data-layout="button"
data-action="like"
data-size="large"
data-show-faces="false"
data-share="true"
></div>
2017-10-07 11:43:26 +09:00
</div>
</article>
2018-05-24 23:18:31 +09:00
</section>
2019-07-23 17:34:26 +09:00
<!-- MathJax -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true
}
});
</script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
</script>
<!-- Syntax Highlight -->
<link
rel="stylesheet"
2020-02-07 12:37:31 +09:00
href="https://unpkg.com/highlight.js@9.18.1/styles/night-owl.css"
2019-07-23 17:34:26 +09:00
/>
2020-02-07 12:57:54 +09:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/languages/go.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/languages/scss.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/languages/lua.min.js"></script>
2019-07-23 17:34:26 +09:00
<script>
hljs.initHighlightingOnLoad()
</script>