combine index.html with index.ejs

This commit is contained in:
Ray Elliott 2021-02-24 14:11:25 +00:00
parent 69d163dbf3
commit ca337c2ff9
2 changed files with 15 additions and 41 deletions

View File

@ -1,37 +0,0 @@
<!doctype html>
<html class="no-js is-loading" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/main.css">
<script>
document.documentElement.classlist.remove('no-js');
</script>
</head>
<body>
<header class="header"></header>
<main class="main"></main>
<footer class="footer"></footer>
<script src="js/index.js"></script>
</body>
</html>

View File

@ -1,6 +1,6 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html class="no-js is-loading" lang="en">
<html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -11,19 +11,30 @@
<meta name="description" content="THE DESCRIPTION IS THIS!"> <meta name="description" content="THE DESCRIPTION IS THIS!">
<meta name="author" content="I AM THE AUTHOR"> <meta name="author" content="I AM THE AUTHOR">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<script>
document.documentElement.classlist.remove('no-js');
</script>
</head> </head>
<body> <body>
<header> <header class="header">
</header> </header>
<main id="js-main"> <main id="js-main" class="main">
<%# weird loader string syntax because https://github.com/bazilio91/ejs-compiled-loader/issues/46 %> <%# weird loader string syntax because https://github.com/bazilio91/ejs-compiled-loader/issues/46 %>
<%- require('!!ejs-compiled-loader?{}!./partials/component.ejs')({ text: 'text is text yahh!!!' }) %> <%- require('!!ejs-compiled-loader?{}!./partials/component.ejs')({ text: 'text is text yahh!!!' }) %>
</main> </main>
<footer> <footer class="footer">
</footer> </footer>
</body> </body>
</html> </html>