Please follow this repository if you plan to create a Github Pages website using koru-jeykll-template and want to be notified of version updates to the Jekyll theme.
This is a theme based on UCAR/NCAR's custom 'koru' design. It is built on top the Foundation framework. This provides users and developers with responsiveness and accessibility.
The only front matter information required for default pages is:
---
layout:
title:
---
Front matter options for the front page are:
---
layout:
title:
banner-title:
banner-description:
banner-button-text:
banner-button-url:
---
The main menu is set in the mainmenu.yml file in the _data directory. Paths can be both absolute and relative in the menu. The structure for creating a menu is:
menu:
- title: Software
url: /pages/documentation.html
Use the following structure to create submenus:
menu:
- title: Software
url: /pages/documentation.html
submenu:
- title: VAPOR
url: /pages/vapor.html
npm update koru-base
(pulls in latest version from Github Registry)Note: when in doubt, delete node_modules and re-run the previous steps
NPM_TOKEN
variable locally that will use the GitHub access token you just created.export NPM_TOKEN=your-token-here
docker-compose build --build-arg NPM_TOKEN=${NPM_TOKEN} && docker-compose up
to run jekyll in a container.To add Google Analytics code to your site: