How to create and edit the 'HTML document' content type on GOV.WALES.
Contents
When to use
Before you create or edit content, you need to read and understand:
You should also have a version of the content ready for publication. An HTML document will usually be split into sections with headings.
Use for:
- an html version of a publication
How to create
Creating a new HTML document
- Log in to GOV.WALES and LLYW.CYMRU.
- Select the Workbench view in GOV.WALES (you must start on the English site).
- Select Create content.
- Select HTML document.
- Complete the Title field.
- Complete the Summary field.
- Select Add Content Section.
- Complete the Section title field.
- Select Add Content and paste content into the Content field.
- Repeat steps 6 to 8 for more content sections.
- Tag to relevant Topics.
- If content is from or about an organisation complete EXTERNAL ORGANISATIONS with the name of the organisation.
- Add up to around 5 INTERNAL LINKS (NODE) to content directly related to the users needs being met by the HTML document.
- Do not usually complete INTERNAL LINKS (TERMS). Either the HTML document is relevant to a topic therefore tagged to it or linked to pages meeting specific user needs.
- To link to another website select Add External Link.
- Uncheck Generate automatic URL alias.
- Specify an appropriate URL alias, based on the title of the document, and add ‘-html’ to the URL alias. Follow naming files and HTML documents for advice on creating URL aliases.
- Check the First Published and LAST UPDATED dates.
- Select Save and Create New Draft.
- To add the Welsh content, select TRANSLATE.
- Select Add from row labelled Welsh.
- Update fields with Welsh language content.
- To save changes without making them public select Save and Create New Draft (this translation). To save and make changes public select Save and publish (this translation).
- Publish the Welsh and the English and check both languages, for example layout is correct and links work.
Editing an existing HTML document
- Log in to GOV.WALES and LLYW.CYMRU.
- Find the existing HTML document either by browsing the public site or select Workbench then All recent content. You must do this on GOV.WALES as the English content must be edited first.
- Open the HTML document.
- Select EDIT DRAFT or NEW DRAFT.
- Edit the HTML document.
- Complete Revision log message (all languages) with brief summary of changes.
- Change the LAST UPDATED date. Steps 6 and 7 are only for content changes. Do not use for typos and format changes.
- To save changes without making them public select Save and Create New Draft (this translation). To save and make changes public select Save and publish (this translation).
- Make the same changes to the Welsh version of the HTML document.
Components available
Lists which components are available and how to use them if they are allowed.
Paragraphs: content section
Use the content section paragraph to break up longer pages with headings.
Paragraphs: content
You must use the content paragraph for the majority of the page content.
Paragraphs: accordion
Do not use accordions on an HTML document.
Paragraphs: related links
Do not use the related links paragraph on an HTML document.
Paragraphs: call out message
Do not use call out messages on an HTML document.
Paragraphs: contact details
Follow the contact details definition to add contact information, for example a telephone number.
Paragraphs: iFrame
Use only to embed a YouTube video.
Internal links (node)
Use to link to around 5 pages directly related to the users needs being met by the HTML document.
Internal links (terms)
Avoid using internal links (terms). These links are to topics and usually the most relevant topic is already found by the breadcrumb.
External links
Follow the sidebar links definition to link to content directly related to the user needs met by your content.