From 287236d59bcdef0c8beb0bcf148a84ab5443319e Mon Sep 17 00:00:00 2001 From: probonopd Date: Wed, 2 Jan 2019 09:16:01 +0000 Subject: [PATCH] Revert non-working stuff [ci skip] --- _categories/Audio.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/_categories/Audio.md b/_categories/Audio.md index aef4254f..53abee40 100644 --- a/_categories/Audio.md +++ b/_categories/Audio.md @@ -1,13 +1,7 @@ --- layout: category xdg: Audio -# title: Audio # Doing this dynamically below -# subtitle: Audio applications # Doing this dynamically below -# image: https://cdn.stocksnap.io/img-thumbs/960w/4C9TCUEARS.jpg # Doing this dynamically below +title: Audio # Doing this dynamically below +subtitle: Audio applications # Doing this dynamically below +image: https://cdn.stocksnap.io/img-thumbs/960w/4C9TCUEARS.jpg # Doing this dynamically below --- - -{% assign xdg = page.name %} -# https://stackoverflow.com/questions/34162726/getting-a-specific-item-from-a-collection-in-jekyll -{% assign title = site.data.categories.en | where:"xdg", xdg | first %} -{% assign subtitle = site.data.categories.subtitle | where:"xdg", xdg | first %} -{% assign image = "https://cdn.stocksnap.io/img-thumbs/960w/" | append: site.data.categories.stocksnap | where:"xdg", xdg | first | append: ".jpg" %}