Skip to content

Commit 289a656

Browse files
save file
1 parent 303c477 commit 289a656

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

html-components/list/file-mod/file-mod.html

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@
3131

3232
<script>
3333

34+
35+
var component = 'file-mod';
36+
var date = '2026-02-09';
37+
38+
3439
var df=true,did='html'
3540
;
3641

3742
var base = 'https://libs.ext-code.com/html/';
38-
var component = 'file-mod';
3943

4044
var ace;
4145
var md;
@@ -145,10 +149,22 @@
145149
<h2 class=title style='top:20px'>
146150
file-mod
147151
</h2>
148-
<time slot=date datetime=2026-02-09>
149-
09 Feb 2026
152+
<time slot=date datetime=2026-02-10>
153+
10 Feb 2026
150154
</time>
151155
</html-components-hdr>
156+
<script>
157+
/*
158+
{
159+
let hdr = document.querySelector('html-components-hdr');
160+
hdr.querySelector('h2').textContent = component;
161+
hdr.querySelector('time').setAttribute('datetime',date);
162+
let d = new Date(date);
163+
let formatted = d.toLocaleDateString('en-GB',{day:'2-digit',month:'short',year:'numeric'});
164+
hdr.querySelector('time').textContent = formatted;
165+
}
166+
*/
167+
</script>
152168

153169

154170
<div id=readme class=markdown-body></div>

0 commit comments

Comments
 (0)