Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add government and political fields to detailed guides #290
The plan is to allow government to be a link, so that
As an intermediate to unblock detailed guides, put government into the details hash instead.
Political example based on:
The plan is to allow government to be a link, so that `current`, names and slugs can be updated automatically without having to republish. However governments represent URL-less content, which the content store doesn’t currently handle. As an intermediate to unblock detailed guides, put government into the details hash instead. From `government` and `political`, whether the history banner should show can be derived.
* Make them required fields * Update existing examples to include fields * Include example of political content (also an example of something that’s not had any updates) Political example based on: https://www.gov.uk/guidance/onshore-wind-part-of-the-uks-energy-mix
* Derive political status based on current-ness of government and political state of content * Only include analytics tags if both government and political keys are present Based on political and government representations in content items, added in: alphagov/govuk-content-schemas#290