mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-03-30 23:20:27 +08:00
30 lines
864 B
HTML
30 lines
864 B
HTML
---
|
|
layout: default
|
|
---
|
|
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
|
|
|
<header class="post-header">
|
|
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
|
<p class="post-meta">
|
|
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
|
{{ page.date | date: date_format }}
|
|
</time>
|
|
{% assign author = site.data.authors[page.author] %}
|
|
{% if author %}
|
|
<span>
|
|
- Written by <a href="{{ author.web }}" target="_blank">{{ author.name }}</a>
|
|
</span>
|
|
{% endif %}
|
|
</p>
|
|
</header>
|
|
|
|
<div class="post-content" itemprop="articleBody">
|
|
{{ content }}
|
|
</div>
|
|
|
|
{% if site.disqus.shortname %}
|
|
{% include disqus_comments.html %}
|
|
{% endif %}
|
|
</article>
|