diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-08 11:37:30 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-08 11:37:30 +0200 |
| commit | 3a65681a75ba7d8534e0b9e5af62b5d3959ebc62 (patch) | |
| tree | 54ffd4e68846726bc70dc8433e5769981152769e /head.html | |
| parent | 1b63c1cf811312e0593adde95ccf8369c9f6ade2 (diff) | |
| download | cgit-theme-danix-3a65681a75ba7d8534e0b9e5af62b5d3959ebc62.tar.gz cgit-theme-danix-3a65681a75ba7d8534e0b9e5af62b5d3959ebc62.zip | |
Applied some cosmetic changes
Diffstat (limited to 'head.html')
| -rw-r--r-- | head.html | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -3,3 +3,17 @@ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> +<script> +document.addEventListener('DOMContentLoaded', function() { + var td = document.querySelector('table#header td.main'); + if (!td) return; + var homeLink = td.querySelector('a[href="/"]'); + if (!homeLink) return; + homeLink.textContent = '/repos'; + td.childNodes.forEach(function(node) { + if (node.nodeType === 3) { + node.textContent = node.textContent.replace(' : ', '/'); + } + }); +}); +</script> |
