# HG changeset patch # User Maxim Dounin # Date 1707930345 -10800 # Node ID 80cc4e6d3d6d7989390de37298bb85d000818185 # Parent b55264db8d9fcfa74f379e92f5e6a10a030586e3 Free nginx: removed marketing banner. diff --git a/GNUmakefile b/GNUmakefile --- a/GNUmakefile +++ b/GNUmakefile @@ -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 @@ COMMON_DEPS = \ xslt/style.xslt \ xslt/body.xslt \ xslt/menu.xslt \ - xslt/banner.xslt \ xslt/content.xslt \ ARTICLE_DEPS = \ @@ -314,15 +312,14 @@ gzip: rsync_gzip $(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 --git a/xsls/article.xsls b/xsls/article.xsls --- a/xsls/article.xsls +++ b/xsls/article.xsls @@ -26,7 +26,6 @@ X:include href = "link.xslt"; 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 @@ X:template = "/article | /module" { !style (lang="@lang") - !banner () - !body (lang="@lang") diff --git a/xsls/banner.xsls b/xsls/banner.xsls deleted file mode 100644 --- a/xsls/banner.xsls +++ /dev/null @@ -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 --git a/xsls/body.xsls b/xsls/body.xsls --- a/xsls/body.xsls +++ b/xsls/body.xsls @@ -17,9 +17,6 @@ X:template body (lang) { - -