react/docs/_includes/blog_post.html

30 lines
565 B
HTML
Raw Normal View History

2015-05-02 09:03:46 +08:00
{% assign page = include.page %}
2013-06-03 06:48:15 +08:00
2015-05-02 09:03:46 +08:00
<h1>
{% if include.isPermalink %}
{{ page.title }}
2013-06-03 06:48:15 +08:00
{% else %}
2015-05-02 09:03:46 +08:00
<a href="/react{{ page.url }}">{{ page.title }}</a>
2013-06-03 06:48:15 +08:00
{% endif %}
2015-05-02 09:03:46 +08:00
</h1>
<p class="meta">
{{ page.date | date: "%B %e, %Y" }}
by
{% if page.author.url %}
<a href="{{page.author.url}}">{{ page.author.name }}</a>
2015-05-02 09:03:46 +08:00
{% else %}
{{ page.author.name }}
2015-05-02 09:03:46 +08:00
{% endif %}
</p>
<hr>
<div class="post">
{{ include.content }}
2013-06-03 06:48:15 +08:00
</div>
2015-05-02 09:03:46 +08:00
{% if include.isPermalink %}
<div class="fb-like" data-send="true" data-width="650" data-show-faces="false"></div>
{% endif %}