Commit graph

149 commits

Author SHA1 Message Date
556f00b5ed Add hreflang module 2020-12-19 13:49:56 +00:00
7a2c696e6f Increase page cache time 2020-12-19 13:37:17 +00:00
bd27ff76d6 Commit metatag changes 2020-12-19 13:36:53 +00:00
cbbda95fbd Add views to the sitemap 2020-12-19 13:36:24 +00:00
889f7fa8bb Remove subscribe link from blog page 2020-12-16 20:21:21 +00:00
290ab7098d Override view list, change heading to h2 2020-12-16 20:21:21 +00:00
f0039080e4 Display list of posts, grouped by year 2020-12-16 20:21:21 +00:00
1cf6fec3a5 Hide post notes and amendments for now 2020-12-16 00:38:09 +00:00
149290ef98 Config changes 2020-12-16 00:29:28 +00:00
489159f841 Add prose class to featured posts 2020-12-16 00:29:00 +00:00
352637b390 Enable lazy loading for recommendation images 2020-12-03 02:28:04 +00:00
e89ddd6ddb Enable shortcut module 2020-11-11 20:02:12 +00:00
c462388c37 Update intro text for Talks page 2020-11-11 19:36:16 +00:00
caa897a837 Update title and intro text for Talks page 2020-11-11 19:32:52 +00:00
147a5ad1da Use dark mode for Gin admin theme 2020-11-02 01:04:30 +00:00
c57d864d10 Stop trying to send emails to an example address 2020-11-02 00:56:17 +00:00
d5d9bdf7bf Re-add .htaccess to config directory 2020-10-30 01:17:32 +00:00
4008f511f8 Move the config sync directory 2020-10-30 00:56:36 +00:00
b5d1dc7551 Move config splits 2020-10-30 00:56:36 +00:00
de1232d56f Add a new 'Is online' field to event paragraphs
References 
2020-10-24 20:26:36 +01:00
d1c7cc01a7 Make event location optional
References 
2020-10-24 20:04:28 +01:00
e7e610f22c Add header text to blog and talks pages
Uses the `[opdavies_talks:talk_count]` token for the talks page to
display the number of given talks.

Fixes 
2020-10-24 11:23:34 +01:00
f847f28f09 Export gin theme settings 2020-10-14 12:47:52 +01:00
54fee965db Export gin config 2020-10-08 21:01:18 +01:00
b1537dc0a8 Remove Fathom Analytics settings from config 2020-10-07 23:41:50 +01:00
e924c94dae Remove Fathom from live config split 2020-10-07 23:34:37 +01:00
ef22a891cb Add "Find me on" block 2020-10-07 23:33:03 +01:00
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 
2020-10-07 23:17:07 +01:00
fc691424bf Remove Fathom Analytics 2020-09-28 12:39:04 +01:00
6c9e5746ca Add module for Plausible Analytics 2020-09-26 19:32:49 +01:00
a55da019c7 Add field_notes to blog posts 2020-09-14 08:02:01 +01:00
fec4d90943 Add HTML slides link
Fixes 
2020-09-09 21:38:10 +01:00
c023caf44c Hide the feedback URL on events 2020-09-09 21:18:51 +01:00
2d62c8ee54 Add feedback URL to event paragraphs 2020-09-09 21:17:52 +01:00
0f01551f26 Update Hook Event Dispatcher module
- Update the Hook Event Dispatcher module from `8.x-1.29` to `8.x-2.02`.
- Update custom modules after breaking changes from upgrading.

References 
2020-09-06 12:15:59 +01:00
9b1a8fb3be Rename and re-organise custom modules
- Rename `opd_talks` to `opdavies_talks`
- Rename `custom` to `opdavies_blog`
2020-08-24 10:27:49 +01:00
6d9ecd8df0 Fix the ordering for future talks
Rather than the custom event sorting plugin being based on the `created`
value, this change adds a new `field_event_date` field to the talk node
type and uses this for the sorting instead.

This commit also adds a new `TalkDateUpdater` service that extracts
either the next event date if there is a future date, or the last past
event date if there is no future date, from `field_events` for each talk
and saves it into the event date field.

For consistency, and to ensure that the results are ordered correctly,
the talk date updater converts the date from a date string (e.g.
`2020-08-24`) into a UNIX timestamp, and the timestamp is saved in the
event date field. This can be changed at a later date if needed.

The talks view has been updated to use the updated sort plugin, and the
existing tests have been updated to use the new field.

References 
2020-08-24 02:32:45 +01:00
6dbb135d96 Add pathauto pattern for blog post series terms
Fixes 
2020-08-21 12:41:10 +01:00
5f00b1cf04 Add field for post amendments 2020-08-21 11:57:06 +01:00
1f742cc1f6 Re-order post fields 2020-08-21 11:41:47 +01:00
8e0f296701 Re-order talk fields 2020-08-21 11:39:56 +01:00
ca43a935a9 Delete workshop content type 2020-08-21 11:37:53 +01:00
239b2c071c Add talk type field 2020-08-21 11:34:55 +01:00
7d71915518 Export other config changes 2020-08-21 00:52:54 +01:00
9db21f51f0 Remove Drupal Association member badge
Remove the Drupal Association member badge block, as the badge has been
included in the block below it.
2020-08-21 00:51:32 +01:00
79f7a43194 Export metatag settings 2020-08-21 00:50:11 +01:00
c01296fe57 Hide the 'sent to social media' field
Prevent the 'sent to social media' field and value from being displayed
when a blog post is viewed.
2020-08-21 00:49:07 +01:00
1d57a53992 Hide site name, show logo 2020-08-21 00:48:48 +01:00
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 
2020-08-14 16:43:04 +01:00
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