mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-16 18:05:39 +08:00
fix: webroot not working in archive view (#1043)
Without this the archive page fails to render.
This commit is contained in:
parent
8be5775313
commit
f23c982ee3
1 changed files with 4 additions and 3 deletions
|
@ -2,10 +2,11 @@
|
|||
<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="$$.RootPath$$assets/css/archive.css" />
|
||||
<link rel="stylesheet" href="assets/css/archive.css" />
|
||||
</head>
|
||||
|
||||
<body class="archive">
|
||||
|
@ -14,10 +15,10 @@
|
|||
<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>
|
||||
<a href="bookmark/$$.Book.ID$$/content">View Readable</a>
|
||||
$$end$$
|
||||
</div>
|
||||
<iframe src="/bookmark/$$.Book.ID$$/archive/file/" frameborder="0"></iframe>
|
||||
<iframe src="bookmark/$$.Book.ID$$/archive/file/" frameborder="0"></iframe>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue