Commit graph

507 commits

Author SHA1 Message Date
Oliver Davies dad542a0ab Fix content overflowing on mobile 2021-01-04 18:15:11 +00:00
Oliver Davies 4bd0376dd1 Update tweet webhook URL and variable name 2021-01-04 01:20:48 +00:00
Oliver Davies cb8afcd852 Update tweet text
References #332
2021-01-01 23:16:56 +00:00
Oliver Davies 87ee87f915 Fix blog tag re-ordering test
Add a NullPostPusher implementation and use it within the tag
re-ordering tests to stop an Exception being thrown because there's no
webhook URL.

References #332
2021-01-01 23:08:23 +00:00
Oliver Davies d7459ff30f Extract a PostPusher service to push the post
Extract a `PostPusher` service with an IFTTT implementation. That means
if this needs to change to use a different service in the future, the
IFTTT implementation can remain unchanged and a new implementation can
be added with its own form params etc.

This also makes this functionality easier to test as we can add a
`NullPostPusher` implementation for testing.

References #332
2021-01-01 22:45:23 +00:00
Oliver Davies f6ff21e04e Update form params to work with IFTTT
References #332
2021-01-01 22:34:59 +00:00
Oliver Davies a6f378294c Extract a helper method to group checks [ci skip] 2021-01-01 21:50:35 +00:00
Oliver Davies e2d7f08893 Rename variable to make it more generic 2021-01-01 21:46:12 +00:00
Oliver Davies 26b9e3a84d Change bin directory to bin 2020-12-24 11:06:56 +00:00
Oliver Davies 9aaf62fce3 Re-order imports 2020-12-20 01:45:58 +00:00
Oliver Davies 08657c9b14 Safelist branding block, fix logo size 2020-12-20 01:45:50 +00:00
Oliver Davies aabfd555d6 Cache based on lock files 2020-12-19 14:52:48 +00:00
Oliver Davies 84f9948132 Add bing verification tag 2020-12-19 13:57:32 +00:00
Oliver Davies 556f00b5ed Add hreflang module 2020-12-19 13:49:56 +00:00
Oliver Davies 7a2c696e6f Increase page cache time 2020-12-19 13:37:17 +00:00
Oliver Davies bd27ff76d6 Commit metatag changes 2020-12-19 13:36:53 +00:00
Oliver Davies cbbda95fbd Add views to the sitemap 2020-12-19 13:36:24 +00:00
Oliver Davies a142f073f2 Re-add colour overrides
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:31 +00:00
Oliver Davies 3f1f858c37 Import default colours from 1.x
https://tailwindcss.com/docs/upgrading-to-v2#configure-your-color-palette-explicitly
2020-12-18 01:08:21 +00:00
Oliver Davies 3a7465572f Rename focus visible plugin 2020-12-18 01:08:18 +00:00
Oliver Davies 6c6585abf8 Change whitelist to safelist
https://tailwindcss.com/docs/upgrading-to-v2#update-purge-options-to-match-purge-css-3-0
2020-12-18 01:08:05 +00:00
Oliver Davies dc70dd5e87 Move the typography plugin config into extend
https://tailwindcss.com/docs/upgrading-to-v2#update-typography-and-forms-plugins
https://github.com/tailwindlabs/tailwindcss-typography/releases/tag/v0.3.0
2020-12-18 01:07:55 +00:00
Oliver Davies 3b0b7d37e3 Remove experimental and future options from config
https://tailwindcss.com/docs/upgrading-to-v2#remove-future-and-experimental-configuration-options
2020-12-18 01:07:49 +00:00
Oliver Davies cbdb79a429 Update npm dependencies
https://tailwindcss.com/docs/upgrading-to-v2#install-tailwind-css-v2-0-and-post-css-8
2020-12-18 01:07:46 +00:00
Oliver Davies aab1114006 Reorder test class and method 2020-12-17 23:42:20 +00:00
Oliver Davies 509d526661 Update the Collection namespace 2020-12-17 23:42:20 +00:00
Oliver Davies 864c2429a5 Ensure that method names are in a consistent format 2020-12-17 23:42:20 +00:00
Oliver Davies 280a381c68 All test method should have a void return type 2020-12-17 23:42:20 +00:00
Oliver Davies 8591a0f846 Remove strict types in tests, ensure classes are final 2020-12-17 23:42:20 +00:00
Oliver Davies a73adeca41 Fix incorrect namespace 2020-12-17 23:42:20 +00:00
Oliver Davies 0b1003a17d Ignore PHPCS rules per test file 2020-12-17 23:42:20 +00:00
Oliver Davies 0ec295d01e Refactor to exclude rules rather than change severity 2020-12-17 23:42:20 +00:00
Oliver Davies 4e427340df Increase padding in code blocks 2020-12-17 13:06:08 +00:00
Oliver Davies 2fb7b4cf44 Change syntax highlighting theme 2020-12-17 09:42:47 +00:00
Oliver Davies ebd9903bf6 Remove dark mode from theme 2020-12-17 09:42:41 +00:00
Oliver Davies 9fba0b7292 Wrap all custom components in layers 2020-12-17 01:53:58 +00:00
Oliver Davies 4cfc932f77 Import all libraries automatically 2020-12-17 01:33:15 +00:00
Oliver Davies a7dce26971 Split custom utilities into partials 2020-12-17 01:32:43 +00:00
Oliver Davies d7b39a18e9 Split custom base classes into partials 2020-12-17 01:32:43 +00:00
Oliver Davies f12da38a40 Use postcss-easy-import for easy importing 2020-12-17 01:32:43 +00:00
Oliver Davies 3df64325b8 Sort imports [ci skip] 2020-12-17 00:05:40 +00:00
Oliver Davies 265b6f17ca Improve syntax highlighting 2020-12-16 23:52:30 +00:00
Oliver Davies 832b2897f3 Improve code snippet styles in light and dark mode 2020-12-16 23:33:20 +00:00
Oliver Davies c8b737a537 Update .idea settings [ci skip] 2020-12-16 22:11:02 +00:00
Oliver Davies e83b5ec517 Only override the blog posts view lists
Prevent other views, such as the talks listing page, from being
overridden with the same changes as the blog post listing page.
2020-12-16 21:35:29 +00:00
Oliver Davies 52964e2eca Improve note styling in dark mode 2020-12-16 20:52:45 +00:00
Oliver Davies c3b5763adf Fix colour for 'Posted' text in dark mode 2020-12-16 20:28:37 +00:00
Oliver Davies 889f7fa8bb Remove subscribe link from blog page 2020-12-16 20:21:21 +00:00
Oliver Davies 290ab7098d Override view list, change heading to h2 2020-12-16 20:21:21 +00:00
Oliver Davies f0039080e4 Display list of posts, grouped by year 2020-12-16 20:21:21 +00:00