diff --git a/README.md b/README.md index 67dd15d..1317dfc 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,14 @@ If your usecase is development, the docker-compose.yml file will start an NGINX Once your findingaids are installed, use `docker compose up` to start your development environment. +Header/footer implementation notes +--------------------------------------------------------- +The UKLibraries specific implementation of the University branded universal and global headers, and universal footer, are semi-dynamically implemented in this project by copying a static script into `universal_header.mustache` and `universal_footer.mustache` from [UKL_HeaderFooter](https://github.com/uklibraries/UKL_HeaderFooter). + +To update the site title, menu items, or to include a custom logo or search block, you must edit the [exploreukConfig.js](https://github.com/uklibraries/UKL_HeaderFooter/blob/main/js/config/sites/exploreuk/exploreukConfig.js) file in the UKL_HeaderFooter repo, and then push the updated file to [lib.uky.edu](https://lib.uky.edu/webparts/ukhdr/prod/js/config/sites/exploreuk/exploreukConfig.js). + +See [UKL_HeaderFooter repo](https://github.com/uklibraries/UKL_HeaderFooter) for additional details. + Copyright --------- diff --git a/app/assets/css/extra.css b/app/assets/css/extra.css index 05185ce..3fdc208 100644 --- a/app/assets/css/extra.css +++ b/app/assets/css/extra.css @@ -77,6 +77,7 @@ label { .nav-tabs { float: right; + margin: .5rem 0 0; } .container-fluid { diff --git a/app/views/layouts/application.mustache b/app/views/layouts/application.mustache index 316a0d4..3ee7ce1 100644 --- a/app/views/layouts/application.mustache +++ b/app/views/layouts/application.mustache @@ -1,6 +1,7 @@ + {{>universal_header}} {{title}}{{^title}}Welcome to ExploreUK{{/title}} {{#css}} @@ -38,5 +39,6 @@ {{>footer}} {{>viewer}} + {{>universal_footer}} diff --git a/app/views/layouts/nav.mustache b/app/views/layouts/nav.mustache index 0ba67c9..66adcbd 100644 --- a/app/views/layouts/nav.mustache +++ b/app/views/layouts/nav.mustache @@ -1,6 +1,5 @@ -
- {{> repo}} + {{! > repo}} {{#requestable}}