Initial commit.
Signed-off-by: Andreas Widen <aw@luflow.net>
This commit is contained in:
commit
a4a5c7daa5
1389 changed files with 241399 additions and 0 deletions
62
templates/blog_post.stpl
Normal file
62
templates/blog_post.stpl
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE-edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="keywords" content="luflow Blog, <%= self.topics_comma_separated %>">
|
||||
<meta name="description" content="<%= self.snippet %>">
|
||||
<link type="application/atom+xml" rel="alternate" title="luflow.net — Activity Feed" href="/feeds/blog.atom">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="icon" type="image/svg+xml" sizes="any" href="/static/img/icon.svg" />
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="stylesheet" href="/static/css/common.css">
|
||||
<link rel="stylesheet" href="/static/css/elements.css">
|
||||
<link rel="stylesheet" href="/static/css/buttons.css">
|
||||
<link rel="stylesheet" href="/static/css/breadcrumbs.css">
|
||||
<link rel="stylesheet" href="/static/css/header.css">
|
||||
<link rel="stylesheet" href="/static/css/footer.css">
|
||||
<link rel="stylesheet" href="/static/css/page.css">
|
||||
<link rel="stylesheet" href="/static/css/post.css">
|
||||
<link rel="stylesheet" href="/static/highlight/styles/stackoverflow-light.min.css">
|
||||
<script src="/static/highlight/highlight.min.js"></script>
|
||||
<title><%= self.title %> | luflow.net</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
|
||||
<% include!("./partials/header.stpl"); %>
|
||||
|
||||
<% include!("./partials/blog_post_breadcrumbs.stpl"); %>
|
||||
|
||||
<main>
|
||||
<article class="page-post centered-block limit-width" lang="en">
|
||||
<h2><%= self.title %></h2>
|
||||
<p class="post-metadata centered-text" lang="en"><%= self.author %> — <%= self.published.to_string() %></p>
|
||||
<%- self.html %>
|
||||
<% include!("./partials/blog_post_topic_list.stpl"); %>
|
||||
<% include!("./partials/blog_post_license_bysa4.0.stpl"); %>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<% include!("./partials/footer.stpl"); %>
|
||||
|
||||
</div>
|
||||
|
||||
<% include!("./partials/script_core.stpl"); %>
|
||||
<% include!("./partials/script_copy_to_clipboard.stpl"); %>
|
||||
<% include!("./partials/script_highlight.stpl"); %>
|
||||
<script>
|
||||
// make menu item active visually:
|
||||
let menuItem = document.getElementById("Blog");
|
||||
if (menuItem)
|
||||
{
|
||||
menuItem.classList.add("menu-item-active");
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in a new issue