aboutsummaryrefslogtreecommitdiff
path: root/template/output
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-19 14:32:15 +0200
committerAdrian Kummerlaender2014-07-19 14:32:15 +0200
commit55639568a5c4f9f58d38d4f92bb6b8e7d760294e (patch)
treed459e98b6d4ead2a94b6bde9b31efd397d247aee /template/output
parente872033543129071469a0b100c0a36c18a6b519b (diff)
downloadblog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar.gz
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar.bz2
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar.lz
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar.xz
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.tar.zst
blog.kummerlaender.eu-55639568a5c4f9f58d38d4f92bb6b8e7d760294e.zip
Reactivated basic page generation
* page template is called by the pages compiler * modified master transformation to match new meta structure * the context variable needed by the context transformation now has to be defined in every template using the transformation ** this is needed to accomodate different input DOM structures
Diffstat (limited to 'template/output')
-rw-r--r--template/output/master.xsl18
1 files changed, 9 insertions, 9 deletions
diff --git a/template/output/master.xsl b/template/output/master.xsl
index e2b77b4..fa00f9e 100644
--- a/template/output/master.xsl
+++ b/template/output/master.xsl
@@ -25,7 +25,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title><xsl:call-template name="title-text"/></title>
- <link rel="stylesheet" type="text/css" href="{/meta/target/url}/main.css" />
+ <link rel="stylesheet" type="text/css" href="{/meta/target/public}/main.css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>
@@ -33,13 +33,13 @@
<div id="wrapper">
<div id="content">
<div id="nav_wrap">
- <h1><xsl:value-of select="meta/title"/></h1>
+ <h1><xsl:value-of select="/meta/title"/></h1>
<ul>
- <li><a href="{/meta/target/url}">Start</a></li>
- <li><a href="{/meta/target/url}/archiv">Archiv</a></li>
- <li><a href="{/meta/target/url}/projekte">Projekte</a></li>
- <li><a href="{/meta/target/url}/seiten/kontakt">Kontakt</a></li>
- <li class="last_item"><a href="{/meta/target/url}/rss">RSS</a></li>
+ <li><a href="{/meta/target/public}">Start</a></li>
+ <li><a href="{/meta/target/public}/archiv">Archiv</a></li>
+ <li><a href="{/meta/target/public}/projekte">Projekte</a></li>
+ <li><a href="{/meta/target/public}/seiten/kontakt">Kontakt</a></li>
+ <li class="last_item"><a href="{/meta/target/public}/rss">RSS</a></li>
</ul>
</div>
<div id="main">
@@ -50,8 +50,8 @@
<div id="last_line">
<a href="https://github.com/KnairdA/InputXSLT">Gemacht mit XSLT</a>
<ul>
- <li><a href="{/meta/target/url}/seiten/kontakt">Kontakt</a></li>
- <li class="last_item"><a href="{/meta/target/url}/rss">RSS</a></li>
+ <li><a href="{/meta/target/public}/seiten/kontakt">Kontakt</a></li>
+ <li class="last_item"><a href="{/meta/target/public}/rss">RSS</a></li>
</ul>
</div>
</div>