diff --git a/.gitignore b/.gitignore
index 12568d5..38a5210 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
.pdm-python
pdm.lock
+
+poetry.lock
diff --git a/pelican/plugins/mau_reader/test_mau_reader.py b/pelican/plugins/mau_reader/test_mau_reader.py
index cc4f413..2644c79 100644
--- a/pelican/plugins/mau_reader/test_mau_reader.py
+++ b/pelican/plugins/mau_reader/test_mau_reader.py
@@ -15,16 +15,23 @@ def test_article_with_mau_extension():
settings = get_settings()
settings["MAU"] = {
- "header_anchor_function": header_anchor,
- "custom_templates": {
- "header.html": (
- ''
- "{{ value }}"
- '{% if anchor %}¶{% endif %}'
- ""
- )
+ "mau": {
+ "parser": {
+ "header_anchor_function": header_anchor,
+ },
+ "visitor": {
+ "custom_templates": {
+ "header.html": (
+ ''
+ "{{ value }}"
+ '{% if anchor %}¶{% endif %}'
+ ""
+ )
+ }
+ },
},
}
+
mau_reader = MauReader(settings)
source_path = os.path.join(TEST_CONTENT_PATH, "article_with_content.mau")