How to create and edit the 'HTML Document Contents' content type on GOV.WALES.
Contents
When to use
Before you create or edit content, you need to read and understand:
You should create HTML Documents for each page before you create the HTML Document Contents page.
Use for:
- a multipage HTML version of a publication
How to create
Creating a new HTML Document Contents page
- 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 Contents.
- Complete the Title field.
- Complete the Summary field (when there is only one document attached to the publication this summary should be the same as the publication summary).
- Start typing the name of the HTML document that you want to include in the HTML DOCUMENTS field.
- Select the correct HTML Document from the list.
- If you want the HTML Document Contents to display an alternative title for the HTML Document then type this in the Custom text field.
- Select Add another item and repeat steps 7 to 9 to add additional HTML Documents.
- Uncheck Generate automatic URL alias.
- Specify an appropriate URL alias, based on the title of the document, and add ‘-contents’ 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.
- Uncheck Generate automatic URL alias.
- Specify an appropriate URL alias, following the same approach as the English language version, and add ‘-cynnwys’ to the URL alias. Follow naming files and HTML documents for advice on creating URL aliases.
- 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 Contents page
- Log in to GOV.WALES and LLYW.CYMRU.
- Find the existing HTML Document Contents 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 Contents.
- Select EDIT DRAFT or NEW DRAFT.
- Edit the HTML Document Contents or Add another item to add new pages (see steps 7 to 9 in How to create).
- 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 Contents.
Components available
There are no components available to use with this content type.