Revert non-working stuff

[ci skip]
This commit is contained in:
probonopd authored and GitHub committed 2019-01-02 09:16:01 +00:00
1 parent 0baec423a8
commit 287236d59b
1 file changed
+3 -9
+3 -9
View File
@@ -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" %}