swap home path representation for md editor

This commit is contained in:
Til Schmitter 2026-04-11 13:33:46 +02:00
parent 3070f2e373
commit 97a8d8e833
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ var dbg = function () { };
link += parts[a] + (a < aa ? '/' : '');
o = mknod('a');
o.setAttribute('href', link);
o.textContent = uricom_dec(parts[a].split('?')[0]) || 'top';
o.textContent = uricom_dec(parts[a].split('?')[0]) || '🏠';
dom_nav.appendChild(o);
}
})();

View file

@ -9,7 +9,7 @@ var dom_md = ebi('mt');
(function () {
var n = location + '';
n = (n.slice(n.indexOf('//') + 2).split('?')[0] + '?v').split('/');
n[0] = 'top';
n[0] = '🏠';
var loc = [];
var nav = [];
for (var a = 0; a < n.length; a++) {