Changeset 126:be52f52e7d39
- Timestamp:
- 06/23/13 16:29:22 (11 years ago)
- Author:
- František Kučera <franta-hg@…>
- Branch:
- default
- Message:
-
XHTML metadata: autor + popis stránky
- Location:
- šablona
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
r87
|
r126
|
|
64 | 64 | </xsl:template> |
65 | 65 | |
66 | | <!-- |
| 66 | <!-- |
67 | 67 | Odkazy na JavaScript a kaskádové styly |
68 | | --> |
| 68 | --> |
69 | 69 | <xsl:template match="k:web/k:js"> |
70 | 70 | <script src="{text()}" type="text/javascript"> |
… |
… |
|
74 | 74 | <xsl:template match="k:web/k:css"> |
75 | 75 | <link href="{text()}" type="text/css" rel="StyleSheet" /> |
| 76 | </xsl:template> |
| 77 | |
| 78 | <!-- |
| 79 | Metainformace o autorovi a popisu stránky |
| 80 | --> |
| 81 | <xsl:template match="k:web/k:autor/k:jméno"> |
| 82 | <meta content="{text()}" name="author"/> |
| 83 | </xsl:template> |
| 84 | <xsl:template match="s:stránka/s:perex"> |
| 85 | <meta content="{text()}" name="description"/> |
76 | 86 | </xsl:template> |
77 | 87 | |
-
r124
|
r126
|
|
55 | 55 | <link title="Novinky (Atom)" href="atom.xml" type="application/atom+xml" rel="alternate"/> |
56 | 56 | <link title="Novinky (RSS)" href="rss.xml" type="application/rss+xml" rel="alternate"/> |
| 57 | <xsl:apply-templates select="$konfigurace/k:web/k:autor/k:jméno"/> |
| 58 | <xsl:apply-templates select="s:stránka/s:perex"/> |
57 | 59 | <xsl:apply-templates select="$konfigurace/k:web/k:js"/> |
58 | 60 | <xsl:apply-templates select="$konfigurace/k:web/k:css"/> |