Skip to content

Commit

Permalink
misc fixes wrt myst config str
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Sep 8, 2024
1 parent 1744e13 commit d0e02d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/neurolibre_preview_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def render_page(username, repo, commit, page_path=''):
return jsonify({"error": "Invalid config file"}), 500

if not page_path or page_path == 'index.html':
page_path = config['index']
page_path = config.get('projects', [{}])[0].get('index', 'intro')

# if not page_path:
# if 'nav' not in config or not config['nav']:
Expand Down

0 comments on commit d0e02d0

Please sign in to comment.