]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Add LiipThemeBundle
[github/wallabag/wallabag.git] / app / config / config.yml
index 8e7258ea756264998c269c8a16190383b7e05157..1bd93d645f04e3257d6c011b0b3e652db0c460ff 100644 (file)
@@ -128,3 +128,24 @@ nelmio_cors:
             allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
             max_age: 3600
             hosts: ['^api\.']
+
+liip_theme:
+    load_controllers: false
+    themes:
+        - baggy
+        - dark
+        - default
+        - dmagenta
+        - solarized
+        - solarized-dark
+    autodetect_theme: wallabag_core.helper.detect_active_theme
+
+    path_patterns:
+        app_resource:
+            - %%app_path%%/views/themes/%%current_theme%%/%%template%%
+            - %%app_path%%/views/%%template%%
+        bundle_resource:
+            - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
+        bundle_resource_dir:
+            - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
+            - %%dir%%/views/%%bundle_name%%/%%override_path%%