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

129 lines
4.7 KiB

<!DOCTYPE html>
<html lang="en-GB" class="no-js">
<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, maximum-scale=1">
<meta name="referrer" content="unsafe-url">
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}" />
<link rel='stylesheet' type='text/css' media='all' href="{{staticFile "css/bootstrap.min.css"}}" />
<link rel="stylesheet" href="{{staticFile "css/custom.css"}}" />
</head>
<body class="home blog">
<header class="band page-header bg-fixed" id="site-header">
<div class="container pt-1 pb-1 pb-md-0">
<div class="row">
<div class="col-9 col-md-12 text-md-center">
<a class="site-logo" href="index.html">
<img src="{{replaceImage .Logo}}" alt="Dr Lucy Nichols">
</a>
</div>
</div>
</div>
<nav class="navbar navbar-expand-md p-0" id="main-menu">
<div class="container">
<div class="collapse navbar-collapse justify-content-md-center" id="navbarSupportedContent">
<div class="menu-main-menu-container">
<ul id="menu-main-menu" class="navbar-nav">
<li id="menu-item-82"
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home nav-item menu-item-82">
<a href="{{.IndexUrl}}" class="nav-link">{{lang "home"}}</a>
</li>
{{if .HasAbout}}
<li id="menu-item-559"
class="menu-item menu-item-type-custom menu-item-object-custom nav-item menu-item-559">
<a href="{{.AboutUrl}}" class="nav-link">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact}}
<li id="menu-item-560"
class="menu-item menu-item-type-custom menu-item-object-custom nav-item menu-item-560">
<a href="{{.ContactUrl}}" class="nav-link">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy}}
<li id="menu-item-561"
class="menu-item menu-item-type-custom menu-item-object-custom nav-item menu-item-561">
<a href="{{.PolicyUrl}}" class="nav-link">{{lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</div>
</nav>
</header>
<section class="band blog-post pt-3 pb-3 pt-md-5 pb-md-5 container">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
<span>\ {{.Title}}</span>
</div>
<div id="article-head">
<h1 id="title">{{.Title}}</h1>
<div>
<span>{{timeFormat .PublishTime}}</span>
<span> / </span>
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
<div class="d-lg-flex">
<div id="article-container" class="col-lg-12 col-md-12">
<!-- article content start -->
<!-- span class="link"
section="shortcodeLink"><a
href="/tech/mobile/the-next-iphone-moment-will-arrive-eventually-hurry-up-already/">the
iPhone</a></span> -->
<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>
</section>
<footer class="band text-center copyright-strip text-white">
<div class="container pt-2 pb-4 pb-lg-2 copyright-text">
{{if .HasAbout }}
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
{{end}}
{{if .HasContact }}
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
{{end}}
{{if .HasPolicy }}
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
{{end}}
<span>{{.Copyright}}</span>
</div>
</footer>
</body>
</html>