diff --git a/docs/changelog.md b/docs/changelog.md index fa6556bf..3e954756 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -29,6 +29,10 @@ Each revision is versioned by the date of the revision. - docs: Added a GitHub workflow and Spread materials for automated testing of the tutorial. +## 2025-12-18 + +- feat: Add resource-centre theme to WordPress charm + ## 2025-12-17 - docs: Moved architecture documentation from Explanation to Reference category. diff --git a/src/charm.py b/src/charm.py index 1831c69a..20ed1a01 100755 --- a/src/charm.py +++ b/src/charm.py @@ -69,6 +69,7 @@ class _ReplicaRelationNotReady(Exception): # noqa: N818 (private exception used "launchpad", "light-wordpress-theme", "mscom", + "resource-centre", "thematic", "twentytwentyfive", "twentytwentyfour", diff --git a/wordpress_rock/rockcraft.yaml b/wordpress_rock/rockcraft.yaml index 6835044e..f90f8c6c 100644 --- a/wordpress_rock/rockcraft.yaml +++ b/wordpress_rock/rockcraft.yaml @@ -270,6 +270,14 @@ parts: source-type: git organize: "*": /var/www/html/wp-content/themes/xubuntu-website/ + get-resource-centre: + after: + - wordpress + plugin: dump + source: https://github.com/canonical/resource-centre-wordpress-theme.git + source-type: git + organize: + "*": /var/www/html/wp-content/themes/resource-centre/ # Post-install configuration wordpress-configure: plugin: nil @@ -288,6 +296,7 @@ parts: - get-wp-theme-ubuntustudio-wp - get-wp-theme-launchpad - get-wp-theme-xubuntu-website + - get-resource-centre - get-ubuntu-community-wordpress-theme build-environment: - IMAGE_RUN_USER_ID: 584792