Skip to content

Commit 1f1babe

Browse files
authored
Merge branch 'main' into contributors_guide
2 parents 1142bac + ebd5d21 commit 1f1babe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/_ext/yaml_gallery_generator.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ def _generate_tag_menu(all_items, tag_key):
5454
def _generate_menu(all_items, flt=None):
5555

5656
key_list = _generate_sorted_tag_keys(all_items)
57-
menu_html = '<div class="d-flex flex-row">' + '\n'
57+
menu_html = '<div class="d-flex flex-row"> \n'
5858
for tag_key in key_list:
5959
menu_html += _generate_tag_menu(all_items, tag_key) + '\n'
6060
if flt:
61-
menu_html += '<a type="button" class="btn btn-link" href="/pages/links.html">Return to Full Gallery</a>' + '\n'
62-
menu_html += '</div>' + '\n'
63-
menu_html += "<script> $(document).on('click',function(){$('.collapse').collapse('hide');}); </script>" + '\n'
61+
menu_html += '<a type="button" class="btn btn-link" href="/pages/links.html">Return to Full Gallery</a> \n'
62+
menu_html += '<a type="button" class="btn btn-link" style="position:absolute; right:0;" href="https://github.com/ProjectPythia/projectpythia.github.io/issues/new?assignees=&labels=external-links-gallery-submission&template=update-external-links-gallery.md&title=">Submit a Link</a> \n'
63+
menu_html += '</div> \n'
64+
menu_html += '<script> $(document).on("click",function(){$(".collapse").collapse("hide");}); </script> \n'
6465
return menu_html
6566

6667

0 commit comments

Comments
 (0)