# HG changeset patch # User Maxim Dounin # Date 1707930345 -10800 # Node ID 80cc4e6d3d6d7989390de37298bb85d000818185 # Parent b55264db8d9fcfa74f379e92f5e6a10a030586e3 Free nginx: removed marketing banner. diff -r b55264db8d9f -r 80cc4e6d3d6d GNUmakefile --- a/GNUmakefile Wed Feb 07 15:08:12 2024 +0000 +++ b/GNUmakefile Wed Feb 14 20:05:45 2024 +0300 @@ -1,7 +1,6 @@ OUT = libxslt TEXT = text -BANNER = banner ZIP = gzip NGINX_ORG = /data/www/nginx.org SHELL = ./umasked.sh @@ -46,7 +45,6 @@ xslt/style.xslt \ xslt/body.xslt \ xslt/menu.xslt \ - xslt/banner.xslt \ xslt/content.xslt \ ARTICLE_DEPS = \ @@ -314,15 +312,14 @@ $(MAKE) do_gzip rsync_gzip: - $(CHMOD) $(OUT) $(TEXT) $(BANNER) - $(RSYNC) --delete --exclude='*.gz' $(OUT)/ $(TEXT)/ $(BANNER) $(ZIP)/ + $(CHMOD) $(OUT) $(TEXT) + $(RSYNC) --delete --exclude='*.gz' $(OUT)/ $(TEXT)/ $(ZIP)/ do_gzip: $(addsuffix .gz, $(wildcard $(ZIP)/*.html)) \ $(addsuffix .gz, \ $(foreach lang, $(LANGS), \ $(foreach dir, . docs docs/dev docs/faq docs/http docs/mail docs/njs docs/stream, \ $(wildcard $(ZIP)/$(lang)/$(dir)/*.html)))) \ - $(addsuffix .gz, $(wildcard $(ZIP)/$(BANNER)/*.html)) \ $(ZIP)/index.rss.gz \ $(ZIP)/LICENSE.gz \ $(ZIP)/en/CHANGES.gz \ diff -r b55264db8d9f -r 80cc4e6d3d6d xsls/article.xsls --- a/xsls/article.xsls Wed Feb 07 15:08:12 2024 +0000 +++ b/xsls/article.xsls Wed Feb 14 20:05:45 2024 +0300 @@ -26,7 +26,6 @@ X:include href = "style.xslt"; X:include href = "body.xslt"; X:include href = "menu.xslt"; -X:include href = "banner.xslt"; X:include href = "content.xslt"; X:include href = "books.xslt"; X:include href = "directive.xslt"; @@ -49,8 +48,6 @@ !style (lang="@lang") - !banner () - !body (lang="@lang") diff -r b55264db8d9f -r 80cc4e6d3d6d xsls/banner.xsls --- a/xsls/banner.xsls Wed Feb 07 15:08:12 2024 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ - - -X:stylesheet { - -X:var BANNER = "'/banner/banner.html'"; - -X:template banner_link () { - X:if "substring-after($DIRNAME, '/')" { - !{ concat($ROOT, $BANNER) } - } else { - !{ substring-after($BANNER, '/') } - } -} - -X:template banner () { - - - -} - -} diff -r b55264db8d9f -r 80cc4e6d3d6d xsls/body.xsls --- a/xsls/body.xsls Wed Feb 07 15:08:12 2024 +0000 +++ b/xsls/body.xsls Wed Feb 14 20:05:45 2024 +0300 @@ -17,9 +17,6 @@ - -