-
Notifications
You must be signed in to change notification settings - Fork 6
/
blog.html
59 lines (51 loc) · 1.83 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
---
permalink: /blog/index.html
layout: default
title: Dan Kelley
showtags: false
submenu: blog
---
<p>In late 2013, Dan Kelley
started experimenting with blogging, creating a <a
href="http://saltydrip.wordpress.com">WordPress</a> blog. Finding the
WordPress data entry scheme to be somewhat arduous, and disliking commercial
lock-in, he started experimenting with github blogging in early
2014, yielding entries as follows. (Readers most interested in the R items
should also check out <a href="http://r-bloggers.com/">r-bloggers</a>.)</p>
<p>NOTE: a new blog is at <a href="https://dankelley.github.io/dek_blog/">
https://dankelley.github.io/dek_blog</a>. Over time, all the items in the
present blog will be moved to that new location.</p>
{% for post in site.posts %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
</ul>
<h3> {{ post.date | date: '%Y' }} posts </h3>
<ul class="posts">
{% endif %}
<li>
<span>{{ post.date | date: "%b %e" }}</span> »
<a href="{{ post.url }}">{{ post.title }}</a>
{% if page.showtags %}
Tags:
{% for tag in post.tags %}
<span class=tag><a href="{{ site.url }}/tags/{{ tag }}">{{ tag }}</a></span>
{% if forloop.last != true %} · {% endif %}
{% endfor %} <!-- tag -->
{% endif %} <!-- showtags -->
{% endfor %} <!-- post -->
</ul>
<h3>Tags</h3>
{% capture tagnames %}
{% for tag in site.tags %}
{{ tag[0] }}
{% endfor %}
{% endcapture %}
<!-- NOTE: this assumes no spaces in tags -->
{% assign sortedtags = tagnames | split:' ' | sort %}
{% for tag in sortedtags %}
<a href="{{ site.url }}/tags/{{ tag }}/index.html" class="tag">
{{ tag }}
</a>
{% if forloop.last != true %} · {% endif %}
{% endfor %}