This repository contains the University of Leeds wayfinding application Spacefinder which is a jekyll site using the spacefinder jekyll theme and with data about spaces on the University of Leeds campus.
This repository uses the remote_theme
plugin to load the Spacefinder theme from a Github repository: https://github.com/uol-library/spacefinder/
This plugin is enabled by default for Github pages, but you will need to specify it explicitly in your Gemfile
in order to build the site locally:
source "https://rubygems.org"
gem "github-pages", "~> 219", group: :jekyll_plugins
gem "jekyll-remote-theme"
You need to include the following line in you _config.yml
file to use the theme:
remote_theme: uol-library/spacefinder
The theme includes layouts and includes, but the following files must be in any site using the theme for it to work:
filters.json
- this is a markdown file which does not build when using a remote theme - it must be present in order to createfilters.json
in the_site
.spaces.json
- this is the main data file for the spaces. In this repository it is built from individual JSON files in thespaces
directory using the node script_scripts/concat.js
_data/config.yml
- this data file defines all the filters / taxonomies used on the site_includes/javascript/templates.js
- this contains two functions which are used to render space data in the UI._includes/top-bar.html
- the top navigation bar with your logo_includes/pages/about.md
- About page_includes/pages/privacy.md
- Privacy statement_includes/pages/accessibility.md
- Accessibility statementindex.md
- the main page_config.yml
- jekyll configuration file
Other files included in this repository cover things like:
- Icons - using icons in
assets/favicons
and the file_includes/favicons.html
- Photos for spaces in
assets/photos