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.
 
 
 
 

164 lines
5.7 KiB

<!DOCTYPE html>
<html class="" 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">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/common.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/index.css"}}" />
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body class="ATOMIC" role="main">
<header class="header header-1 ">
<div class="wrap a-backgroundcolor3">
<div class="nav-header a-maxwidth1180px">
<div class="brand">
<a href="{{.IndexUrl}}" class="logo" aria-label="Link to home page">
<img class="a-height111px a-margintopmarginbottom10px a-marginleft10px" src="{{replaceImage .Logo}}"
alt="logo">
</a>
<button class="nav-toggle" data-target="nav-list" aria-label="Expand navigation menu" aria-expanded="false">
<span class="a-backgroundcolor2"></span>
<span class="a-backgroundcolor2"></span>
<span class="a-backgroundcolor2"></span>
</button>
</div>
</div>
</div>
<nav class="nav1 a-backgroundcolor0 toggle-menu" style="display: none;">
<ul class="nav-list nav-hb a-bordercolor4 a-maxwidth1180px">
<li class="a-backgroundcolor0">
<a id="home" href="{{.IndexUrl}}" class="clickable" target="_self">
<span class=" a-color3">{{lang "Home"}}</span>
</a>
</li>
{{if .HasAbout }}
<li class="drop">
<button class="drop-nav-item">
<a id="about" href="{{.AboutUrl}}" class="clickable" target="_self">
<span class=" a-color3">{{lang "ABOUT"}}</span>
</a>
</button>
</li>
{{end}}
{{if .HasContact }}
<li class="drop">
<button class="drop-nav-item">
<a id="patient-resources" href="{{.ContactUrl}}" class="" target="">
<span class=" a-color3">{{lang "CONTACT"}}</span>
</a>
</button>
</li>
{{end}}
{{if .HasPolicy }}
<li class="a-backgroundcolor0">
<a id="privacy-policy" href="{{.PolicyUrl}}" class="clickable" target="_blank">
<span class=" a-color3">{{lang "POLICY"}}</span>
</a>
</li>
{{end}}
</ul>
</nav>
</header>
<section class="herosub herosub-1 a-backgroundcolor1">
<div class="hero ">
<div id="hero-cloak" class="cloak a-backgroundcolor2
a-opacity2"></div>
<div id="hero-titles" class="hero-titles a-maxwidth940px
a-paddingtop60px
a-paddingbottom60px">
<div id="hero-titles-inner" class="hero-titles-inner">
<h1 class="main-text
primary-font text-shadow a-fontsize26px
a-textaligncenter
a-color3" id="sub-primary-title">{{lang "home"}}</h1>
</div>
</div>
</div>
</section>
<section class="blog-listings ">
<div class="row" id="blog-listings">
{{ range .Articles }}
<article style="display: block;">
<div>
<a href="{{.Url}}" aria-label="Link to full blog My Neck Hurts in the Morning">
<div class="img-wrapper">
<img src="{{getCover .Cover " list"}}">
</div>
<h2 class="title primary-fg">{{.Title}}</h2>
</a>
<div class="img-description">
{{.Summary}}
</div>
<div class="date-published">{{timeFormat .PublishTime}}</div>
</div>
</article>
{{end}}
</div>
<div class="load-more-row">
<div about="0" typeof='{"type":"PAGE", "secondary_type": "BLOG", "type_id": null, "fieldname": "load-more"}'>
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<button id="load-more" property="fieldtext"><a href="{{.PrevUrl}}">{{lang "Prev"}}</a></button>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<button id="load-more" property="fieldtext"><a href="{{.NextUrl}}">{{lang "Next"}}</a></button>
{{ end }}
</div>
</div>
</section>
<footer>
<div class="row">
<div class="span12">
<ul>
<li>
<div class="copy">
<div class="copyright">{{.Copyright}}</div>
</div>
</li>
{{if .HasAbout }}
<li>
<a href="{{.AboutUrl}}" rel="nofollow">{{lang "ABOUT"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li>
<a href="{{.ContactUrl}}" rel="nofollow">{{lang "CONTACT"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li><a href="{{.PolicyUrl}}" rel="nofollow" id="footer-link-accessibility-notice">{{lang "POLICY"}}</a></li>
{{end}}
</ul>
</div>
<div class="span12 powered-by">
<img class="logo" src="{{replaceImage .Logo}}" alt="logo" />
</div>
</div>
</footer>
<div class="yt-player">
<div class="inner">
<button type="button" class="close-yt-player" aria-labelledby="Close video">&times;</button>
<iframe title="Video container" aria-label="Video container" width="680" height="377" src="blog.html"
allowFullScreen mozallowfullscreen webkitAllowFullScreen></iframe>
</div>
</div>
<script src="{{staticFile "/js/jquery.js"}}" defer="1" async="1"></script>
<script src="{{staticFile "/js/common.js"}}" defer="1" async="1"></script>
</body>
</html>