cms系统的站点模板库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

160 lines
4.2 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{{.Title}}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="referrer" content="unsafe-url">
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
<link href="{{staticFile "/css/bootstrap.min.css"}}" rel="stylesheet" />
<link href="{{staticFile "/css/video-js.min.css"}}" rel="stylesheet" />
<link href="{{staticFile "/css/owl.carousel.min.css"}}" rel="stylesheet" />
<link href="{{staticFile "/css/owl.theme.default.min.css"}}" rel="stylesheet" />
<link href="{{staticFile "/css/site.min.css"}}" rel="stylesheet" />
</head>
<body class="blue blue- bloglanding preload">
<nav class="header">
<div class="primary">
<div class="container-fluid">
<ul class="clearfix list-unstyled">
<li>
<a href="{{.IndexUrl}}">
<img src="{{replaceImage .Logo}}" width="100px" alt="Logo">
</a>
</li>
<li >
<a href="{{.IndexUrl}}" onclick="">
{{ lang "home"}}
</a>
</li>
{{if .HasAbout }}
<li >
<a href="{{.AboutUrl}}" onclick="">
{{ lang "about"}}
</a>
</li>
{{end}}
{{if .HasContact }}
<li >
<a href="{{.ContactUrl}}" onclick="">
{{ lang "contact"}}
</a>
</li>
{{end}}
{{if .HasPolicy }}
<li >
<a href="{{.PolicyUrl}}" onclick="">
{{ lang "policy"}}
</a>
</li>
{{end}}
</ul>
</div>
</div>
</nav>
<main>
<div class="container" style="height: 100vh;">
<h1>{{ lang "about" }}
</h1>
<div class="row">
<div class="col-lg-9 col-sm-8 col-xs-12 primary">
<div class="media">
<div class="media-body">
{{.About}}
</div>
</div>
<br />
</div>
<div class="col-lg-3 col-sm-4 col-xs-12 sidebar">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{{lang "popular"}}</h3>
</div>
<div class="panel-body">
<div class="collection list">
<ul>
{{range .PopularArticles}}
<li>
<a href="{{.Url}}">
{{.Title}}
</a>
</li>
{{end}}
</ul>
</div>
</div>
</div>
{{end}}
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col-xs-12 text-center">
<br>
<br>
{{.Copyright}}
<div class="bottom-matter hidden-print">
{{if .HasAbout }}
<span class="separator">|</span>
<a href="{{.AboutUrl}}">
{{lang "about"}}
</a>
{{end}}
{{if .HasContact }}
<span class="separator">|</span>
<a href="{{.ContactUrl}}">
{{lang "contact"}}
</a>
{{end}}
{{if .HasPolicy }}
<span class="separator">|</span>
<a href="{{.PolicyUrl}}">
{{lang "policy"}}
</a>
{{end}}
{{$flen := len .Friendship}}
{{if ne $flen 0}}
{{range .Friendship}}
<span class="separator">|</span>
<a href="{{.Url}}">
{{.Name}}
</a>
{{end}}
{{end}}
</div>
</div>
</div>
</div>
</footer>
</body>
</html>