Commit graph

11 commits

Author SHA1 Message Date
Oliver Davies 4008f511f8 Move the config sync directory 2020-10-30 00:56:36 +00:00
Oliver Davies 19c5529094 Add Send to social media checkbox to posts
Also add it to the `opdavies_blog_test` module config so that the
existing tests continue to work and pass.

References #249
2020-10-07 23:17:07 +01:00
Oliver Davies a55da019c7 Add field_notes to blog posts 2020-09-14 08:02:01 +01:00
Oliver Davies 5f00b1cf04 Add field for post amendments 2020-08-21 11:57:06 +01:00
Oliver Davies 0f07d3d231 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
2020-08-14 16:43:04 +01:00
Oliver Davies 8385d6fef7 Don't send posts to social media multiple times
Check if a post has previously been sent to social media, by checking
the value of a `field_sent_to_social_media` field.

This field is hidden on the node add/edit forms, and populated when a
post is sent to social media. Once this happens, it will not be sent to
social media again.

This change also populates the field for all existing posts, so that
they won't be re-sent to social media either.
2020-08-12 22:33:16 +01:00
Oliver Davies 79eb9bef0b Include widgets.js on blog posts that need it
Fixes #78
2020-05-29 21:07:59 +01:00
Oliver Davies 572c6898c5 Add images field to blog posts
Fixes #22
2020-05-13 11:27:40 +01:00
Oliver Davies a130168765 Add series field to blog posts 2020-05-10 19:59:46 +01:00
Oliver Davies 18d8b0c054 Update post teaser 2020-05-08 13:43:02 +01:00
Oliver Davies 1c75b76269 Export config 2020-04-12 18:18:10 +01:00