aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/article
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-11-13 12:32:11 +0100
committerAdrian Kummerlaender2018-11-13 12:32:11 +0100
commit5a8fd41f622dfe4627a20cd034a55be17f2237ae (patch)
tree61af1ecf38c6009f38a23a756ff3da28180eb6a7 /source/99_result/article
parent5b981611b8a0d3634898a954bf10cae88a70664c (diff)
downloadblog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar.gz
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar.bz2
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar.lz
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar.xz
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.tar.zst
blog.kummerlaender.eu-5a8fd41f622dfe4627a20cd034a55be17f2237ae.zip
Pull in some nice fonts
i.e. Oswald for titles and Vollkorn for text. Including some markup changes to accomodate them. New approach to aligning article-info to title should work independently of the selected font.
Diffstat (limited to 'source/99_result/article')
-rw-r--r--source/99_result/article/article.xsl21
1 files changed, 14 insertions, 7 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index a9601a8..5d5013d 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -29,19 +29,26 @@
</h2>
<p class="info">
- <xsl:call-template name="format-date">
- <xsl:with-param name="date" select="date/full"/>
- <xsl:with-param name="format" select="'M x, Y'"/>
- </xsl:call-template>
- <xsl:text> | </xsl:text>
+ <span class="spacer">
+ <xsl:text>ยป </xsl:text>
+ </span>
+ <span class="text">
+ <xsl:call-template name="format-date">
+ <xsl:with-param name="date" select="date/full"/>
+ <xsl:with-param name="format" select="'M x, Y'"/>
+ </xsl:call-template>
+ <xsl:text> | </xsl:text>
+ </span>
<xsl:for-each select="tags/tag">
<a href="/tag/{.}">
<xsl:value-of select="."/>
</a>
<xsl:text> </xsl:text>
</xsl:for-each>
- <xsl:text> | </xsl:text>
- <xsl:value-of select="$root/meta/author"/>
+ <span class="text">
+ <xsl:text> | </xsl:text>
+ <xsl:value-of select="$root/meta/author"/>
+ </span>
</p>
<xsl:apply-templates select="content/node()" mode="xhtml"/>