diff --git a/projects/frontend/src/components/inflators/embed.ts b/projects/frontend/src/components/inflators/embed.ts
index c08115d..f4eb0ab 100644
--- a/projects/frontend/src/components/inflators/embed.ts
+++ b/projects/frontend/src/components/inflators/embed.ts
@@ -4,7 +4,6 @@ import { inflateVideoEmbeds } from './video'
 
 /**
  * Inflates various supported embeds
- * @param _window the reference to the window
  */
 export const inflateEmbeds = () => {
   inflateDetailsElements()
diff --git a/projects/frontend/src/views/gallery/gallery-list.vue b/projects/frontend/src/views/gallery/gallery-list.vue
index c10026f..b1932e0 100644
--- a/projects/frontend/src/views/gallery/gallery-list.vue
+++ b/projects/frontend/src/views/gallery/gallery-list.vue
@@ -203,7 +203,7 @@ onMounted(async () => {
       )
         GalleryTile(
           v-if='!entry.hidden || !config.removeFromView'
-          :class='{ hidden: projects[id].hidden && !config.removeFromView }'
+          :class='{ hidden: entry.hidden && !config.removeFromView }'
           :entry='entry'
           :id='id'
           :hideWarnings='hideWarnings'
diff --git a/projects/frontend/src/views/gallery/gallery-view.vue b/projects/frontend/src/views/gallery/gallery-view.vue
index 5871c42..8612038 100644
--- a/projects/frontend/src/views/gallery/gallery-view.vue
+++ b/projects/frontend/src/views/gallery/gallery-view.vue
@@ -4,6 +4,7 @@ import type {
   GalleryEntry,
   GalleryList,
   GalleryListDefinition,
+  RoutedWindow,
 } from '@goldenwere/static-web-templates-types'
 
 import { amendVariantsWithDefaults, getTitleFromEntryOrId } from './gallery-utilities'
@@ -13,6 +14,8 @@ import { useRouteStore } from 'src/routes'
 
 import EmbedableContent from 'src/components/shared/embedable-content.vue'
 
+declare const window: RoutedWindow
+
 const props = defineProps<{
   variants: string[]
 }>()
@@ -48,6 +51,9 @@ onMounted(async () => {
   id.value = props.variants[props.variants.length - 1]
   title.value = getTitleFromEntryOrId(entry.value, id.value)
   document.title = routeSubConfig.title.replace('$ENTRY', title.value)
+  window.routeSubConfig = {...routeSubConfig}
+  window.routeContentConfig = {...entry.value}
+
   ready.value = true
   emits('loaded')
 })