diff --git a/.vscode/settings.json b/.vscode/settings.json
index 5fed93a2..19c8c361 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -9,5 +9,9 @@
"editor.tabSize": 2,
"files.associations": {
"*.html": "liquid"
+ },
+ "[liquid]": {
+ "editor.defaultFormatter": "sissel.shopify-liquid",
+ "editor.formatOnSave": true
}
}
diff --git a/src/_includes/article.html b/src/_includes/article.html
index b3439204..bcff5050 100644
--- a/src/_includes/article.html
+++ b/src/_includes/article.html
@@ -8,7 +8,8 @@
{% assign url = item.url %}
{% endif %}
{% else %}
- {% assign url = item.url %}
+ {% assign url = item.url
+ %}
{% if item.external %}
{% assign url = item.external %}
{% endif %}
@@ -19,12 +20,16 @@
href="{{ url }}"
{% if item.external %}
target="_blank"
- {% endif %}>{{ item.title }}
+ {% endif %}>
+ {{- item.title -}}
+
-
+
{% if item.outlet %}
{{ item.outlet }} |{% endif %}
{% if item.tags.size > 0 %}
{{ item.tags | join: ", " }} |{% endif %}
- {% include date.html date=item.date format = "%b %Y" %}
+ {%
+ include date.html date=item.date format = "%b %Y" -%}
+