mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-15 20:37:44 +08:00
cc7c75116d
* migrate bookmark content route to new http server * new archive page * remove unused go generate comment * database mock * utils cleanup * unused var * domains refactor and tests * fixed secret key type * redirect to login on ui errors * fixed archive folder with storage domain * webroot documentation * some bookmark route tests * fixed error in bookmark domain for non existant bookmarks * centralice errors * add coverage data to unittests * added tests, refactor storage to use afero * removed mock to avoid increasing complexity * using deps to copy files around * remove config usage (to deps) * remove handler-ui file
23 lines
710 B
HTML
23 lines
710 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>$$.Book.Title$$</title>
|
|
<link rel="stylesheet" href="$$.RootPath$$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="$$.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>
|