shiori/internal/view/archive.html
Ed Summers f23c982ee3
fix: webroot not working in archive view (#1043)
Without this the archive page fails to render.
2024-12-31 09:27:31 +01:00

24 lines
732 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<base href="$$.RootPath$$">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>$$.Book.Title$$</title>
<link rel="stylesheet" href="assets/css/archive.css" />
</head>
<body class="archive">
<div id="shiori-archive-header" class="header">
<p id="shiori-logo"><span></span>shiori</p>
<div class="spacer"></div>
<a href="$$.Book.URL$$" target="_blank">View Original</a>
$$if .Book.HasContent$$
<a href="bookmark/$$.Book.ID$$/content">View Readable</a>
$$end$$
</div>
<iframe src="bookmark/$$.Book.ID$$/archive/file/" frameborder="0"></iframe>
</body>
</html>