Index: vstup/css/styl.css
===================================================================
--- vstup/css/styl.css	(revision 15:cfb2fc0ca242)
+++ vstup/css/styl.css	(revision 17:02bad17b4590)
@@ -4,4 +4,8 @@
     text-align: center;
     font-size: 16px;
+}
+
+a img {
+	border: none;
 }
 
Index: vstup/záhlaví.inc
===================================================================
--- vstup/záhlaví.inc	(revision 15:cfb2fc0ca242)
+++ vstup/záhlaví.inc	(revision 17:02bad17b4590)
@@ -1,6 +1,8 @@
-<stránka xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/prostor">
+<stránka
+	xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/prostor"
+	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro">
 	<text xmlns="http://www.w3.org/1999/xhtml">
 		<p class="logo">
-			<img src="grafika/logo.png" alt="XML Web generátor"/>
+			<m:a href="index" title="Klikněte pro přechod na úvodní stránku"><img src="grafika/logo.png" alt="XML Web generátor"/></m:a>
 		</p>
     </text>    
Index: šablona/stránka.xsl
===================================================================
--- šablona/stránka.xsl	(revision 16:addd255c39c9)
+++ šablona/stránka.xsl	(revision 17:02bad17b4590)
@@ -4,9 +4,10 @@
 	xmlns:h="http://www.w3.org/1999/xhtml"
 	xmlns:g="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/prostor"
+	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 	xmlns:fn="http://www.w3.org/2005/xpath-functions"
 	xmlns:svg="http://www.w3.org/2000/svg"
 	xmlns:xs="http://www.w3.org/2001/XMLSchema"
-	exclude-result-prefixes="fn h g xs">
+	exclude-result-prefixes="fn h g xs m">
 	<xsl:output 
 		method="xml" 
@@ -93,4 +94,19 @@
     	<link href="{text()}" type="text/css" rel="StyleSheet" />
     </xsl:template>
+   
+    <!--
+    	Makro pro převod interních odkazů:
+    		- doplnění správné přípony
+    		- URL kódování znaků
+    -->
+    <xsl:template match="m:a">
+    	<a>
+    		<xsl:copy-of select="@*"/>
+    		<xsl:attribute name="href">
+    			<xsl:value-of select="fn:encode-for-uri(concat(@href, $výstupníPřípona))"/>
+    		</xsl:attribute>
+    		<xsl:apply-templates/>
+    	</a>
+    </xsl:template>
     
     <!-- Ukázka vlastního „makra“: -->
