uechi.io/_layouts/post.html

61 lines
1.6 KiB
HTML

---
layout: default
---
<section>
<article class="article">
<hgroup class="article__metadata">
{% if page.date %}
<h3 class="article__pubdate">
<time pubdate>{{ page.date | date: '%B %d, %Y' | upcase }}</time>
</h3>
{% endif %}
<h2 class="article__title">{{ page.title }}</h2>
</hgroup>
<div class="article__content">{{ content }}</div>
<!-- Social buttons -->
<div id="fb-root"></div>
<div class="article__social">
<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>
</div>
</article>
</section>
<!-- 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"
href="https://unpkg.com/highlight.js@9.18.1/styles/night-owl.css"
/>
<script src="https://unpkg.com/highlight.js@9.18.1/lib/highlight.js"></script>
<script src="https://unpkg.com/highlight.js@9.18.1/lib/languages/go.js"></script>
<script src="https://unpkg.com/highlight.js@9.18.1/lib/languages/scss.js"></script>
<script src="https://unpkg.com/highlight.js@9.18.1/lib/languages/lua.js"></script>
<script>
hljs.initHighlightingOnLoad()
</script>