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/onemedical/details.html

122 lines
4.3 KiB

<!DOCTYPE html>
<html class="no-js" 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}}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<link type="text/css" rel="stylesheet" href="{{staticFile "css/bootstrap.min.css"}}" />
<link rel="stylesheet" type="text/css" href="{{staticFile "css/app.fe8e90277ac546b55b02.css"}}" />
</head>
<body class="template-blog-index noscript js-focus">
<nav class="navigation js-navigation">
<div class="navigation__wrapper row row-xs--between row-xs--middle">
<a href="{{.IndexUrl}}"><img style="width: 240px;" src="{{replaceImage .Logo}}" alt="logo" /></a>
<ul class="navigation__list row row-xs--middle">
<li class="navigation__item col-xs--hide col-nb--show-inline-block">
<a class="navigation__anchor js-header-item" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="navigation__item col-xs--hide col-nb--show-inline-block">
<a class="navigation__anchor js-header-item" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="navigation__item col-xs--hide col-nb--show-inline-block">
<a class="navigation__anchor js-header-item" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="navigation__item col-xs--hide col-nb--show-inline-block">
<a class="navigation__anchor js-header-item" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</nav>
<article role="main">
<div class="container" style="padding: 130px 0 20px;">
<div id="article-head">
<h2 id="title">{{.Title}}</h2>
<div>
<span>{{timeFormat .PublishTime}}</span>
<h1>{{.Views}} {{lang "views"}}</h1>
</div>
</div>
<div class="d-lg-flex">
<div id="article-container" class="col-lg-12 col-md-12">
<article id="article">
<img width="100%" src="{{getCover .Article.Pictures}}" />
<p class="speakableTextP1">{{.Article.Summary}}</p>
{{range .Article.Topics}}
<p><strong>{{.Topic}}</strong></p>
{{$tlen := len .Pictures}}
{{if ne $tlen 0}}
{{range .Pictures}}
<img width="100%" src="{{replaceImage .}}" />
{{end}}
{{end}}
<p>{{.Content}}</p>
{{end}}
</article>
<!-- article content end -->
<div class="article-page">
{{ if .Prev }}
<div class="hidden-text">
<a href="{{.Prev.Url}}">{{lang "prev_article"}}:{{.Prev.Title}}</a>
</div>
{{ end }}
{{ if .Next }}
<div class="hidden-text">
<a href="{{.Next.Url}}">{{lang "next_article"}}:{{.Next.Title}}</a>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</article>
<footer class="footer row">
<div class="footer__logo-wrapper col-xs-12">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<div class="footer__links col-xs-12 col-md-8">
<ul class="footer__links-list">
{{if .HasAbout }}
<li class="footer__links-item">
<a href="{{.AboutUrl}}" class="footer__links-link">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="footer__links-item">
<a href="{{.ContactUrl}}" class="footer__links-link">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="footer__links-item">
<a href="{{.PolicyUrl}}" class="footer__links-link">{{lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
<div class="footer__subfooter row row-md--between row-xs--middle">
<div class="footer__copyright col-xs--clear col-lg--unclear">{{.Copyright}}</div>
</div>
</footer>
</body>
</html>