1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 17:15:18 +01:00

fix goodies display

This commit is contained in:
Matthias Kretschmann 2015-09-26 23:04:13 +02:00
parent bdf9065e9b
commit 2ac464a307
3 changed files with 11 additions and 14 deletions

View File

@ -63,13 +63,13 @@
{% capture has_more %}{{ post.content | has_excerpt }}{% endcapture %} {% capture has_more %}{{ post.content | has_excerpt }}{% endcapture %}
{% if has_more == 'true' %} {% unless post.categories contains "goodies" and page.path contains "goodies" %}
{{ post.content | post.excerpt | excerpt | markdownify }} {% if has_more == 'true' %}
{% else %} {{ post.content | post.excerpt | excerpt | markdownify }}
{% unless post.categories contains "goodies" and page.path contains "goodies" %} {% else %}
{{ post.excerpt | markdownify }} {{ post.excerpt | markdownify }}
{% endunless %} {% endif %}
{% endif %} {% endunless %}
{% if post.categories contains "goodies" and page.path contains "goodies" %} {% if post.categories contains "goodies" and page.path contains "goodies" %}
<footer class="goodie-actions grid grid--gutters grid--full grid-small--fit"> <footer class="goodie-actions grid grid--gutters grid--full grid-small--fit">

View File

@ -8,10 +8,9 @@ author: Matthias Kretschmann
featured: true featured: true
date: 2012-07-16 14:36:58+00:00 date: 2012-07-16 14:36:58+00:00
wordpress_id: 2300
categories: categories:
- design - design
- goodies - goodies
--- ---
There's this HTML element meant for marking up keyboard keys named `<kbd>`. Obviously it can be styled with CSS so why not use it to make those elements look a bit more like hardware or the iOS and Android software keys. There's this HTML element meant for marking up keyboard keys named `<kbd>`. Obviously it can be styled with CSS so why not use it to make those elements look a bit more like hardware or the iOS and Android software keys.

View File

@ -8,12 +8,10 @@ author: Matthias Kretschmann
featured: true featured: true
date: 2012-08-07 13:15:44+00:00 date: 2012-08-07 13:15:44+00:00
wordpress_id: 2350 category: goodies
categories:
- goodies
tags: tags:
- iphone - iphone
- wallpaper - wallpaper
--- ---
It [has been revealed](http://www.theverge.com/2012/8/3/3218846/schiller-forstall-fight-club-day-three-apple-samsung-trial/in/2971889) the original iPhone was developed in a locked down building under the name "Project Purple". Because of the secrecy involved, the team decorated the building with [Fight Club](http://www.imdb.com/title/tt0137523/) references: It [has been revealed](http://www.theverge.com/2012/8/3/3218846/schiller-forstall-fight-club-day-three-apple-samsung-trial/in/2971889) the original iPhone was developed in a locked down building under the name "Project Purple". Because of the secrecy involved, the team decorated the building with [Fight Club](http://www.imdb.com/title/tt0137523/) references: