diff --git a/site/_extensions/gallery_generator.py b/site/_extensions/gallery_generator.py index fac43f8..71701c7 100644 --- a/site/_extensions/gallery_generator.py +++ b/site/_extensions/gallery_generator.py @@ -227,30 +227,31 @@ def build_from_repos( modal_str = '\n'.join([m.lstrip() for m in modal_str.split('\n')]) else: modal_str = "" - new_card = f"""\ - :::{{grid-item-card}} - :shadow: md - :class-footer: card-footer - - {modal_str} - - +++ - -
- {tags} -
{status_badges}
-
- - ::: - - """ + + new_card = f"""\ + :::{{grid-item-card}} + :shadow: md + :class-footer: card-footer + + {modal_str} + + +++ + +
+ {tags} +
{status_badges}
+
+ + ::: + + """ grid_body.append('\n'.join([m.lstrip() for m in new_card.split('\n')]))