switch to overlay mode

This commit is contained in:
Emmanuel Cazenave 2018-12-04 18:48:49 +01:00
parent 92aefe2f4a
commit edb753e1fa
2 changed files with 3 additions and 7 deletions

View File

@ -33,12 +33,6 @@ dist: clean
install:
mkdir -p $(DESTDIR)$(prefix)/share/publik/themes/rouen/
cp -r static templates themes.json $(DESTDIR)$(prefix)/share/publik/themes/rouen
TMPL="$(shell find /usr/share/publik/themes/publik-base/templates/ -maxdepth 1 -mindepth 1 ! -name variants -printf '%f\n')"; for i in $$TMPL; do \
ln -s -f $(prefix)/share/publik/themes/publik-base/templates/$$i \
$(DESTDIR)$(prefix)/share/publik/themes/rouen/templates/$$i; \
done
ln -s -f $(prefix)/share/publik/themes/publik-base/static/js \
$(DESTDIR)$(prefix)/share/publik/themes/rouen/static/js;
dist-bzip2: dist
cd sdist && tar cfj ../sdist/$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)

View File

@ -1,10 +1,12 @@
[
{"id": "rouen",
"label": "Rouen",
"overlay": "rouen",
"variables": {
"css_variant": "rouen",
"no_extra_js": true,
"theme_color": "#EE787C"
}
},
"module": "publik-base"
}
]