mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 14:32:13 +08:00
Edited lfs-navigational.xsl so favicon.ico appears as logo on every page.
This commit is contained in:
parent
f77949b643
commit
c8dee92123
3
Makefile
3
Makefile
@ -123,8 +123,7 @@ $(BASEDIR)/index.html: $(RENDERTMP)/$(GLFSHTML) version
|
||||
$(Q)if [ ! -e $(BASEDIR)/images ]; then \
|
||||
mkdir -p $(BASEDIR)/images; \
|
||||
fi;
|
||||
$(Q)cp images/*.png $(BASEDIR)/images
|
||||
$(Q)cp favicon.ico $(BASEDIR)
|
||||
$(Q)cp images/*.{png,ico} $(BASEDIR)/images
|
||||
|
||||
$(Q)cd $(BASEDIR)/; sed -e "s@../images@images@g" \
|
||||
-i *.html
|
||||
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
@ -67,6 +67,12 @@
|
||||
[zeckma] - favicon.ico -> website logo. Issue #4
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
[zeckma] - Edited lfs-navigational.xsl so favicon.ico appears as logo
|
||||
on every page.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
@ -15,7 +15,14 @@
|
||||
<xsl:call-template name="system.head.content"/>
|
||||
<xsl:call-template name="head.content"/>
|
||||
<xsl:call-template name="user.head.content"/>
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
|
||||
<xsl:variable name="up" select="parent::*"/>
|
||||
<xsl:variable name="home" select="/*[1]"/>
|
||||
<xsl:if test="$home != .">
|
||||
<link rel="icon" href="../images/favicon.ico" type="image/x-icon"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="$home = .">
|
||||
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
|
||||
</xsl:if>
|
||||
</head>
|
||||
</xsl:template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user