-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpost.html
116 lines (103 loc) · 3.5 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
112
113
114
115
116
---
layout: default
---
<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
{% if page.teaser %}
<h2 class="post-teaser">{{ page.teaser }}</h1>
{% endif %}
{% if page.featured_image %}
<figure class="featured-image">
<img src="{{ site.image_url }}/{{ page.featured_image.url }}" />
{% if page.featured_image.caption %}
<figcaption>
{{ page.featured_image.caption | markdownify }}
</figcaption>
{% endif %}
</figure>
{% endif %}
<div class="post-meta">
{% if page.authors %}
<span class="authors">
By
{% for author_key in page.authors %}
{% assign author = site.data.authors[author_key] %}
{{ author.name }}{% unless forloop.last %}, {% endunless %}
{% endfor %}
</span>
{% endif %}
<span class="date">{{ page.date | date: "%b %-d, %Y" }}</span>
</div>
</header>
<article class="post-content">
{% if page.key_takeaways %}
<section class="key-takeaways">
<h2>Key Takeaways</h2>
<ul>
{% for takeaway in page.key_takeaways %}
<li>{{ takeaway | markdownify }}</li>
{% endfor %}
</ul>
</section>
{% endif %}
<a href="#visualization" id="jump-to-visualization">↓ Jump to visualization</a>
{{ content }}
</article>
<nav class="prev-next-post">
{% if page.previous %}
<a class="prev" href="{{ page.previous.url }}">
<h3>← {{ page.previous.title }}</h2>
</a>
{% endif %}
{% if page.next %}
<a class="next" href="{{ page.next.url }}">
<h3>{{ page.next.title }} →</h2>
</a>
{% endif %}
</nav>
{% if page.authors %}
<section class="about-the-author">
<h2>AUTHOR{% if page.authors.size > 1 %}S{% endif %}</h2>
<div class="authors-list">
{% for author_key in page.authors %}
{% assign author = site.data.authors[author_key] %}
<div class="author">
<h3>{{ author.name }}</h3>
{% if author.title %}<h4>{{ author.title }}</h4>{% endif %}
{% if author.mug %}<img class="mug" src="/img/mugs/{{ author_key }}.jpg" />{% endif %}
{% if author.bio %}
{{ author.bio | markdownify }}
{% endif %}
<ul class="contact">
{% if author.github %}
<li><a href="https://github.com/{{ author.github }}"><img src="/img/icons/github.svg" /></a></li>
{% endif %}
{% if author.twitter %}
<li><a href="https://twitter.com/{{ author.twitter }}"><img src="/img/icons/twitter.svg" /></a></li>
{% endif %}
{% if author.email %}
<li><a href="mailto:{{ author.email }}"><img src="/img/icons/email.svg" /></a></li>
{% endif %}
{% if author.website %}
<li><a href="{{ author.website }}"><img src="/img/icons/globe.svg" /></a></li>
{% endif %}
</ul>
</div>
{% endfor %}
</div>
</section>
{% endif %}
<!-- Disqus comments
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'stackdailybruin';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script> -->
</div>