1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-09-24 01:58:50 +02:00

Merge pull request #21 from kremalicious/archives

Archives
This commit is contained in:
Matthias Kretschmann 2015-06-07 23:22:04 +02:00
commit 932def802f
25 changed files with 171 additions and 189 deletions

View File

@ -7,6 +7,7 @@ group :development do
gem 'jekyll-sitemap' gem 'jekyll-sitemap'
gem 'jekyll-redirect-from' gem 'jekyll-redirect-from'
gem 'jekyll-picture-tag' gem 'jekyll-picture-tag'
gem 'jekyll-archives'
gem 'rouge' gem 'rouge'
gem 'mini_magick' gem 'mini_magick'
gem 'fileutils' gem 'fileutils'
@ -17,4 +18,3 @@ group :development do
gem 'gsl', :git => "https://github.com/tonyarnold/rb-gsl" gem 'gsl', :git => "https://github.com/tonyarnold/rb-gsl"
end end

View File

@ -55,6 +55,21 @@ gems:
- jekyll-sitemap - jekyll-sitemap
- jekyll-redirect-from - jekyll-redirect-from
- jekyll-picture-tag - jekyll-picture-tag
- jekyll-archives
# jekyll-archives
# --------------------
jekyll-archives:
enabled:
- categories
- tags
layout: 'archive'
permalinks:
tag: '/tag/:name/'
category: '/:name/'
# jekyll-picture-tag # jekyll-picture-tag
# -------------------- # --------------------

View File

@ -81,7 +81,7 @@
.byline, .byline,
time, time,
.categories .tags
@extend .textcenter @extend .textcenter
.byline, .byline,
@ -99,9 +99,19 @@ time
display: block display: block
color: $text-color-dimmed color: $text-color-dimmed
.categories .tags
margin-top: $line-height-computed margin-top: $line-height-computed
.tag
color: $text-color-dimmed
margin-right: 5px
&:before
content: '#'
color: darken($page-bg, 15%)
margin-right: 2px
.avatar .avatar
width: 80px width: 80px
height: 80px height: 80px

View File

@ -15,4 +15,10 @@
<time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time> <time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | date_to_string }}</time>
{% endif %} {% endif %}
<p class="tags">
{% for tag in page.tags %}
<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</p>
</footer> </footer>

View File

@ -0,0 +1,29 @@
---
layout: base
---
<section role="main" id="main" class="row">
{% if page.type == 'category' %}
<h1 class="page-title icon icon-{{ page.title }}">{{ page.title }}</h1>
{% else %}
<h1 class="page-title">{{ page.type }} archive for {{ page.title }}</h1>
{% endif %}
{% if page.title == 'photos' %}
<div class="masonry">
<div class="grid-sizer"></div>
{% endif %}
{% for post in page.posts %}
{% include articles.html %}
{% endfor %}
{% if page.title == 'photos' %}
</div>
{% endif %}
</section>
{% include paginator.html %}

View File

@ -3,7 +3,7 @@
{% capture id %}{{ page.url | replace:'/','-' | replace_first:'-','' | replace:'.html','' | replace:'-index','' }}{% endcapture %} {% capture id %}{{ page.url | replace:'/','-' | replace_first:'-','' | replace:'.html','' | replace:'-index','' }}{% endcapture %}
<body class="page-{{ id }}"> <body class="page-{{ id | remove:'-' }}">
{% include header.html %} {% include header.html %}

View File

@ -8,6 +8,8 @@ date: 2008-03-30 19:24:21+00:00
wordpress_id: 14 wordpress_id: 14
categories: categories:
- personal - personal
tags:
- wordpress
--- ---
A fresh start of my website under the new domain www.kremalicious.com and with [Wordpress](http://www.wordpress.org) under the hood. My former website under [www.jpberlin.de/krema](http://www.jpberlin.de/krema) will no longer be updated and will be deleted soon. I just implemented a few posts from the old weblog. A fresh start of my website under the new domain www.kremalicious.com and with [Wordpress](http://www.wordpress.org) under the hood. My former website under [www.jpberlin.de/krema](http://www.jpberlin.de/krema) will no longer be updated and will be deleted soon. I just implemented a few posts from the old weblog.

View File

@ -8,6 +8,8 @@ date: 2008-07-01 16:39:02+00:00
wordpress_id: 80 wordpress_id: 80
categories: categories:
- personal - personal
tags:
- wordpress
--- ---
![Server screwed](/media/xserve_screwed.png)As you may have noticed, kremalicious.com was a bit screwed in the last week and some of you have asked me via mail and twitter what exactly was wrong. So to satisfy the curious geek in you I will provide some informations about it. ![Server screwed](/media/xserve_screwed.png)As you may have noticed, kremalicious.com was a bit screwed in the last week and some of you have asked me via mail and twitter what exactly was wrong. So to satisfy the curious geek in you I will provide some informations about it.

View File

@ -8,6 +8,8 @@ date: 2008-07-11 00:20:22+00:00
wordpress_id: 85 wordpress_id: 85
categories: categories:
- personal - personal
tags:
- wordpress
--- ---
![](/media/kremaliciousiphone_thumb.png)I'm thrilled to announce that kremalicious.com now uses an iPhone optimized theme. When you browse this website with your iPhone everything will automagically switch to the new kremalicious iPhone theme which is simply called kremalicious{iPhone}. See those hip brackets? ![](/media/kremaliciousiphone_thumb.png)I'm thrilled to announce that kremalicious.com now uses an iPhone optimized theme. When you browse this website with your iPhone everything will automagically switch to the new kremalicious iPhone theme which is simply called kremalicious{iPhone}. See those hip brackets?

View File

@ -6,10 +6,12 @@ author: Matthias Kretschmann
date: 2008-07-15 14:04:46+00:00 date: 2008-07-15 14:04:46+00:00
wordpress_id: 87 wordpress_id: 87
categories: categories:
- design - design
tags: tags:
- tutorial - tutorial
- wordpress
--- ---
![Wordpress Logo by kremalicious](/media/wordpress-logo.png)Since Wordpress 2.5 it was nearly impossible for me to log into Wordpress and quickly head over to the write tab. The Dashboard always wants to load a bunch of things in it but this always seemed to fail in my setup and slow things down. And not enough the Dashboard just locks everything up while loading which can take more than one minute. ![Wordpress Logo by kremalicious](/media/wordpress-logo.png)Since Wordpress 2.5 it was nearly impossible for me to log into Wordpress and quickly head over to the write tab. The Dashboard always wants to load a bunch of things in it but this always seemed to fail in my setup and slow things down. And not enough the Dashboard just locks everything up while loading which can take more than one minute.
@ -76,5 +78,3 @@ Now just uncomment the lines so it looks like this (every line with two leading
And that's it. Save the file on your server, log in to your Wordpress backend and you should see your Dashboard with everything intact. It just won't search for incoming links and all those other RSS sources anymore. And that's it. Save the file on your server, log in to your Wordpress backend and you should see your Dashboard with everything intact. It just won't search for incoming links and all those other RSS sources anymore.
Remember that every update of Wordpress will overwrite this file. Remember that every update of Wordpress will overwrite this file.

View File

@ -6,10 +6,12 @@ author: Matthias Kretschmann
date: 2008-12-11 22:59:06+00:00 date: 2008-12-11 22:59:06+00:00
wordpress_id: 344 wordpress_id: 344
categories: categories:
- design - design
tags: tags:
- tutorial - tutorial
- wordpress
--- ---
![Wordpress Logo by kremalicious](/media/wordpress-logo.png) ![Wordpress Logo by kremalicious](/media/wordpress-logo.png)

View File

@ -6,10 +6,12 @@ author: Matthias Kretschmann
date: 2008-12-13 16:47:43+00:00 date: 2008-12-13 16:47:43+00:00
wordpress_id: 360 wordpress_id: 360
categories: categories:
- design - design
tags: tags:
- tutorial - tutorial
- wordpress
--- ---
![Wordpress Logo by kremalicious](/media/wordpress-logo.png) ![Wordpress Logo by kremalicious](/media/wordpress-logo.png)

View File

@ -7,10 +7,12 @@ author: Matthias Kretschmann
date: 2009-03-29 23:12:15+00:00 date: 2009-03-29 23:12:15+00:00
wordpress_id: 576 wordpress_id: 576
categories: categories:
- design - design
tags: tags:
- tutorial - tutorial
- wordpress
--- ---
![Coda Clips Teaser](/media/codaclips-teaser.png) ![Coda Clips Teaser](/media/codaclips-teaser.png)

View File

@ -6,10 +6,12 @@ author: Matthias Kretschmann
date: 2009-12-17 04:00:21+00:00 date: 2009-12-17 04:00:21+00:00
wordpress_id: 959 wordpress_id: 959
categories: categories:
- design - design
tags: tags:
- tutorial - tutorial
- wordpress
--- ---
![Wordpress Logo by kremalicious](/media/wordpress-logo.png)WordPress 2.9 added a new feature which allows you to assign an image to an article to make it the post image like it's often used in magazine style themes. This new feature along with a new template tag makes all the custom field hacks usually used for this functionality in the past obsolete. So here's a quick walkthrough to make use of the new post thumbnail feature and of course how to make it backwards compatible. ![Wordpress Logo by kremalicious](/media/wordpress-logo.png)WordPress 2.9 added a new feature which allows you to assign an image to an article to make it the post image like it's often used in magazine style themes. This new feature along with a new template tag makes all the custom field hacks usually used for this functionality in the past obsolete. So here's a quick walkthrough to make use of the new post thumbnail feature and of course how to make it backwards compatible.
@ -182,5 +184,3 @@ As always: before making your next coffee you should share this article on your
12/20/2009 function check for add_theme_support at the beginning 12/20/2009 function check for add_theme_support at the beginning
12/20/2009 corrected the size array code under Custom Output 12/20/2009 corrected the size array code under Custom Output
12/17/2009 Added some code examples to respect the media settings 12/17/2009 Added some code examples to respect the media settings

View File

@ -9,8 +9,11 @@ featured: true
date: 2011-12-15 07:56:46+00:00 date: 2011-12-15 07:56:46+00:00
wordpress_id: 1468 wordpress_id: 1468
categories: categories:
- goodies - goodies
tags:
- wordpress
--- ---
Made a quick WordPress plugin which transforms the standard WordPress update & comment notification badges into iOS-styled ones. Made a quick WordPress plugin which transforms the standard WordPress update & comment notification badges into iOS-styled ones.
@ -96,4 +99,3 @@ If you find any problems you can [open an issue on GitHub](https://github.com/kr
**v0.1** **v0.1**
* initial alpha release * initial alpha release

View File

@ -6,8 +6,11 @@ layout: post
slug: android-tab-conundrum slug: android-tab-conundrum
title: The Android Tab Bar Conundrum. Again. title: The Android Tab Bar Conundrum. Again.
wordpress_id: 1556 wordpress_id: 1556
categories: categories:
- design - design
tags:
- android
--- ---
![](/media/tabs_overview.png) ![](/media/tabs_overview.png)

View File

@ -7,8 +7,11 @@ author: Matthias Kretschmann
date: 2012-05-14 19:33:22+00:00 date: 2012-05-14 19:33:22+00:00
wordpress_id: 1920 wordpress_id: 1920
categories: categories:
- personal - personal
tags:
- wordpress
--- ---
It finally happened. After so many rejected revisions, so many pauses, so much coffee: kremalicious2 is here. It finally happened. After so many rejected revisions, so many pauses, so much coffee: kremalicious2 is here.

View File

@ -7,6 +7,7 @@ author: Matthias Kretschmann
date: 2012-05-15 16:00:44+00:00 date: 2012-05-15 16:00:44+00:00
wordpress_id: 2043 wordpress_id: 2043
categories: categories:
- design - design
- goodies - goodies

View File

@ -6,6 +6,7 @@ author: Matthias Kretschmann
date: 2012-06-13 19:01:20+00:00 date: 2012-06-13 19:01:20+00:00
wordpress_id: 2195 wordpress_id: 2195
categories: categories:
- design - design
tags: tags:

View File

@ -1,21 +0,0 @@
---
layout: base
title: Design
description: All the design related articles, mostly about web/ui design &amp; front-end development
category: design
redirect_from:
- /topics/design-articles/
- /design-articles/
---
<section role="main" id="main" class="row">
<h1 class="page-title icon icon-{{ page.category }}">{{ page.category }}</h1>
{% for post in site.categories.design %}
{% include articles.html %}
{% endfor %}
</section>
{% include paginator.html %}

View File

@ -1,23 +0,0 @@
---
layout: base
title: Goodies
description: All the goodies I've released for you to download. Those are all free for your personal use only, licensed under CC BY NC SA 3.0. Please contact me if you want to use them commercially.
category: goodies
redirect_from:
- /goodies/icon/
- /goodies/other/
- /goodies/wallpaper/
- /topics/goodies/
---
<section role="main" id="main" class="row">
<h1 class="page-title icon icon-{{ page.category }}">{{ page.category }}</h1>
{% for post in site.categories.goodies %}
{% include articles.html %}
{% endfor %}
</section>
{% include paginator.html %}

View File

@ -1,17 +0,0 @@
---
layout: base
title: Personal
category: personal
---
<section role="main" id="main" class="row">
<h1 class="page-title icon icon-{{ page.category }}">{{ page.category }}</h1>
{% for post in site.categories.personal %}
{% include articles.html %}
{% endfor %}
</section>
{% include paginator.html %}

View File

@ -1,17 +0,0 @@
---
layout: base
title: Photography
category: photography
---
<section role="main" id="main" class="row">
<h1 class="page-title icon icon-{{ page.category }}">{{ page.category }}</h1>
{% for post in site.categories.photography %}
{% include articles.html %}
{% endfor %}
</section>
{% include paginator.html %}

View File

@ -1,23 +0,0 @@
---
layout: base
title: Photos
description: My photo posts aggregated from various sources. You can find more of my photography on 500px and Flickr.
category: photos
---
<section role="main" id="main" class="row">
<h1 class="page-title icon icon-photos">photos</h1>
<div class="masonry">
<div class="grid-sizer"></div>
{% for post in site.categories.photos %}
{% include articles.html %}
{% endfor %}
</div>
</section>
{% include paginator.html %}

View File

@ -5,5 +5,6 @@ User-agent: *
Disallow: /search/ Disallow: /search/
Disallow: /page/ Disallow: /page/
Disallow: /*/page/ Disallow: /*/page/
Disallow: /tag/
Sitemap: {{ site.url }}/sitemap.xml Sitemap: {{ site.url }}/sitemap.xml