diff --git a/apps/theming/lib/template.php b/apps/theming/lib/template.php
index a09a854ca69fc44e416a9260ddbef0c18a67931e..436dfe86a038de45bdbc3ad89416e6bfa248913d 100644
--- a/apps/theming/lib/template.php
+++ b/apps/theming/lib/template.php
@@ -77,6 +77,10 @@ class Template extends \OC_Defaults {
 		return $this->config->getAppValue('theming', 'name', $this->name);
 	}
 
+	public function getHTMLName() {
+		return $this->config->getAppValue('theming', 'name', $this->name);
+	}
+
 	public function getTitle() {
 		return $this->config->getAppValue('theming', 'name', $this->name);
 	}
@@ -93,6 +97,15 @@ class Template extends \OC_Defaults {
 		return $this->config->getAppValue('theming', 'slogan', $this->slogan);
 	}
 
+	public function getShortFooter() {
+		$slogan = $this->getSlogan();
+		$footer = '<a href="'. $this->getBaseUrl() . '" target="_blank"' .
+			' rel="noreferrer">' .$this->getEntity() . '</a>'.
+			($slogan !== '' ? ' – ' . $slogan : '');
+
+		return $footer;
+	}
+
 	/**
 	 * Color that is used for the header as well as for mail headers
 	 *