aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/archive.xsl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-03-22 17:13:48 +0100
committerAdrian Kummerlaender2015-03-22 17:13:48 +0100
commitc0f62e958c5be315faf3c62c8bb1a2480025f52b (patch)
tree884843ab37a9c111af5c1c8f11148591324f65d6 /source/99_result/archive.xsl
parentf9bfffbedc109c2936d1c08512733ca0194f5598 (diff)
downloadblog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.gz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.bz2
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.lz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.xz
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.tar.zst
blog.kummerlaender.eu-c0f62e958c5be315faf3c62c8bb1a2480025f52b.zip
Revamped layout to be more minimalistic and readable
* removed background image and as such it's fixed pixel width ** i.e. the layout is now completely dependent on the basic font size and scales accordingly * revamped master template and CSS to allow for nodes with varying lengths instead of truncating everything depending on the background width * increased font size of tag and archive pages * increased overall line height to improve readability * improved CSS to e.g. make use of `last-child` instead of adding `last` classes during static site generation * removed _microblog_ entries from archive as I have more or less stopped using _Twitter_
Diffstat (limited to 'source/99_result/archive.xsl')
-rw-r--r--source/99_result/archive.xsl38
1 files changed, 6 insertions, 32 deletions
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl
index e00d892..2df82ab 100644
--- a/source/99_result/archive.xsl
+++ b/source/99_result/archive.xsl
@@ -10,36 +10,19 @@
<xsl:variable name="meta">
<datasource type="main" mode="full" source="02_meta/articles.xml" target="articles"/>
<datasource type="support" mode="full" source="02_meta/meta.xml" target="meta"/>
- <datasource type="support" mode="full" source="00_content/microblog.xml" target="microblog"/>
<target mode="plain" value="archive/index.html"/>
</xsl:variable>
<xsl:template name="title-text">Archive</xsl:template>
-<xsl:template match="datasource">
- <div class="archiv columns">
- <xsl:apply-templates />
- </div>
-</xsl:template>
-
<xsl:template match="articles">
- <div class="column">
- <xsl:text>Past articles:</xsl:text>
-
- <ol class="topline articlelist archivlist">
- <xsl:apply-templates select="entry"/>
- </ol>
- </div>
-</xsl:template>
-
-<xsl:template match="microblog">
- <div class="column">
- <a href="https://twitter.com/KnairdA">Microblog:</a>
+ <h3>
+ <xsl:text>Past articles</xsl:text>
+ </h3>
- <ul class="prettylist sparselist topline">
- <xsl:apply-templates select="item[substring(text, 1, 1) != '@'][position() &lt;= 9]" />
- </ul>
- </div>
+ <ol class="articlelist archivlist">
+ <xsl:apply-templates select="entry"/>
+ </ol>
</xsl:template>
<xsl:template match="articles/entry">
@@ -57,13 +40,4 @@
</li>
</xsl:template>
-<xsl:template match="microblog/item">
- <li>
- <em>ยป</em>
- <a href="{link}">
- <xsl:value-of select="text" disable-output-escaping="yes" />
- </a>
- </li>
-</xsl:template>
-
</xsl:stylesheet>