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.
 
 
 
 
cms_templates/bestreviews/policy.html

109 lines
3.5 KiB

<!DOCTYPE html>
<html lang='en-US'>
<head>
<head>
<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 rel="stylesheet" media="all" href="{{staticFile "/css/application.css"}}" data-turbolinks-track="true" />
</head>
<body>
<div class='brg_editorial_list__gray-bg'>
<header>
<div class="logo">
<a href="{{.IndexUrl}}"><img src="{{replaceImage .Logo}}" alt="" style="width: 170px"></a>
</div>
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
</ul>
</header>
<div class='brg_editorial_header brg_editorial_header__main_page'>
<div class='brg_editorial_header__wrapper brg_editorial_header__wrapper__main_page'>
<h1 class='brg_editorial_header__title'>
{{lang "policy"}}
</h1>
</div>
</div>
<nav class='brg_editorial_anchors'>
<div class='brg_editorial_anchors__indicator' front-role='anchor_link_indicator'></div>
<a class='brg_editorial_anchors__link'
front-role='anchor_link' href='#'>
{{lang "popular"}}
</a>
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
{{range .PopularArticles}}
<a class='brg_editorial_anchors__link'
front-role='anchor_link' href='{{.Url}}'>
{{.Title}}
</a>
{{end}}
{{end}}
</nav>
<div class='anchors_slim_container rf_container'>
<a class='brg_editorial_anchor_target' id='guide'></a>
<section>
<article class='brg_editorial_shopping_guide' style="height: 700px">
{{.Policy}}
</article>
</section>
</div>
</div>
<footer class='brg_footer--extended brg_editorial_footer'>
<div class='brg_footer__nav brg_editorial_footer__container'>
<ul class='brg_nav rf_container brg_editorial_footer__mobile--right'>
<li class='brg_nav__item'>
<a class="brg_nav__link" href="{{.IndexUrl}}">{{lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class='brg_nav__item'>
<a class="brg_nav__link" href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class='brg_nav__item'>
<a class="brg_nav__link" href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class='brg_nav__item'>
<a class="brg_nav__link" href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
{{$flen := len .Friendship}}
{{if ne $flen 0}}
{{range .Friendship}}
<li class='brg_nav__item'>
<a class="brg_nav__link" href="{{.Url}}">{{.Name}}</a>
</li>
{{end}}
{{end}}
</ul>
<ul class='brg_nav rf_container less_padding brg_editorial_footer__mobile--left'>
<li class='brg_footer__copyright'>
{{.Copyright}}
</li>
</ul>
</div>
</footer>
</body>
</html>