diff options
Diffstat (limited to 'megapixels/app/site/parser.py')
| -rw-r--r-- | megapixels/app/site/parser.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/megapixels/app/site/parser.py b/megapixels/app/site/parser.py index d3eccfca..f739315a 100644 --- a/megapixels/app/site/parser.py +++ b/megapixels/app/site/parser.py @@ -103,6 +103,10 @@ def parse_markdown(sections, s3_path, skip_h1=False): groups.append(format_section(current_group, s3_path)) groups.append(format_metadata(section)) current_group = [] + elif '![fullwidth:' in section: + groups.append(format_section(current_group, s3_path)) + groups.append(format_section([section], s3_path, type='fullwidth')) + current_group = [] elif '![wide:' in section: groups.append(format_section(current_group, s3_path)) groups.append(format_section([section], s3_path, type='wide')) |
