-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
100 lines (82 loc) · 3.16 KB
/
blog.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
---
layout: page
title: Blog
---
<div class = "row">
<div class = "col s12 m12 l12" >
<div class="">
<p class = "flow-text">
Posts on this blog are usually a result of my graduate school assignments and work. When I have time I do projects for recreation and report here. Sometimes I take online courses from Coursera and share my work on this blog when sharing is appropriate.
</p>
<p class = "flow-text">
Some posts have links to <code>.ipynb</code>, <code>.Rmd</code> files. I am a huge proponent of reproducible research and provide code where applicable. Every post can be saved as a <code>.pdf</code>. If you have questions/comments/suggestions feel free to contact me.
</p>
<hr>
<!-- Category list -->
<ul class="unstyled list-inline">
{% for tag in site.categories %}
{% assign t = tag | first %}
{% assign posts = tag | last %}
<li>
<a href="/tags#{{t}}">
<span class = "chip-cat">{{t | downcase | replace:" ","-" }}</span>
</a>
</li>
{% endfor %}
<!-- Sorted tags list -->
{% capture tags %}
{% for tag in site.tags %}
{{ tag[0] }}
{% endfor %}
{% endcapture %}
{% assign sortedtags = tags | split:' ' | sort %}
{% for tag in sortedtags %}
<li><a href="/tags#{{tag}}"><span class = "chip">#{{tag | downcase | replace:" ","-" }}</span></a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class = "row">
<div class = "col s12 m4 l2" style = "padding:0px;">
<h1>Posts<h1>
</div>
<div class = "col s12 m4 l10 hide-on-small-only">
<div class = "post-view-tabs-wrapper right">
<ul class="tabs">
<li class="tab "><a id="view1" class = "waves-effect waves-red btn-flat" href="#" data-view="single-list">List</a></li>
<li class="tab "><a id="view2" class = "waves-effect waves-red btn-flat active" href="#" data-view="collapsible-list">Collapsible List</a></li>
<li class="tab "><a id="view3" class = "waves-effect waves-red btn-flat" href="#" data-view="cards-list">Cards</a></li>
</ul>
</div>
</div>
</div>
<div id = "collapsible-list">
{% include list-collapsible.html %}
</div>
<div id = "single-list" style = "display:none">
{% include list.html %}
</div>
<div id = "cards-list" class = "row" style = "display:none">
{% for post in site.posts %}
<div class="col s12 m6 l6">
<div class="card-panel post-panel">
<a href="{{ post.url }}"><h2>{{ post.title }}</h2></a>
by {{post.author}}<br>
<i class="fa fa-calendar"></i> {{post.date|date:"%b %d, %Y"}} |
<!-- category -->
<i class="fa fa-tag"></i>
{% for cat in post.categories %}
<a href="{{baseurl}}/categories/{{ cat | urlize }}/"><span class = "chip-cat">{{ cat }}</span></a>
{% endfor %}
<p>{{post.excerpt}}<br><a href = "{{post.url}}">...Read more</a></p>
<!-- tags -->
<div class = "tags">
{% for tag in post.tags %}
<a href="{{baseurl}}/tags/{{ tag | urlize }}/" ><span class = "chip">#{{ tag }}</span></a>
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</div>