Test National Gallery - Simple Site 2 Example

In addition to hosting software and files, as part of development projects, GitHub also provides the resources to host dedicated websites, to present and demonstrate ones work. This project has been developed to provide a, relatively, simple system for creating a standard set of these webpages, based on a small set of text files, formatted as JSON files. It was built to work along side a number of other GitHub projects, to provide a method of creating a set of consistent webpages, delivered using GitHub Pages.


The content of the presented webpages are controlled with two main JSON files, augmented by optional additional files, stored in a local build folder.

  • Various site wide details are defined within the site.json file.
  • The content for the individual web-pages are defined within the pages.json file. With the main pages being listed as tabs, and any sub-pages, or even sub-sub-pages etc, listed within drop-down menus from the related main page tab.

The content added to these JSON files is automatically processed every time the files are edited and a new set of webpages will be created.