2016-12-19 10:19:26 +04:00
|
|
|
@use ::Link;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::head;
|
2017-05-08 09:09:18 +04:00
|
|
|
@use templates::statics::photos_css;
|
2016-09-26 01:45:13 +03:00
|
|
|
|
2017-02-12 18:24:39 +04: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" />
|
2017-02-16 16:59:52 +04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
2017-05-08 09:09:18 +04:00
|
|
|
<link rel="stylesheet" href="/static/@photos_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>
|