-
Notifications
You must be signed in to change notification settings - Fork 4
/
post.html
executable file
·111 lines (105 loc) · 7 KB
/
post.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{% extends "layout.html" %}
{% block title %}{{ post.metadata.title }} - {{ config.title }}{% endblock %}
{% block content %}
<div class="row">
<div class="col-xs-12 header-article">
<div class="author-post">
<div class="avatar-author"><img src="{{post.metadata.authorPicture}}" alt="{{post.metadata.authorName}}"></div>
<div class="info-author">
<span>Posted by</span>
<a href="{{post.metadata.authorLink}}" rel="author" class="author">{{post.metadata.authorName}}</a>
</div>
</div>
<div class="date-post">{{post.metadata.date}}</div>
<h1 class="title-post">{{ post.metadata.title }}</h1>
<div class="centering">
<ul class="tags-post">
{% for category in post.metadata.categories %}
<li class="item-tag-post">
<a class="categoryTag {{ category }}" href="/categories/{% if post.metadata.default_lang %}{{ post.metadata.lang }}/{% endif %}{{ category | lower | trim }}">{{ category }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="article-content">
<aside class="share-post">
<a href="#" data-provider="https://www.facebook.com/sharer.php?u=" data-post-url="/{{post.metadata.link}}" class="share-face share-item" title="Share this post"><img src="/images/icon-face-header.png" alt="icon facebook"></a>
<a href="#" data-provider="https://twitter.com/intent/tweet?text=" data-post-url="/{{post.metadata.link}}" class="share-twitter share-item" title="Tweet this post"><img src="/images/icon-twitter-header.png" alt="icon twitter"></a>
</aside>
{{ post.content }}
</div>
</div>
</div>
<div class="row row-comments">
<div class="col-md-12 title-testemonials title-comments-article">
<div class="centering">
<img class="icon-comments floating" src="/images/icon-content-comments.png" alt="icon comments">
<h2>Comments</h2>
</div>
</div>
<div class="col-xs-12">
<div class="comments-container">
<div id="disqus_thread"></div>
<noscript>
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</div>
</div>
<div class="row row-other-posts">
<div class="col-md-12 title-testemonials title-comments-article">
<div class="centering">
<svg version="1.1" class="thunder" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="17.191px" height="29.535px" viewBox="0 0 17.191 29.535" enable-background="new 0 0 17.191 29.535" xml:space="preserve">
<polygon fill-rule="evenodd" clip-rule="evenodd" fill="#FCCF0F" points="17.191,0 1.438,15.457 6.365,15.466 0,29.535
17.166,12.907 11.773,12.661 "/>
</svg>
<h2>Other Posts</h2>
</div>
</div>
<div id="otherPosts" class="list-other-posts">
<!--
{% for post in posts %}
{% if loop.index < 4 %}
<article class="col-md-4 col-sm-6 col-xs-12 post-normal item-post post-fade-6">
<div class="container-post">
<aside class="share-post">
<a href="#" class="share-face share-item" title="Share this post"><img src="/images/icon-face-header.png" alt="icon facebook"></a>
<a href="#" class="share-twitter share-item" title="Tweet this post"><img src="/images/icon-twitter-header.png" alt="icon twitter"></a>
</aside>
<div class="date-post">{{ post.date }}</div>
<h1 class="title-post"><a href="/{{ post.link }}">{{ post.title }}</a></h1>
<p class="intro-post">{{post.content }}</p>
<section class="footer-post">
<ul class="tags-post">
{% for category in post.categories %}
<li class="item-tag-post"><a href="/categories/{% if post.metadata.default_lang %}{{ post.metadata.lang }}/{% endif %}{{ category | lower | trim }}">{{ category }}</a></li>
{% endfor %}
</ul>
<div class="author-post">
<div class="avatar-author"><img src="/images/img-avatar-post.jpg" alt="avatar post"></div>
<div class="info-author">
<span>Posted by</span>
<a href="{{ post.authorLink }}" class="author">{{post.authorName}}</a>
</div>
</div>
</section>
</div>
</article>
{% endif %}
{% endfor %}
-->
</div>
</div>
<div class="row row-button">
<button id="goToTop" class="button-post button-top">
<img src="/images/icon-button-top.png" alt="icon scroll to top">
<span>Scroll to Top</span>
</button>
</div>
{% endblock %}