diff --git a/app/helpers/geoblacklight_helper.rb b/app/helpers/geoblacklight_helper.rb index affe7009..0aa9f1e6 100644 --- a/app/helpers/geoblacklight_helper.rb +++ b/app/helpers/geoblacklight_helper.rb @@ -284,4 +284,9 @@ def ol_viewer :leaflet_options => leaflet_options }) end + + def iiif_manifest_container? + return false unless @document + @document&.item_viewer&.viewer_preference&.key?(:iiif_manifest) + end end diff --git a/app/views/layouts/blacklight/base.html.erb b/app/views/layouts/blacklight/base.html.erb new file mode 100644 index 00000000..5ecebc22 --- /dev/null +++ b/app/views/layouts/blacklight/base.html.erb @@ -0,0 +1,52 @@ + +<%= content_tag :html, class: 'no-js', **html_tag_attributes do %> +
+ + + + + + + + +