mirror of
https://github.com/jimeh/jimeh.me-v3.0.git
synced 2026-02-19 05:46:40 +00:00
post tags, and tag pages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
auto: false
|
||||
destination: ../../public/blog
|
||||
markdown: rdiscount
|
||||
permalink: pretty
|
||||
permalink: /:year/:month/:day/:title
|
||||
paginate: 8
|
||||
pygments: true
|
||||
lsi: false
|
||||
4
source/blog/_includes/paginator-empty.html
Normal file
4
source/blog/_includes/paginator-empty.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="post-paginator">
|
||||
<a href="/blog/archive/">archive</a><br />
|
||||
<a href="http://feeds.feedburner.com/jimeh">rss</a>
|
||||
</div>
|
||||
14
source/blog/_includes/paginator.html
Normal file
14
source/blog/_includes/paginator.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="post-paginator">
|
||||
{% if paginator.total_pages > paginator.page %}
|
||||
<a href="/blog/page{{ paginator.next_page }}/" class="older">← older</a>
|
||||
{% endif %}
|
||||
{% if paginator.page > 1 %}
|
||||
{% if paginator.previous_page == 1 %}
|
||||
<a href="/blog/" class="newer">newer →</a>
|
||||
{% else %}
|
||||
<a href="/blog/page{{ paginator.previous_page }}" class="newer">newer →</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<a href="/blog/archive/">archive</a><br />
|
||||
<a href="http://feeds.feedburner.com/jimeh">rss</a>
|
||||
</div>
|
||||
21
source/blog/_includes/post-div.html
Normal file
21
source/blog/_includes/post-div.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="post-item">
|
||||
<div class="post-meta">
|
||||
<p class="date">{{ page.date | date: "<i>%d</i><b>%b</b>" }}</p>
|
||||
</div>
|
||||
|
||||
<h1 class="post-title">
|
||||
<a href="/blog{{ page.url }}">{{ page.title }}</a>
|
||||
<div class="post-title-sub">
|
||||
by Jim Myhrberg – tags:
|
||||
{% for tag in page.categories %} <a href="/blog/tag/{{tag}}" rel="tag"><i class="hash">#</i>{{tag}}</a>{% if forloop.last != true %},{% endif %}{% endfor %}
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
<div class="post-content">
|
||||
{{ page.content }}
|
||||
</div>
|
||||
|
||||
<p class="post-comment-link">
|
||||
<a href="/blog{{ page.url }}#disqus_thread">Comments</a>
|
||||
</p>
|
||||
</div>
|
||||
@@ -34,7 +34,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="recent-articles">
|
||||
<div class="section recent-articles">
|
||||
<h2>Recent Articles</h2>
|
||||
<dl class="labels">
|
||||
{% for post in site.posts limit:8 %}
|
||||
|
||||
@@ -19,20 +19,7 @@
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
||||
<div class="post-paginator">
|
||||
{% if paginator.total_pages > paginator.page %}
|
||||
<a href="/blog/page{{ paginator.next_page }}/" class="older">← older</a>
|
||||
{% endif %}
|
||||
{% if paginator.page > 1 %}
|
||||
{% if paginator.previous_page == 1 %}
|
||||
<a href="/blog/" class="newer">newer →</a>
|
||||
{% else %}
|
||||
<a href="/blog/page{{ paginator.previous_page }}" class="newer">newer →</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<a href="/blog/archive/">archive</a><br />
|
||||
<a href="http://feeds.feedburner.com/jimeh">rss</a>
|
||||
</div>
|
||||
{% include paginator.html %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -21,7 +21,10 @@
|
||||
|
||||
<h1 class="post-title">
|
||||
{{ page.title }}
|
||||
<span class="author">by Jim Myhrberg</span>
|
||||
<div class="post-title-sub">
|
||||
by Jim Myhrberg – tags:
|
||||
{% for tag in page.categories %} <a href="/blog/tag/{{tag}}" rel="tag"><i class="hash">#</i>{{tag}}</a>{% if forloop.last != true %},{% endif %}{% endfor %}
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
<div class="post-content">
|
||||
|
||||
26
source/blog/_layouts/tag-page.html
Normal file
26
source/blog/_layouts/tag-page.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% include _head.html %}
|
||||
|
||||
<div id="universe">
|
||||
|
||||
<div id="header">
|
||||
<div id="title">
|
||||
<a href="/blog/">blog</a> / {{ page.title }}
|
||||
</div>
|
||||
<div id="navigation">
|
||||
<a href="/">about</a>
|
||||
<a href="/blog/" class="selected">blog</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div class="post-world">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
||||
{% include paginator-empty.html %}
|
||||
|
||||
</div>
|
||||
|
||||
{% include _foot.html %}
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: New Site and Blog Powered by Dr. Jekyll
|
||||
categories: [technology, ruby, jekyll, git, rsync, disqus, font, design]
|
||||
---
|
||||
|
||||
I finally found some time to rebuild my site, and add a blog. I'm also working on a portfolio, which I will probably be putting up on [heartb.it][]. I haven't really decided how I'm gonna make the split between my personal site and work portfolio yet though.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: Automated Profile Picture Update Service?
|
||||
categories: [technology, web-service, idea]
|
||||
---
|
||||
|
||||
After I updated my [profile picture][avatar] today, a friend of mine [responded][tweet] with:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: New Avatar, Same Old Fugly Face
|
||||
categories: [personal]
|
||||
---
|
||||
|
||||
Today marks the day I update my online avatar/profile picture. I've had the same sepia colored half-face avatar for 4 or 5 years now. So it was about time for a change. However, the biggest reason I changed it, was cause I cut my hair short in November, after having long hair for about 10 years.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: About That “Pad” Thing
|
||||
categories: [technology, apple, ipad]
|
||||
---
|
||||
|
||||
So I was gonna write a post with my opinions about the iPad, but a cup of tea and staring at wall of wet paint is almost more tempting. If you don't get why the iPad is important, and why it will succeed, I'm not even gonna try convincing you otherwise, time will just prove you wrong and make you feel stupid.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: Was I Really “That” Social?
|
||||
categories: [personal, technology, social]
|
||||
---
|
||||
|
||||
As some of you might have noticed the last couple of days, I haven't been online much on IM networks. I'm not sure what originally kept me from launching Adium the other day, but along the way I've come to a realization.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: To Caffeinate, Or Not To Caffeinate?
|
||||
categories: [personal, productivity]
|
||||
---
|
||||
|
||||
I used to be a caffeine junkie. My caffeinated poison of choice was Coke, the <a href="http://files.jimeh.me/.blog/legal-coke-20100213-224302.png" class="fancybox" title="I look more like the ad...or, uhmm, used to.....">legal</a> kind, not the <a href="http://files.jimeh.me/.blog/illegal-coke-20100213-224557.png" class="fancybox">illegal</a> one.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: JavaScript Performance Wars
|
||||
categories: [technology, javascript, performance, web-browser]
|
||||
---
|
||||
|
||||
Is the difference between [Chrome][]'s [V8][] engine, and [WebKit][]'s [SquirrelFish Extreme][sfx] (SFX for short) significant enough that we need to care if we use Chrome or Safari/WebKit?
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: Built-in Sudo for Ruby Command-Line Tools
|
||||
categories: [technology, ruby, git, gist]
|
||||
---
|
||||
|
||||
I was looking through [my gists][gists] today on GitHub, and decided I'd do a couple of posts on some of the pieces of code I've put up there. The first of which is the `sudome` Ruby method.
|
||||
|
||||
@@ -3,23 +3,6 @@ layout: post-list
|
||||
title: jimeh / blog
|
||||
---
|
||||
|
||||
{% for post in paginator.posts %}
|
||||
<div class="post-item">
|
||||
<div class="post-meta">
|
||||
<p class="date">{{ post.date | date: "<i>%d</i><b>%b</b>" }}</p>
|
||||
</div>
|
||||
|
||||
<h1 class="post-title">
|
||||
<a href="/blog{{ post.url }}">{{ post.title }}</a>
|
||||
<span class="author">by Jim Myhrberg</span>
|
||||
</h1>
|
||||
|
||||
<div class="post-content">
|
||||
{{ post.content }}
|
||||
</div>
|
||||
|
||||
<p class="post-comment-link">
|
||||
<a href="/blog{{ post.url }}#disqus_thread">Comments</a>
|
||||
</p>
|
||||
</div>
|
||||
{% for page in paginator.posts %}
|
||||
{% include post-div.html %}
|
||||
{% endfor %}
|
||||
@@ -458,6 +458,8 @@ blockquote {
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group .sidebar */
|
||||
|
||||
.sidebar {
|
||||
float: right;
|
||||
width: 270px;
|
||||
@@ -466,6 +468,23 @@ blockquote {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* @group .section */
|
||||
|
||||
.sidebar .section {
|
||||
|
||||
}
|
||||
.sidebar .section h2 {
|
||||
font-size: 17px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 25px;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group .post-* */
|
||||
|
||||
.post-world {
|
||||
@@ -489,12 +508,27 @@ blockquote {
|
||||
.post-title a:hover {
|
||||
border-bottom: 1px dotted #ccc !important;
|
||||
}
|
||||
.post-title .author {
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group .post-title-sub */
|
||||
|
||||
.post-title-sub {
|
||||
color: #bbb;
|
||||
font-size: 13px;
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0px;
|
||||
}
|
||||
.post-title-sub a {
|
||||
color: #bbb;
|
||||
font-size: 13px;
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 0px;
|
||||
}
|
||||
.post-title-sub a:hover {
|
||||
border-color: #bbb !important;
|
||||
}
|
||||
.post-title-sub .hash {
|
||||
color: #eee;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
@@ -690,11 +724,6 @@ blockquote {
|
||||
.recent-articles {
|
||||
font-size: 13px;
|
||||
}
|
||||
.recent-articles h2 {
|
||||
font-size: 17px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 25px;
|
||||
}
|
||||
.recent-articles ul {
|
||||
color: #ddd;
|
||||
list-style: none;
|
||||
|
||||
Reference in New Issue
Block a user