diff options
Diffstat (limited to 'views/layouts/base.eta')
| -rw-r--r-- | views/layouts/base.eta | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/views/layouts/base.eta b/views/layouts/base.eta new file mode 100644 index 0000000..fb644f5 --- /dev/null +++ b/views/layouts/base.eta @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title><%= it.title %></title> + <link rel="stylesheet" href="/static/style.css"> + <% for (const src of it.scripts ?? []) { %> + <script src="<%= src %>" defer></script> + <% } %> +</head> +<body> + <%~ it.body %> + + <footer>Generated by cgithub commit <code><%= it.buildCommit %></code> ยท <a href="<%= it.githubUrl %>" rel="noreferrer">View original</a></footer> +</body> +</html> |
