diff --git a/mmdc_modules.py b/mmdc_modules.py index 8a3c9d4..79c47e5 100644 --- a/mmdc_modules.py +++ b/mmdc_modules.py @@ -121,7 +121,7 @@ def pandoc2html(mw_content): gallery_exp=re.compile('(.*?)', re.S) -imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png))') +imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png|svg))') def replace_gallery(content): content = re.sub(imgfile_exp, '[[\g<1>]]', content) #add [[ ]] to File:.*? diff --git a/web/index.html b/web/index.html index 38376e1..8ed69c3 100644 --- a/web/index.html +++ b/web/index.html @@ -102,7 +102,7 @@ <div class="item video flash"><img src="img/project_roel2.png"></div> <div class="item narrative"><img src="img/project_andre.jpeg"></div--> -
+