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

114 lines
6.9 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">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/style.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/details.css"}}" />
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body>
<div id="___gatsby">
<div style="outline:none" tabindex="-1" id="gatsby-focus-wrapper">
<div data-is-root-path="true" class="sc-hKgILt gTLZXx">
<header class="sc-bdfBwQ navbar___StyledHeader-sc-169lgwj-0 cIKpxU jykdff">
<div class="navbar___StyledDiv-sc-169lgwj-2 edKxSR">
<div class="navbar___StyledDiv2-sc-169lgwj-3 jEdftS">
<a alt="home" href="{{.IndexUrl}}" class="sc-dlfnbm bcaJjD">
<div style="width:108px;height:45px" class="gatsby-image-wrapper navbar___StyledGatsbyImage-sc-169lgwj-1 hkwdFQ">
<img src="{{replaceImage .Logo}}" style="height:38px" alt="logo" />
</div>
</a></div>
<nav id="nav-menu" class="nav__NavElement-sc-16m3hoy-0 fJyXSv">
<ul class="nav___StyledUl-sc-16m3hoy-1 fkavMS">
<li class="item__ListItem-a71004-0 kNlUlw">
<a href="{{.IndexUrl}}" class="item__NavLink-a71004-1 koaVlp">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="item__ListItem-a71004-0 kNlUlw">
<a href="{{.AboutUrl}}" class="item__NavLink-a71004-1 koaVlp">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="item__ListItem-a71004-0 kNlUlw">
<a href="{{.ContactUrl}}" class="item__NavLink-a71004-1 koaVlp">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="item__ListItem-a71004-0 kNlUlw">
<a href="{{.PolicyUrl}}" class="item__NavLink-a71004-1 jrTajz">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</nav>
</div>
</header>
<main class="sc-eCssSg layout___StyledMain-sc-1xvv2zr-0 hmocIu gLJbUw">
<section class="hero__Section-sc-1hsfj45-0 eefNJY">
<div class="hero__Wrapper-sc-1hsfj45-1 hOYLtp">
<h4 class="hero___StyledH-sc-1hsfj45-2 ivMdwN">{{.Title}}</h4>
</div>
</section>
<div class="pages__Wrapper-sc-1nbib7n-1 gVhHph">
<div class="d-lg-flex">
<div id="article-container" class="col-lg-12 col-md-24">
<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>
</main>
<footer class="footer__FooterStyle-sc-1cfpe4a-0 cgVTtX">
<footer class="footer__FooterWrapper-sc-1cfpe4a-1 eYYwoG">
<div class="footer__CopyWrite-sc-1cfpe4a-2 bUdvev"><span>{{.Copyright}}</span></div>
<ul class="nav-list__List-sc-1xtkge0-0 aBAOU">
<li class="nav-list___StyledLi-sc-1xtkge0-2 fTpVeh"><a href="{{.IndexUrl}}"
class="nav-list__NavLink-sc-1xtkge0-1 bPtUiu">{{ lang "home"}}</a></li>
<li class="nav-list___StyledLi-sc-1xtkge0-2 fTpVeh"><a href="{{.AboutUrl}}"
class="nav-list__NavLink-sc-1xtkge0-1 bPtUiu">{{ lang "about"}}</a></li>
<li class="nav-list___StyledLi-sc-1xtkge0-2 fTpVeh"><a href="{{.ContactUrl}}"
class="nav-list__NavLink-sc-1xtkge0-1 bPtUiu">{{ lang "contact"}}</a></li>
<li class="nav-list___StyledLi-sc-1xtkge0-2 fTpVeh"><a href="{{.PolicyUrl}}"
class="nav-list__NavLink-sc-1xtkge0-1 bPtUiu">{{ lang "policy"}}</a></li>
</ul>
</footer>
</footer>
</div>
</div>
</div>
</body>
</html>