-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.html
33 lines (31 loc) · 996 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#fff" />
<%- include('src/templates/meta', meta) %>
<title><%= fn.getCVTitle(cv) %></title>
<style>
/* Note: if you add additional styles to this class, you should remove them in `@media print` to ensure .cv-container remains styleless when printing */
.cv-container {
border: 1px solid #ccc;
margin: 10mm auto;
}
</style>
<link rel="stylesheet" href="/src/scss/cv-base.css">
<link rel="stylesheet" href="/src/themes/<%= theme %>/index.scss">
<link rel="stylesheet" href="/index.scss">
</head>
<body>
<div class="cv-container">
<%- include('src/themes/' + theme + '/index', locals) %>
</div>
<% if (!isProduction) { %>
<!-- import theme ejs to enable HMR -->
<script type="module">
import './src/themes/<%= theme %>/index.ejs'
</script>
<% } %>
</body>
</html>