2016-12-19 10:19:26 +04:00
|
|
|
@use ::Link;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::head;
|
2017-01-29 22:03:35 +04:00
|
|
|
@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" />
|
2017-01-29 22:03:35 +04:00
|
|
|
<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>
|