album/templates/page_base.rs.html

21 lines
451 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: Vec<Link>, user: Option<String>, content: Content)
<!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)
<h1>@title</h1>
@:content()
</body>
</html>