diff options
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.xsl | 21 |
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"/> |