Oliver Davies
7db3628e4f
Fix link to the Ansistrano role
2020-07-02 23:18:37 +01:00
Oliver Davies
bb128c1a8f
Deploy automatically via GitHub Actions
...
Fixes #19 and #58
2020-07-02 22:53:35 +01:00
Oliver Davies
58036c7ab9
Fix collapsing page widths
...
Fix inconsistent page widths on some pages such as blog and talks, by
adding a width (i.e. a `w-full` class) as well as a maximum width.
2020-07-02 18:13:05 +01:00
Oliver Davies
1241ac3277
Use the release version for Drupal's deployment indentifier
2020-07-01 23:51:04 +01:00
Oliver Davies
c0137e6d8b
Update phpcs in Makefile
...
Update the `phpcs` rule in Makefile to remove the additional options and
use the phpcs configuration file instead.
2020-06-30 17:34:42 +01:00
Oliver Davies
6350054e45
Fix PHPCS errors
2020-06-30 17:34:42 +01:00
Oliver Davies
ae50869065
Add phpcs.xml.dist
...
Fixes #124
2020-06-30 17:34:31 +01:00
Oliver Davies
9e3064ca21
Add tests for counting previous talks
...
References #31
2020-06-30 12:50:21 +01:00
Oliver Davies
98ac66495f
Set line heights for heaings
2020-06-27 11:24:20 +01:00
Oliver Davies
70ab7f56a0
Add spacing between footer and main content
2020-06-27 01:10:50 +01:00
Oliver Davies
3c814fca05
Use CSS Grid for page columns
2020-06-27 01:01:01 +01:00
Oliver Davies
2b061539d5
Fix spacing issues in various places
2020-06-27 00:25:55 +01:00
Oliver Davies
d7aaeb0ca6
Add a test for if a post has a tweet
2020-06-26 20:20:12 +01:00
Oliver Davies
3050b53d7d
Test config installation in GitHub Actions
...
Use a SQLite database to test installing the site from the existing
configuration. If there is an error with the configuration (e.g. trying
to enable a module that isn't present) then the job will fail.
Fixes #60
2020-06-26 12:29:59 +01:00
Oliver Davies
f37e69f6f2
Refactor to use a Collection in the test
...
References #140
2020-06-26 02:14:23 +01:00
Oliver Davies
58d56220de
Show upcoming talks in chronological order
...
Update the ordering of the future talks on the talks page so that
upcoming talks are shown in chronological order (soonest first),
followed by past talks in reverse chronological order (most recent
first).
This still uses the `created` date for ordering, which is updated
automatically on saving the node to match the furthest future talk, but
I may want to move that into a custom node property at some point.
Fixes #140
2020-06-26 02:06:32 +01:00
dependabot-preview[bot]
b71f8cc7f8
Bump drupal/gin from 3.0.0-alpha18 to 3.0.0-alpha19
...
Bumps drupal/gin from 3.0.0-alpha18 to 3.0.0-alpha19.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 13:41:31 +00:00
Oliver Davies
5ff147fbfc
Update contrib projects
...
- Update Gin theme and Simple XML sitemap modules to the next compatible
version.
- Update SpeakerDeck Field module to the semver (^2.0) version.
2020-06-17 22:38:52 +01:00
Oliver Davies
f2385b8fc4
Update Drupal core to 8.9.1
2020-06-17 21:40:24 +01:00
Oliver Davies
9dbcf903f4
Ansible: Extract an include for building theme assets
2020-06-17 01:36:06 +01:00
Oliver Davies
e874475c32
Ansible: Re-organise deployment steps
2020-06-17 01:23:31 +01:00
Oliver Davies
b83baa4c26
Ansible: prevent showing changed status when not changed
2020-06-17 00:12:31 +01:00
Oliver Davies
922ac14e6b
Ansible: Optimise the autoloader
2020-06-16 23:45:46 +01:00
Oliver Davies
deb6f26836
Add webpack aliases for CSS and JS directories
2020-06-16 00:12:47 +01:00
Oliver Davies
0215e31154
Move CSS and JS into assets
2020-06-16 00:04:46 +01:00
Oliver Davies
fec0feff36
Re-add npm scripts for development and production
...
References #127
2020-06-12 02:17:30 +01:00
Oliver Davies
5ec999e3f2
Re-order deploy steps
...
Run database changes before importing configuration.
References #127
2020-06-12 02:15:52 +01:00
Oliver Davies
5745f51d4c
Update core to 8.9
2020-06-12 02:08:05 +01:00
Oliver Davies
b6f3d6ef91
Update default branch name
...
Change the default branch for deployments from `master` to `production`.
2020-06-10 22:13:54 +01:00
Oliver Davies
4f4470e4a0
Remove Google Analytics module
...
Remove the Google Analytics module from the codebase as it's no longer
used, and has since been replaced with Fathom Analytics
2020-06-10 22:11:27 +01:00
Oliver Davies
e022935031
No cows
2020-06-10 21:26:55 +01:00
Oliver Davies
edb8a59f84
Update Makefile
...
Added theme related rules:
- theme-build
- theme-build-prod
- theme-clean
- theme-install-dependencies
- theme-watch
References #41
2020-06-10 12:18:33 +01:00
Oliver Davies
d343b4cdf2
Switch from Laravel Mix to Webpack Encore
...
- Updated npm dependencies
- Replaced `webpack.mix.js` with `webpack.config.js`
- Added `postcss.config.js`
- Removed the `src` directory and moved `css` and `js` to the root level
of the theme
- Renamed `dist` to `build` and updated in libraries file
References #41
2020-06-10 12:06:09 +01:00
Oliver Davies
e4da12188e
Hide title on Fathom block
2020-06-09 20:02:03 +01:00
Oliver Davies
e43e8a2907
Export gin settings
2020-06-09 20:01:08 +01:00
Oliver Davies
df11ac6b97
Add and configure Stage File Proxy locally
...
Fixes #116
2020-06-09 19:56:58 +01:00
Oliver Davies
7fca86a3f4
Add Gin and use as the admin theme
2020-06-06 11:28:32 +01:00
Oliver Davies
8314c12f28
Update blog feed path
2020-06-04 21:58:03 +01:00
Oliver Davies
d7181dd0be
Export fathom block
2020-06-04 21:57:33 +01:00
Oliver Davies
5dff22a07d
Replace Google Analytics with Fathom
2020-06-02 22:32:03 +01:00
Oliver Davies
38548df58f
Add and enable Menu Trail by Path module
...
Install the Menu Trail by Path module so that blog posts and talk pages
have their respective navigation links highlighted.
Fixes #110
2020-06-02 00:18:05 +01:00
Oliver Davies
d9f9c835c3
Update blog path and title
...
References #48
2020-06-01 20:23:25 +01:00
Oliver Davies
bb5cfe39ef
Update alias patterns for blog posts and tags
...
References #48
2020-06-01 20:18:24 +01:00
Oliver Davies
53257d1709
Add a command for updating old tag names
...
Fixes #53
2020-06-01 20:12:27 +01:00
Oliver Davies
28472a22fa
Update RSS feed title
...
Fixes #105
2020-06-01 19:52:58 +01:00
Oliver Davies
b49b487590
Fix PHPStan and PHPCS errors
2020-06-01 19:03:25 +01:00
Oliver Davies
f5a0225c86
Update page title metatag for front page
...
Fixes #92
2020-06-01 12:54:25 +01:00
Oliver Davies
7b56d84362
Remove blank lines
2020-06-01 12:54:19 +01:00
Oliver Davies
8c75b44ba0
Hide "has tweet" field
...
Fixes #97
2020-06-01 12:53:30 +01:00
Oliver Davies
208d535d95
Add pull-from-prod to Makefile
...
Add `pull-from-prod` to the Makefile, which downloads a database from
production, imports it and runs the post-import steps.
Fixes #79
2020-06-01 12:50:41 +01:00