Add ability to add links to external posts

Add the ability to add links to external blog posts within my blog feed.
This is done based on a new `field_external_link` field that allows for
adding the external link URL and the domain name as the title.

The node links are then overridden to use the external link if there is
one, so the node title and 'read more' links are changed to use the
external link.

Currently, automated tweets are not generated for external posts.

Fixes #182
This commit is contained in:
Oliver Davies 2020-08-14 14:01:23 +01:00
parent 8385d6fef7
commit 0f07d3d231
9 changed files with 109 additions and 2 deletions

View file

@ -129,4 +129,5 @@ content:
settings: { }
third_party_settings: { }
hidden:
field_external_link: true
field_sent_to_social_media: true