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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user