How to: add a new page
In the jkan repo: 1. Adding the html file: - Add a .html at root jkan/. - include this schema at the top of the .html file
---
title: About
layout: default
permalink: /about/
---
{% include breadcrumbs.html %}
-
Update the
title
andpermalink
. Add content and save -
Adding link to navigation bar
- go to jkan/_config.yml in root
- find the section
#Nav bar
- add to structure and update
title
andurl/permalink
- title: About
url: /about/
-
Save
-
Commit-Push to repo and wait for page to rebuild
- Refresh opendata.scot and check.
- Done!