Skip to content

Commit

Permalink
Still need filename to save code
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed Jan 11, 2025
1 parent d86d3a7 commit 6c1c8a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,11 @@ def get_category_display_name(c):
orig_path = metadata["orig_path"]

name = metadata.get("name", language)
filename = metadata.get("filename")
context = {
"name": name,
"where_x_eq_name": metadata.get("where_x_eq_name", name),
"filename": metadata.get("filename"),
"filename": filename,
"content": markdown_to_html(content),
"lang": lang,
"langs": sorted(articles[language].keys()),
Expand Down

0 comments on commit 6c1c8a7

Please sign in to comment.