From c8dee921234d2c91cab11f9fca0c5c9922a83e0c Mon Sep 17 00:00:00 2001 From: Zeckmathederg Date: Thu, 6 Jun 2024 21:09:36 -0600 Subject: [PATCH] Edited lfs-navigational.xsl so favicon.ico appears as logo on every page. --- Makefile | 3 +-- favicon.ico => images/favicon.ico | Bin introduction/welcome/changelog.xml | 6 ++++++ stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl | 11 +++++++++-- 4 files changed, 16 insertions(+), 4 deletions(-) rename favicon.ico => images/favicon.ico (100%) diff --git a/Makefile b/Makefile index c3a656e7fa..e409052db5 100644 --- a/Makefile +++ b/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 diff --git a/favicon.ico b/images/favicon.ico similarity index 100% rename from favicon.ico rename to images/favicon.ico diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 48df3989ec..1413c26a31 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -66,6 +66,12 @@ [zeckma] - favicon.ico -> website logo. Issue #4 + + + + [zeckma] - Edited lfs-navigational.xsl so favicon.ico appears as logo + on every page. + diff --git a/stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl b/stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl index 4e65101703..3228c532f8 100644 --- a/stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl +++ b/stylesheets/lfs-xsl/xhtml/lfs-navigational.xsl @@ -9,13 +9,20 @@ - + - + + + + + + + +