Page MenuHomeSealhub

html.html.js
No OneTemporary

html.html.js

const hashFile = require('../lib/hash-file.js');
const navbar = require('./navbar/navbar.html');
const styleCssHash = hashFile('public/styles/style.css');
module.exports = async ({ title, class_name }, body) => /* HTML */ `
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>${title ? title + ' | ' : ''}Sealcode</title>
<link
href="/styles/style.${styleCssHash}.css"
rel="stylesheet"
type="text/css"
/>
</head>
<body class="${class_name}">
${await navbar()} ${await body}
</body>
</html>
`;

File Metadata

Mime Type
text/html
Expires
Thu, Jul 3, 03:05 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
726854
Default Alt Text
html.html.js (699 B)

Event Timeline