diff --git a/.gitignore b/.gitignore
index 1a6d6968..fc5de794 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ _site/
.sass-cache/
.jekyll-metadata/
.jekyll-cache/
+.DS_Store
diff --git a/_config.yml b/_config.yml
index 03b932e1..559461d4 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://rehanbutt.com" # the base hostname & protocol for your site
-version: 7.16.0
+version: 7.17.0
version-naming: [Apricot, Blackcurrent, Coconut, Dragonfruit, Elderberry, Fig, Guava]
# Build settings
diff --git a/_includes/resource-element.html b/_includes/resource-element.html
index dd6c2379..a750bd28 100644
--- a/_includes/resource-element.html
+++ b/_includes/resource-element.html
@@ -1,4 +1,4 @@
-
+
{%- case include.item.content-type -%}
diff --git a/index.html b/index.html
index 676151d4..2bf55251 100644
--- a/index.html
+++ b/index.html
@@ -77,14 +77,9 @@
Resources
A bunch references you may find useful. Here are a few of my most recent finds.
{% assign resources_sorted = site.resources | sort: 'date' | reverse %}
+
{%- for resource in resources_sorted limit:3 -%}
-
-
-
-
{{resource.title}}
-
{{resource.description}}
-
-
+ {%- include resource-element.html item=resource -%}
{%- endfor -%}
More resources
diff --git a/resources.html b/resources.html
index 6ceb3612..86ca4d62 100644
--- a/resources.html
+++ b/resources.html
@@ -28,8 +28,9 @@
Categories
Recently Added
{% assign resources_sorted = site.resources | sort: 'date' | reverse %}
+
{%- for resource in resources_sorted limit:3 -%}
- {%- include resource-element.html item=resource -%}
+ {% include resource-element.html item=resource css-class="medium-6 large-4" %}
{%- endfor -%}
@@ -63,7 +64,7 @@ #{{tag}}
{% for resource in site.resources %}
{% if resource.tags contains tag %}
- {%- include resource-element.html item=resource -%}
+ {% include resource-element.html item=resource css-class="medium-6 large-4" %}
{% endif %}
{% endfor %}