{#if world.loaded === false }
diff --git a/site/plugins/frontend/assets/src/liebling-house/world.svelte b/assets/frontend/app/src/liebling-house/world.svelte
similarity index 100%
rename from site/plugins/frontend/assets/src/liebling-house/world.svelte
rename to assets/frontend/app/src/liebling-house/world.svelte
diff --git a/site/plugins/frontend/assets/src/main.js b/assets/frontend/app/src/main.js
similarity index 100%
rename from site/plugins/frontend/assets/src/main.js
rename to assets/frontend/app/src/main.js
diff --git a/site/plugins/frontend/assets/src/router/Link.svelte b/assets/frontend/app/src/router/Link.svelte
similarity index 100%
rename from site/plugins/frontend/assets/src/router/Link.svelte
rename to assets/frontend/app/src/router/Link.svelte
diff --git a/site/plugins/frontend/assets/src/router/clickAnyLink.js b/assets/frontend/app/src/router/clickAnyLink.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/clickAnyLink.js
rename to assets/frontend/app/src/router/clickAnyLink.js
diff --git a/site/plugins/frontend/assets/src/router/historyStore.js b/assets/frontend/app/src/router/historyStore.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/historyStore.js
rename to assets/frontend/app/src/router/historyStore.js
diff --git a/site/plugins/frontend/assets/src/router/loadData.js b/assets/frontend/app/src/router/loadData.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/loadData.js
rename to assets/frontend/app/src/router/loadData.js
diff --git a/site/plugins/frontend/assets/src/router/loadPage.js b/assets/frontend/app/src/router/loadPage.js
similarity index 93%
rename from site/plugins/frontend/assets/src/router/loadPage.js
rename to assets/frontend/app/src/router/loadPage.js
index 82ebd727..ded7ddcd 100644
--- a/site/plugins/frontend/assets/src/router/loadPage.js
+++ b/assets/frontend/app/src/router/loadPage.js
@@ -8,7 +8,7 @@ import { loadData } from './loadData.js';
export async function loadPage( url = false, title = false ) {
let state = createStateObject({
- title: title || document.title.replace('CDA ',''),
+ title: title || document.title.replace('C D A → ',''),
url: url || window.location.href,
template: assumeTemplate( window.location.pathname )
});
diff --git a/site/plugins/frontend/assets/src/router/navigateTo.js b/assets/frontend/app/src/router/navigateTo.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/navigateTo.js
rename to assets/frontend/app/src/router/navigateTo.js
diff --git a/site/plugins/frontend/assets/src/router/pageStore.js b/assets/frontend/app/src/router/pageStore.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/pageStore.js
rename to assets/frontend/app/src/router/pageStore.js
diff --git a/site/plugins/frontend/assets/src/router/popState.js b/assets/frontend/app/src/router/popState.js
similarity index 82%
rename from site/plugins/frontend/assets/src/router/popState.js
rename to assets/frontend/app/src/router/popState.js
index bbb58a26..b7725ad7 100755
--- a/site/plugins/frontend/assets/src/router/popState.js
+++ b/assets/frontend/app/src/router/popState.js
@@ -11,9 +11,13 @@ async function navigateBack( target ) {
let data = await loadData( target.url );
+ let classlist = ['dynamic', data.theme, data.layout, data.template, data.type, data.entity];
+
// replace info in page object and history
pageStoreSet({...data , loading: false });
+ document.body.className = classlist.join(' ');
+
// naviWorld( entity.worlditem );
}
diff --git a/site/plugins/frontend/assets/src/router/utilities.js b/assets/frontend/app/src/router/utilities.js
similarity index 100%
rename from site/plugins/frontend/assets/src/router/utilities.js
rename to assets/frontend/app/src/router/utilities.js
diff --git a/site/plugins/frontend/assets/src/templates/archive.svelte b/assets/frontend/app/src/templates/archive.svelte
similarity index 82%
rename from site/plugins/frontend/assets/src/templates/archive.svelte
rename to assets/frontend/app/src/templates/archive.svelte
index 83387656..5d7ea2df 100644
--- a/site/plugins/frontend/assets/src/templates/archive.svelte
+++ b/assets/frontend/app/src/templates/archive.svelte
@@ -99,21 +99,24 @@
{#if page.archive && page.archive.filters}
- Filter
-
- {#each page.archive.filters.content as item}
- -
-
-
- {/each}
-
+ Filters
+ {#each page.archive.filters as filter}
+ {#if 'headline' in filter}
+ {filter.headline}
+ {/if}
+
+ {#each filter.buttons as button}
+ -
+
+
+ {/each}
+
+ {/each}
{/if}
diff --git a/site/plugins/frontend/assets/src/templates/entity.svelte b/assets/frontend/app/src/templates/entity.svelte
similarity index 100%
rename from site/plugins/frontend/assets/src/templates/entity.svelte
rename to assets/frontend/app/src/templates/entity.svelte
diff --git a/site/plugins/frontend/assets/src/views/3d.svelte b/assets/frontend/app/src/views/3d.svelte
similarity index 98%
rename from site/plugins/frontend/assets/src/views/3d.svelte
rename to assets/frontend/app/src/views/3d.svelte
index dc3ce56d..296d54e1 100755
--- a/site/plugins/frontend/assets/src/views/3d.svelte
+++ b/assets/frontend/app/src/views/3d.svelte
@@ -148,10 +148,6 @@
-
-
diff --git a/site/plugins/frontend/assets/src/views/audio.svelte b/assets/frontend/app/src/views/audio.svelte
similarity index 90%
rename from site/plugins/frontend/assets/src/views/audio.svelte
rename to assets/frontend/app/src/views/audio.svelte
index 85d2c3e8..9707a794 100755
--- a/site/plugins/frontend/assets/src/views/audio.svelte
+++ b/assets/frontend/app/src/views/audio.svelte
@@ -33,10 +33,6 @@
-
-