Skip to content

Commit 3af183f

Browse files
Copilotmvadari
andcommitted
Add XRPL favicon to XLS Standards website
Co-authored-by: mvadari <8029314+mvadari@users.noreply.github.com>
1 parent badee2b commit 3af183f

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

site/assets/favicon.ico

14.7 KB
Binary file not shown.

site/build_site.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ def build_site():
148148
else:
149149
raise FileNotFoundError(f"CSS file not found: {css_source}")
150150

151+
# Copy favicon
152+
favicon_source = assets_dir / "favicon.ico"
153+
favicon_dest = site_dir / "assets" / "favicon.ico"
154+
if favicon_source.exists():
155+
shutil.copy2(favicon_source, favicon_dest)
156+
else:
157+
print(f"Warning: Favicon not found: {favicon_source}")
158+
151159
print(f"Site built successfully! Generated {len(xls_docs)} XLS documents.")
152160

153161
# Count by status for reporting

site/templates/base.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<!-- Dynamic page title - can be overridden by child templates -->
1616
<title>{% block title %}{{ title }}{% endblock %}</title>
1717

18+
<!-- Favicon -->
19+
<link rel="icon" href="{{ base_url }}/assets/favicon.ico" type="image/x-icon">
20+
1821
<!-- Main stylesheet with XRPL.org themed styling -->
1922
<link rel="stylesheet" href="{{ base_url }}/assets/style.css">
2023

0 commit comments

Comments
 (0)