diff --git a/Gemfile b/Gemfile index aa6cdb7..6aa1164 100644 --- a/Gemfile +++ b/Gemfile @@ -21,7 +21,7 @@ gem 'importmap-rails' # Build JSON APIs with ease [https://github.com/rails/jbuilder] gem 'jbuilder' -gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.1' +gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.2' # Use the Puma web server [https://github.com/puma/puma] gem 'puma', '>= 5.0' diff --git a/Gemfile.lock b/Gemfile.lock index 70c76a5..f572e21 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GIT remote: https://github.com/mitlibraries/mitlibraries-theme - revision: 93b931b802485f9e35a6878f957b3fd88ae3b294 - tag: v1.1 + revision: bcbe5d3de36a92d275085a045c5c4d8f30f33e62 + tag: v1.2 specs: mitlibraries-theme (1.0.2) rails (>= 6, < 8) diff --git a/README.md b/README.md index 713a042..18fecb8 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ # TACOS: Tool for Analyzing and Categorization Of Searchterms -## Required Environment Variables +## Environment Variables + +### Required `LINKRESOLVER_BASEURL`: base url for our link resolver. `https://mit.primo.exlibrisgroup.com/discovery/openurl?institution=01MIT_INST&rfr_id=info:sid/mit.tacos.api&vid=01MIT_INST:MIT` is probably the best value unless you are doing something interesting. `UNPAYWALL_EMAIL`: email address to include in API call as required in their [documentation](https://unpaywall.org/products/api). Your personal email is appropriate for development. Deployed and for tests, use the timdex moira list email. +### Optional + +`PLATFORM_NAME`: The value set is added to the header after the MIT Libraries logo. The logic and CSS for this comes from our theme gem. + ## Documentation [Architecture Decisions](docs/architecture-decisions/) diff --git a/app/views/layouts/_site_nav.html.erb b/app/views/layouts/_site_nav.html.erb index d6b2195..290d97e 100644 --- a/app/views/layouts/_site_nav.html.erb +++ b/app/views/layouts/_site_nav.html.erb @@ -1,8 +1,10 @@
-
-

TACOS

-
+ <% unless ENV['PLATFORM_NAME'] %> +
+

TACOS

+
+ <% end %>