-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Australia.gov.au (ausgov) is the front page for Australian government information and services. It houses various types of content i.e Public holidays, time zones, country information and much more.
Our content pages are created using a type of language called Markdown. Markdown allows us write content that is more human readable but directly translates to web languages like HTML. It might seem a bit scary at first but don't worry, there's a lot of cool guides to help you write the syntax.
All of the content for this project is located in a folder called content
. The content folder is located here.
To administrate content on this site we first need to go through a couple introductory tasks.
- Create a GitHub account
- Ensure your GitHub account is a
collaborator
on this project, you might need to speak with an administrator to do this.
Warning: Please make sure you are in the develop branch first.
To add a content page, click one the Create new file
button located in the top right corner of the content folder.
Give the page a relevant title to what your content is about.
NOTE: Page titles should not have any spaces and needs have a
-
character where a spacewould be. For example, a page title like
about australia
needs to be written asabout-australia
. We'd also prefer the titles to be all lowercase to keep a consistent naming convention.
WARNING: If you can't see a
Create new file
button it might be because you haven't got the correct account permissions, so you'll need to have a chat with one of the administrators.
To edit a page find the file that you want to edit and click on the pencil icon in the top right hand corner.
Once you click the pencil a typical WYSIWYG editor will open and you'll be able to write and update content until your heart contents!
After making your changes to the file you'll need to Save or Commit the changes at the bottom of the page. Give your change a title such as Fixed typo
and a description such as There was a typo with the word there, it should be there
.
Make sure you've selected: Commit directly to the develop branch.
and then hit the big green button Commit changes
.
After the changes have been committed, the website will do some magic then refresh with your new changes.
Currently, removing a page could result in a breaking change such as breaking a link. For now, if you're looking to delete a content page that links somewhere, talk with one of the administrators.