Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dxw/govuk-blogs
This is the theme in use for the blogs hosted at blog.gov.uk.
https://github.com/dxw/govuk-blogs
govpress wordpress-theme
Last synced: 10 days ago
JSON representation
This is the theme in use for the blogs hosted at blog.gov.uk.
- Host: GitHub
- URL: https://github.com/dxw/govuk-blogs
- Owner: dxw
- License: mit
- Created: 2013-05-22T09:37:28.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T10:23:16.000Z (10 days ago)
- Last Synced: 2024-12-12T11:20:39.644Z (10 days ago)
- Topics: govpress, wordpress-theme
- Language: PHP
- Homepage:
- Size: 9.27 MB
- Stars: 15
- Watchers: 19
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# GOV.UK Blogs
This is the theme in use for the blogs hosted at blog.gov.uk.
## Installation
Clone the theme:
% cd wp-content/themes
% git clone https://github.com/dxw/govuk-blogs.gitThis will give you a functioning theme, but if you want to hack on it there are assets that need compiling. See the [Development](#development) section.
## Development
Open MRs directly to `master`. We don't use a `develop` branch, as this is a theme repo rather than an app, so it doesn't trigger any deployments. Deploys are triggered by updating the whippet files in the apps that use this theme.
Requirements:
* [yarn](https://yarnpkg.com/)
* [composer](https://getcomposer.org/)
* Run this in the theme: yarn installIf it's in build, don't touch it because it'll get overwritten.
JS and SASS files live in assets/js and assets/css. To compile them when they change run this:
% yarn run grunt watch
Images can be optimised like so:
% yarn run grunt img
This theme is based on [GOV.UK Frontend](https://github.com/alphagov/govuk-frontend).
To update the composer modules:
% composer update
To work on the native blocks run `npm start` from within the block root directory - a recent or LTS version of Node is recommended.
## Versioning
Use the [semantic versioning](https://semver.org/) standard.
The version should be updated in `style.css`, and the appropriate commit tagged as `vX.Y.Z`.
Update [the changelog](CHANGELOG.md) following the standard at https://keepachangelog.com/en/1.0.0/.
## This theme uses
* http://www.rootstheme.com/
* https://sass-lang.com/
* http://gruntjs.com/
* https://github.com/alphagov/govuk-frontend
* https://github.com/bobthecow/mustache.php
* https://github.com/dxw/php-missing## Help and bug reports
If you get stuck with something we might be able to help (but can't guarantee it). We're always happy to receive bug reports (or, even better, pull requests).
If you'd like to get in touch about anything to do with this theme, please use the issue tracker on GitHub: https://github.com/dxw/govuk-blogs/issues
## Licence
GPLv2 or later (see LICENSE.txt)