Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions content/_ext/yaml_gallery_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ def _generate_tag_menu(all_items, tag_key):
def _generate_menu(all_items, flt=None):

key_list = _generate_sorted_tag_keys(all_items)
menu_html = '<div class="d-flex flex-row">' + '\n'
menu_html = '<div class="d-flex flex-row"> \n'
for tag_key in key_list:
menu_html += _generate_tag_menu(all_items, tag_key) + '\n'
if flt:
menu_html += '<a type="button" class="btn btn-link" href="/pages/links.html">Return to Full Gallery</a>' + '\n'
menu_html += '</div>' + '\n'
menu_html += "<script> $(document).on('click',function(){$('.collapse').collapse('hide');}); </script>" + '\n'
menu_html += '<a type="button" class="btn btn-link" href="/pages/links.html">Return to Full Gallery</a> \n'
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'
menu_html += '</div> \n'
menu_html += '<script> $(document).on("click",function(){$(".collapse").collapse("hide");}); </script> \n'
return menu_html


Expand Down