summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.xml2
-rw-r--r--xsl/common.xsl1
-rw-r--r--xsl/layout.xsl1
3 files changed, 3 insertions, 1 deletions
diff --git a/main.xml b/main.xml
index c2b52cf..d58f298 100644
--- a/main.xml
+++ b/main.xml
@@ -3,7 +3,7 @@
xmlns:s="https://beratung-franzke.de/web-tpl"
xmlns="http://www.w3.org/1999/xhtml">
- <s:page title="Hauptseite" filename="index.xml" />
+ <s:page title="Hauptseite" description="Fachkompetenz und Erfahrung – Angelika Franzke ist Inhaberin der Firma Unternehmensberatung &amp; Controlling" filename="index.xml" />
<s:page title="Gründung" filename="inception.xml" />
<s:page title="Buchführung*" filename="controlling.xml" />
<s:page title="Leitbild" filename="concept.xml" />
diff --git a/xsl/common.xsl b/xsl/common.xsl
index dbc5174..1c3db12 100644
--- a/xsl/common.xsl
+++ b/xsl/common.xsl
@@ -15,6 +15,7 @@
<xsl:variable name="filename" select="/s:html/@name" />
<xsl:variable name="title" select="document('../main.xml')/s:site/s:page[@filename = $filename]/@title" />
+ <xsl:variable name="description" select="document('../main.xml')/s:site/s:page[@filename = $filename]/@description" />
<xsl:param name="suffix" select="'.xml'" />
<xsl:param name="stylesheet" select="'@import url(&quot;style.css&quot;);'" />
<xsl:param name="version" select="''" />
diff --git a/xsl/layout.xsl b/xsl/layout.xsl
index 5ee8080..622d9f4 100644
--- a/xsl/layout.xsl
+++ b/xsl/layout.xsl
@@ -20,6 +20,7 @@
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width" />
+ <meta name="description" content="{$description}" />
<xsl:if test="/s:html/@robots">
<meta name="robots" content="{/s:html/@robots}">
</meta>