diff --git a/src/main/java/de/mikromedia/webpages/WebpagePlugin.java b/src/main/java/de/mikromedia/webpages/WebpagePlugin.java index 804cfb0..3ccfd9f 100644 --- a/src/main/java/de/mikromedia/webpages/WebpagePlugin.java +++ b/src/main/java/de/mikromedia/webpages/WebpagePlugin.java @@ -269,6 +269,10 @@ public Viewable getWebsitePage(@PathParam("site") String sitePrefix, @PathParam( String location = "/" + sitePrefix + "/" + webAlias; // 1) Query for website topic Topic usersWebsite = getWebsiteByPrefix(sitePrefix); + if (usersWebsite != null) { + prepareGenericViewData(SIMPLE_PAGE_TEMPLATE_NAME, sitePrefix, pageAlias); + prepareWebsiteViewData(usersWebsite, location); + } // 2) check related webpages Webpage webpage = getWebsitesWebpage(usersWebsite, pageAlias); if (webpage != null) { diff --git a/src/main/resources/views/fragments/footer.html b/src/main/resources/views/fragments/footer.html index 313555f..dd7218a 100644 --- a/src/main/resources/views/fragments/footer.html +++ b/src/main/resources/views/fragments/footer.html @@ -21,12 +21,12 @@