egoport/themes/default/index.ejs

30 lines
737 B
Text
Raw Permalink Normal View History

2023-11-20 19:32:02 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<% if (title) { %>
<title><%= title %></title>
<% } else { %>
<title>My Awesome Page</title>
<% } %>
<link rel="stylesheet" href="/assets/style.css">
</head>
<body>
<div id="left">
<% if (title) { %>
<h1><%= title %></h1>
<% } %>
<% if (subtitle) { %>
<h2><%= subtitle %></h2>
<% } %>
<p>Latest Mastodon post:</p>
<% if (mastodon){ %>
<%- include('widgets/mastodon',{mastodon:mastodon}) %>
<% } %>
2023-11-20 19:32:02 +01:00
</div>
<div id="right">
<p>Hello World</p>
</div>
</body>
</html>