Skip to content

Commit f260ff5

Browse files
Little fixes
1 parent d6640d5 commit f260ff5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generate_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def get_language_repo_and_completion(
5656
logging.basicConfig(level=logging.INFO)
5757
logging.info(f'starting at {generation_time}')
5858
template = Template(Path('templates/metadata.html.jinja').read_text())
59-
if (index_path := Path('index.json')).exists():
60-
index_json = loads(Path('index.json').read_text())
59+
if (index_path := Path('build/index.json')).exists():
60+
index_json = loads(Path('build/index.json').read_text())
6161
else:
6262
index_json = request('GET', argv[1]).json()
6363

templates/base.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<header>
1818
<nav class="navbar navbar-expand-md fixed-top">
1919
<div class="navbar-brand">
20-
<a href="/" style="all: unset; cursor: pointer;">
20+
<a href="./" style="all: unset; cursor: pointer;">
2121
<img src="logo.png" style="height: 2rem;" alt="Translation dashboard">
2222
<span style="font-size: 1.25rem; font-weight: bold;">Docs Translation Dashboard</span>
2323
</a>

0 commit comments

Comments
 (0)