mirror of
https://github.com/r-ca/md2pdf-meow.git
synced 2025-12-03 12:40:47 +00:00
39 lines
1.6 KiB
HTML
39 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ja">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="openaction" content="#view=fit">
|
|
<meta name="author" content="<%= meta.author %>" />
|
|
<% if (meta.description && meta.description.length > 0) { %>
|
|
<meta name="description" content="<%= meta.description %>" />
|
|
<% } %>
|
|
<title><%= meta.title %></title>
|
|
<link rel="stylesheet" href="../css/github-markdown.css">
|
|
<link rel="stylesheet" href="../css/custom.css">
|
|
</head>
|
|
<body>
|
|
<div class="FrontCover">
|
|
<h1><%= (meta.frontCover && meta.frontCover.title) || meta.title %></h1>
|
|
<div class="Published"><%= (meta.frontCover && (meta.frontCover.published || meta.frontCover.pubDate)) || meta.published %></div>
|
|
<div class="Author"><%= (meta.frontCover && meta.frontCover.author) || meta.author %></div>
|
|
<% if (meta.description && meta.description.length > 0) { %>
|
|
<p class="Description"><%= meta.description %></p>
|
|
<% } %>
|
|
</div>
|
|
<article class="markdown-body">
|
|
<%- include('../work/all_md.html') %>
|
|
</article>
|
|
<div class="BackCover">
|
|
<div class="Colophon">
|
|
<span class="Title"><%= (meta.backCover && meta.backCover.title) || meta.title %></span><br>
|
|
<span class="PubDate"><%= (meta.backCover && (meta.backCover.pubDate || meta.backCover.published)) || meta.published %></span><br>
|
|
<span class="Copyright"><%= (meta.backCover && meta.backCover.copyright) || meta.copyright %></span>
|
|
<% if (meta.description && meta.description.length > 0) { %>
|
|
<br>
|
|
<span class="Description"><%= meta.description %></span>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|