diff options
author | Adrian Kummerlaender | 2014-10-27 19:19:34 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2014-10-27 19:19:34 +0100 |
commit | b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230 (patch) | |
tree | 48bd64b5e7e6db12b0310e83b121f590325ed257 /source/99_result | |
parent | be2b4380d435ebc31f6de35439a4a014edc77060 (diff) | |
download | Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar.gz Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar.bz2 Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar.lz Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar.xz Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.tar.zst Overview-b91cdc10a4231bfc8b13eb53964fe9a9ffcbf230.zip |
Grouped configuration parameters
* added overview commit count parameter
* added `key` subdomain link
Diffstat (limited to 'source/99_result')
-rw-r--r-- | source/99_result/overview.xsl | 133 | ||||
-rw-r--r-- | source/99_result/timeline.xsl | 2 |
2 files changed, 69 insertions, 66 deletions
diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl index b2a8d93..8920e09 100644 --- a/source/99_result/overview.xsl +++ b/source/99_result/overview.xsl @@ -111,72 +111,75 @@ <xsl:template match="datasource"> <html> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - <meta name="viewport" content="width=device-width,initial-scale=1.0"/> - - <title> - <xsl:value-of select="$root/meta/title"/> - </title> - - <link rel="stylesheet" type="text/css" href="/main.css"/> -</head> -<body> - <div id="content"> - <div class="large menuhead"> - <h1> - <xsl:value-of select="$root/meta/title"/> - </h1> - <ul> - <li> - <a href="http://blog.kummerlaender.eu">blog</a> - </li> - <li> - <a href="http://code.kummerlaender.eu">code</a> - </li> - </ul> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <meta name="viewport" content="width=device-width,initial-scale=1.0"/> + + <title> + <xsl:value-of select="$root/meta/title"/> + </title> + + <link rel="stylesheet" type="text/css" href="/main.css"/> + </head> + <body> + <div id="content"> + <div class="large menuhead"> + <h1> + <xsl:value-of select="$root/meta/title"/> + </h1> + <ul> + <li> + <a href="http://blog.kummerlaender.eu">blog</a> + </li> + <li> + <a href="http://code.kummerlaender.eu">code</a> + </li> + <li> + <a href="http://key.kummerlaender.eu">key</a> + </li> + </ul> + </div> + + <div class="normal menuhead"> + <h2> + <a href="http://blog.kummerlaender.eu"> + <xsl:text>Latest articles</xsl:text> + </a> + </h2> + <ul> + <li> + <a href="http://blog.kummerlaender.eu/archive">Archive</a> + </li> + <li> + <a href="http://blog.kummerlaender.eu/atom.xml">Feed</a> + </li> + </ul> + </div> + + <xsl:apply-templates select="articles/entry"/> + + <div class="normal menuhead"> + <h2> + <a href="http://code.kummerlaender.eu"> + <xsl:text>Latest commits</xsl:text> + </a> + </h2> + <ul> + <li> + <a href="https://github.com/KnairdA">GitHub</a> + </li> + <li> + <a href="http://blog.kummerlaender.eu/category/projects">Projects</a> + </li> + <li> + <a href="{$root/meta/url}/timeline.xml">Feed</a> + </li> + </ul> + </div> + + <xsl:apply-templates select="timeline/commit[position() <= $root/meta/overview/commit_count]"/> </div> - - <div class="normal menuhead"> - <h2> - <a href="http://blog.kummerlaender.eu"> - <xsl:text>Latest articles</xsl:text> - </a> - </h2> - <ul> - <li> - <a href="http://blog.kummerlaender.eu/archive">Archive</a> - </li> - <li> - <a href="http://blog.kummerlaender.eu/atom.xml">Feed</a> - </li> - </ul> - </div> - - <xsl:apply-templates select="articles/entry"/> - - <div class="normal menuhead"> - <h2> - <a href="http://code.kummerlaender.eu"> - <xsl:text>Latest commits</xsl:text> - </a> - </h2> - <ul> - <li> - <a href="https://github.com/KnairdA">GitHub</a> - </li> - <li> - <a href="http://blog.kummerlaender.eu/category/projects">Projects</a> - </li> - <li> - <a href="{$root/meta/url}/timeline.xml">Feed</a> - </li> - </ul> - </div> - - <xsl:apply-templates select="timeline/commit[position() <= 5]"/> - </div> -</body> + </body> </html> </xsl:template> diff --git a/source/99_result/timeline.xsl b/source/99_result/timeline.xsl index edb8fb2..2e89082 100644 --- a/source/99_result/timeline.xsl +++ b/source/99_result/timeline.xsl @@ -79,7 +79,7 @@ <xsl:text>:00+02:00</xsl:text> </updated> - <xsl:apply-templates select="timeline/commit[position() <= $root/meta/commit_count]"/> + <xsl:apply-templates select="timeline/commit[position() <= $root/meta/timeline/commit_count]"/> </feed> </xsl:template> |