29 行
1.3 KiB
ERB
29 行
1.3 KiB
ERB
<!doctype html>
|
|
<html lang="ja">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<meta name="referrer" content="no-referrer">
|
|
<meta http-equiv="Content-Security-Policy"
|
|
content="default-src 'none'; script-src 'self'; style-src 'self'; connect-src 'self'; form-action 'none'; base-uri 'none'">
|
|
<title><%= h(@title) %></title>
|
|
<link rel="stylesheet" href="<%= h(relative('assets/archive.css')) %>">
|
|
<script defer src="<%= h(relative('archive-config.js')) %>"></script>
|
|
<script defer src="<%= h(relative('assets/archive.js')) %>"></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<p>静的保存版 — データ基準時点: <time><%= h(data_at) %></time></p>
|
|
<nav>
|
|
<a href="<%= h(relative('index.html')) %>">Static Mirror 生成機能</a>
|
|
<a href="<%= h(relative("#{ @locale.code }/posts/index.html")) %>">Post</a>
|
|
<a href="<%= h(relative("#{ @locale.code }/tags/index.html")) %>">Tag</a>
|
|
<a href="<%= h(@origin + @original_path) %>" data-original="<%= h(@original_path) %>"
|
|
target="_blank" rel="noopener noreferrer">本家へのリンク</a>
|
|
</nav>
|
|
</header>
|
|
<main><h1><%= h(@title) %></h1><%= linked_content %></main>
|
|
</body>
|
|
</html>
|