Improve local menus
the build was successful

They now look much better (using a bootstrap navbar), allow for files
from multiple directories being included in a single menu (needed by the
news archive), and exclude all files name "*-template" (also needed by
the news archive).
This commit is contained in:
2019-03-12 11:31:39 +01:00
parent 40f9044019
commit e6821ed35a
7 changed files with 135 additions and 70 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ $(SUBDIRS): .FORCE
# Handle local menus
# -----------------------------------------------------------------------------
MENUSOURCES := $(shell find -name '*.xhtml' | xargs grep -l '<localmenu.*</localmenu>' )
MENUSOURCES := $(shell find -name '*.xhtml' -not -name "*-template.*" | xargs grep -l '<localmenu.*</localmenu>' | sort)
all: localmenuinfo.en.xml
localmenuinfo.en.xml: ./tools/buildmenu.xsl $(MENUSOURCES)