diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-06-19 22:36:04 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-06-19 22:36:04 +0800 |
| commit | b9545616acc0a00cfed9e5023dff8e1c33c9f6e4 (patch) | |
| tree | 7e8424a91511525edad7a6ee16837398e52d8311 /main.py | |
| parent | aee87b3ec0e8487101f506f229d1f5acf6245856 (diff) | |
link style
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ def folder(path: str): local_path_list = path.split("/") home_btn = soup.new_tag("a") - home_btn["class"] = "breadcrumb-button" + home_btn["class"] = "link" home_btn["href"] = "/" home_btn.string = "🏠 altaf-files" soup.select_one("#breadcrumb-container").append(home_btn) @@ -93,7 +93,7 @@ def folder(path: str): soup.select_one("#breadcrumb-container").append(new_sep) new_btn = soup.new_tag("a") - new_btn["class"] = "breadcrumb-button" + new_btn["class"] = "link" new_btn["href"] = "/" + "/".join(local_path_list[0:i + 1]) new_btn.string = local_path_list[i] soup.select_one("#breadcrumb-container").append(new_btn) |
