Skip to content

Commit cd26e30

Browse files
save file
1 parent ac9bd4c commit cd26e30

File tree

1 file changed

+183
-18
lines changed

1 file changed

+183
-18
lines changed

blog/template.html

Lines changed: 183 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,213 @@
11

22

3+
<!DOCTYPE html>
34

45
<html>
56

67
<head>
7-
8-
<title></title>
8+
<meta charset=utf-8>
9+
10+
<title>
11+
</title>
12+
13+
<meta name=description content=''>
914

10-
<base href='https://javascript-2020.github.io/blog/23-07-25/'>
15+
<base href='https://ext-code.com/blog/'>
1116
<link rel=canonical href='https://ext-code.com/blog/'>
1217

13-
<meta name=viewport content='width=device-width, initial-scale=1'>
1418
<link rel=icon type='image/png' href='/blog/image/blog-30.png'>
19+
<meta name=viewport content='width=device-width, initial-scale=1'>
20+
21+
<script type='application/ld+json'>
22+
{
23+
"@context" : "https://schema.org",
24+
"@type" : "TechArticle",
25+
"headline" : "",
26+
"description" : "",
27+
"author" : {"@type":"Person","name":"Matthew Richards"},
28+
"datePublished" : "2025-10-17",
29+
"dateModified" : "2025-10-29",
30+
"mainEntityOfPage" : {"@type":"WebPage","@id":""},
31+
"publisher" : {"@type":"Organization","name":"ext-code.com","logo":{"@type":"ImageObject","url":"https://ext-code.com/favicon.ico"}},
32+
}
33+
</script>
34+
35+
<script src='https://ajaxorg.github.io/ace-builds/src-noconflict/ace.js'></script>
36+
37+
38+
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
39+
40+
<script init>
41+
console.clear();
42+
console.log('');
43+
console.log();
44+
console.json=v=>console.log(JSON.stringify(v,null,4));
45+
var df=true,version='v2.0'
46+
;
47+
48+
var ace;
49+
50+
var ext;
51+
var $;
52+
var datatype;
53+
var menumod;
54+
var keydown;
55+
var debug;
56+
57+
var menu;
58+
59+
var hdr;
60+
var log;
61+
62+
63+
//:
64+
65+
66+
async function init(){
67+
68+
menu = menumod();
69+
70+
hdr = mod.hdr;
71+
log = mod.log;
72+
73+
hdr.initmod({ext,$});
74+
log.initmod({ext,$});
75+
76+
await Promise.all([
77+
ex.init(),
78+
log.init(),
79+
]);
80+
81+
82+
initdom(document.body);
83+
84+
85+
}//init
86+
87+
88+
(async()=>{
89+
90+
mod.stack.add;
91+
92+
({ext} = await import('https://libs.ext-code.com/js/io/ext-loader/ext-loader.m.js'));
93+
94+
var promise = ext.load.libs(
95+
'js/dom/$.js',
96+
'js/core/datatype.js',
97+
'js/dom/menumod/menumod.js',
98+
'js/dom/keydown/keydown.js',
99+
'js/debug/debug.js',
100+
);
101+
102+
[$,datatype,menumod,keydown,debug] = await promise;
103+
104+
mod.stack.complete;
105+
106+
})();
107+
108+
</script init>
109+
110+
15111

16112
<link rel=stylesheet href='/blog/css/blog.css'>
113+
114+
<style>
115+
116+
html
117+
{height:100%;font-family:arial}
118+
body
119+
{min-height:calc(100% - 40px);display:flex;flex-direction:column;gap:20px;margin:20px;align-items:center;
120+
padding-bottom:200px;
121+
}
122+
body>*
123+
{max-width:1400px;width:100%}
124+
125+
[component]
126+
{display:none}
127+
128+
.description
129+
{max-width:1000px;text-align:justify;border-left:4px solid #4a90e2;padding:1rem 2rem;
130+
background-color:#f9f9f9;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.6;color:#333}
131+
.description>p
132+
{margin:0}
133+
.description > p+p
134+
{margin:10px 0}
135+
136+
code
137+
{font-family:monospace;background:whitesmoke}
138+
code.inline
139+
{display:inline;padding:5px 10px}
140+
141+
a
142+
{color:#4a90e2;text-decoration:none;font-weight:500}
143+
a:hover
144+
{text-decoration:underline}
145+
.link-domain
146+
{font-size:0.85rem;color:#777;margin-left:0.25rem}
147+
.link-domain::before
148+
{content:'['}
149+
.link-domain::after
150+
{content:']'}
151+
.link-txt
152+
{}
153+
154+
input
155+
{font-size:16px;padding:5px 7px;box-sizing:border-box;}
156+
input[type=button]
157+
{cursor:pointer}
158+
159+
</style>
17160

18161
</head>
19162

20163

21164
<body>
22165

23166

167+
<blog-hdr component=grp1 v2.0>
168+
<h1 class=title>
169+
170+
</h1>
171+
<time slot=date datetime=2025-10-29>
172+
29 Oct 2025
173+
</time>
174+
</blog-hdr>
24175

25-
<h3>
26-
http2 server
27-
</h3>
176+
<div class=description>
177+
<p>
178+
</p>
179+
</div>
28180

29181

30-
<div id=desc>
182+
<log component v2.0></log>
31183

32-
http2 server
33184

34-
</div>
185+
</body>
35186

187+
188+
<script>
189+
36190

37-
<code>
38-
39-
40-
</code>
41-
42-
191+
function initdom(rootnode){
192+
193+
194+
ex.initdom();
195+
log.initdom();
196+
197+
198+
}//initdom
199+
200+
201+
//:
202+
203+
204+
</script>
43205

44-
</body>
45-
46206
</html>
47207

48208

209+
210+
211+
212+
213+

0 commit comments

Comments
 (0)