forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog_post_article.html
51 lines (48 loc) · 1.58 KB
/
blog_post_article.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<article class="card" itemscope itemtype="http://schema.org/BlogPosting">
<div class="card-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<h4 class="post-meta">{{ page.summary }}</h4>
<p class="post-summary">
Posted by : {% if page.author %}
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">{{ page.author }}</span> </span
>{% endif %} at
<time datetime="{{ page.date }}" itemprop="datePublished"
>{{ page.date | date: "%b %-d, %Y" }}</time
>
</p>
<span
class="disqus-comment-count"
data-disqus-identifier="{{ page.url }}"
></span>
<div class="post-categories">
{% if post %} {% assign categories = post.categories %} {% else %} {%
assign categories = page.categories %} {% endif %} Category : {% for
category in categories %}
<a href="{{site.baseurl}}/blog/categories/{{category|slugize}}"
>{{category}}</a
>
{% unless forloop.last %} {% endunless %} {% endfor %}
</div>
</div>
<div class="card-body" itemprop="articleBody">
<img
class="card-img-top"
src="{{site.url}}{{site.baseurl}}{{ page.thumbnail }}"
alt="{{ post.title }}"
/>
<br />
<br />
{{ content }}
<br />
{%- include share_page.html -%}
</div>
{%- if site.hyvor_talk_website_id -%}
<div class="comments">
{%- include hyvor_comments.html -%}
</div>
{%- endif -%}
<!-- Incomment incase you want to use Disqus
<div id="disqus_thread"></div>
-->
</article>