Added handling of tag "naglowek_podrozdzial".
[wolnelektury.git] / lib / librarian / book2html.xslt
index f52d830..a83cc0c 100644 (file)
     <div class="note"><xsl:apply-templates /></div>
 </xsl:template>
 
+<xsl:template match="dedykacja">
+    <div class="dedication"><xsl:apply-templates /></div>
+</xsl:template>
+
+<!-- =================== -->
+<!-- = Section headers = -->
+<!-- =================== -->
 <xsl:template match="naglowek_akt|naglowek_czesc|srodtytul">
     <h2><xsl:apply-templates mode="inline" /></h2>
 </xsl:template>
     <h3><xsl:apply-templates mode="inline" /></h3>
 </xsl:template>
 
-<xsl:template match="naglowek_osoba">
+<xsl:template match="naglowek_osoba|naglowek_podrozdzial">
     <h4><xsl:apply-templates mode="inline" /></h4>
 </xsl:template>
 
+<xsl:template match="miejsce_czas">
+    <p class="place-and-time"><xsl:apply-templates mode="inline" /></p>
+</xsl:template>
+
 <xsl:template match="kwestia">
     <div class="kwestia">
         <xsl:apply-templates select="strofa|akap" />