album/templates/page_base.rs.html

27 lines
605 B
HTML
Raw Normal View History

2016-12-19 10:19:26 +04:00
@use ::Link;
2016-09-26 01:45:13 +03:00
@use templates::head;
@use templates::statics::style_css;
2016-09-26 01:45:13 +03:00
@(title: &str, lpath: &[Link], user: &Option<String>, content: Content)
2016-09-26 01:45:13 +03:00
<!doctype html>
<html>
<head>
<title>@title</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="/static/@style_css.name" type="text/css"/>
2016-09-26 01:45:13 +03:00
</head>
<body>
@:head(lpath, user)
2017-02-11 15:20:48 +04:00
<main>
<h1>@title</h1>
@:content()
</main>
<footer>
<p>Managed by
<a href="https://github.com/kaj/rphotos">rphotos, which is
open source</a>.</p>
</footer>
2016-09-26 01:45:13 +03:00
</body>
</html>