Automatically add redirects for external URLs

This commit is contained in:
Oliver Davies 2019-06-06 19:49:28 +01:00
parent d14288636c
commit 192cfd534e

View file

@ -1,4 +1,5 @@
---
use: [posts]
---
/about /
/articles/2010/04/05/style-drupal-6s-taxonomy-lists-php-css-and-jquery /articles/style-drupal-6s-taxonomy-lists-php-css-and-jquery
@ -154,3 +155,7 @@
/twitter {{ site.twitter.url }}
/work /experience
/youtube {{ site.youtube.channel.url }}
{% for post in data.posts if post.external_url %}
/{{ post.url }} {{ post.external_url }}
{% endfor %}