Browse Source

Add tags to posts.

master
Ben Kurtovic 9 years ago
parent
commit
9ad3f9ee3e
9 changed files with 32 additions and 4 deletions
  1. +4
    -3
      _layouts/post.html
  2. +1
    -0
      _posts/2011-06-23-oh-look-a-blog.md
  3. +1
    -0
      _posts/2011-08-05-earwigbot-progress-wiki-toolset.md
  4. +1
    -0
      _posts/2011-08-23-earwigbot-progress-page-editing.md
  5. +1
    -0
      _posts/2012-01-29-earwigbot-and-toolserver-updates.md
  6. +1
    -0
      _posts/2014-06-01-obfuscating-hello-world.md
  7. +1
    -0
      _posts/2014-08-20-copyvio-detector.md
  8. +7
    -1
      index.html
  9. +15
    -0
      static/main.css

+ 4
- 3
_layouts/post.html View File

@@ -4,9 +4,10 @@ layout: base

<h1>{{ page.title }}</h1>
<div id="content">
<div id="post-info">
<span><i class="fa fa-clock-o"></i> Date:</span> {{ page.date | date: "%B %-d, %Y" }}
</div>
<ul id="post-info">
<li><span><i class="fa fa-tag"></i> Tags:</span> {{ page.tags | join: ", " }}</li>
<li><span><i class="fa fa-clock-o"></i> Date:</span> {{ page.date | date: "%B %-d, %Y" }}</li>
</ul>
<div id="post">
{{ content }}
</div>


+ 1
- 0
_posts/2011-06-23-oh-look-a-blog.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: Oh Look, A Blog!
tags: Misc
description: Just kinda playing with the idea of my own site right now
---



+ 1
- 0
_posts/2011-08-05-earwigbot-progress-wiki-toolset.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: EarwigBot Progress&#58; Wiki Toolset
tags: Wikipedia
description: YAWTF (Yet Another Wiki Tools Framework, or Yet Another... WTF?)
---



+ 1
- 0
_posts/2011-08-23-earwigbot-progress-page-editing.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: EarwigBot Progress&#58; Page Editing
tags: Wikipedia
description: Exactly what it says on the tin
---



+ 1
- 0
_posts/2012-01-29-earwigbot-and-toolserver-updates.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: EarwigBot and Toolserver Updates
tags: Wikipedia
description: More progress on EarwigBot and the Toolserver site rewrite, including dynamic backgrounds
---



+ 1
- 0
_posts/2014-06-01-obfuscating-hello-world.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: Obfuscating "Hello world!"
tags: Python
description: Fun with functional programming in Python
---



+ 1
- 0
_posts/2014-08-20-copyvio-detector.md View File

@@ -1,6 +1,7 @@
---
layout: post
title: Copyvio Detector
tags: Wikipedia
description: A technical writeup of some recent developments
---



+ 7
- 1
index.html View File

@@ -136,9 +136,15 @@ title: Home
</td>
<td style="width: 50%; vertical-align: top;">
<h2>Posts</h2>
<div>
Tags:
{% for tag in site.tags %}
{{tag[0]}}
{% endfor %}
</div>
<ul id="post-list">
{% for post in site.posts %}
<li>{{ post.date | date: "%b %-d, %Y" }}: <a class="underlined" href="{{ post.url }}">{{ post.title }}</a><br /><span class="subtitle">{{ post.description }}<br /><!-- Category &middot; --><a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{ post.id }}"></a></span></li>
<li>{{ post.date | date: "%b %-d, %Y" }}: <a class="underlined" href="{{ post.url }}">{{ post.title }}</a><br /><span class="subtitle">{{ post.description }}<br />{{ post.tags | join: ", " }} &middot; <a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{ post.id }}"></a></span></li>
{% endfor %}
</ul>
</td>


+ 15
- 0
static/main.css View File

@@ -98,6 +98,21 @@ a.underlined:hover, a.underlined:active { text-decoration: none; }
font-size: 14px;
}

#post-info {
list-style-type: none;
margin: 0;
padding-left: 0;
}

#post-info li {
line-height: 1em;
margin-bottom: 0.5em;
}

#post-info li:last-child {
margin-bottom: 0;
}

#post-info span {
color: #777;
}


Loading…
Cancel
Save