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

221 lines
10 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/content.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/details.css"}}" />
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body
class="home page-template-default page page-id-3205 wp-custom-logo wp-embed-responsive post-image-aligned-center sticky-menu-fade mobile-header mobile-header-logo no-sidebar nav-float-right separate-containers nav-search-enabled header-aligned-left dropdown-hover"
itemscope>
<header class="site-header has-inline-mobile-toggle" id="masthead" aria-label="Site" itemscope>
<div class="inside-header grid-container">
<div class="site-logo">
<a href="{{.IndexUrl}}" title="Golf Guidebook" rel="home">
<img data-perfmatters-preload class="header-image is-logo-image" alt="Golf Guidebook"
src="{{replaceImage .Logo}}" title="Golf Guidebook" width="2013" height="402" />
</a>
</div>
<nav class="main-navigation has-menu-bar-items sub-menu-right" id="site-navigation" aria-label="Primary"
itemscope>
<div class="inside-navigation grid-container">
<div id="primary-menu" class="main-nav">
<ul id="menu-golf-guidebook-main-menu" class=" menu sf-menu">
<li id="menu-item-30618"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-30618"><a
href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li id="menu-item-33110"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-33110"><a
href="{{.AboutUrl}}">{{ lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li id="menu-item-32364"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-32364">
<a href="{{.ContactUrl}}">{{ lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li id="menu-item-32359"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-32359"><a
href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</nav>
</div>
</header>
<div class="site grid-container container hfeed" id="page">
<div class="site-content" id="content">
<div class="content-area" id="primary">
<main class="site-main" id="main">
<article id="post-3205" class="post-3205 page type-page status-publish mv-content-wrapper grow-content-body"
itemscope>
<div class="inside-article">
<div class="entry-content" itemprop="text">
<section class="gb-block-post-grid featuredpost aligncenter">
<section id="content" class="container">
<div id="breadcrumb">
<a href="{{.IndexUrl}}">{{lang "home"}}</a>
<a href="#">{{.Title}}</a>
</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-8 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 id="article-popular-recommend" class="col-lg-4 col-md-12">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<div class="block-title">
<div class="text">{{lang "popular"}}</div>
</div>
<div id="article-popular">
<!-- popular article list start -->
{{range .PopularArticles}}
<div class="article d-flex">
<a href="{{.Url}}" target="_blank">
<img class="image" src="{{getCover .Cover 125 75}}" alt="Cover Image" />
</a>
<div class="content">
<a class="title" href="{{.Url}}" target="_blank">{{.Title}}</a>
<div class="info">
<span>{{timeFormat .PublishTime}}</span>
/
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
</div>
{{end}}
<!-- popular article list end -->
</div>
{{end}}
{{$rlen := len .RecommendArticles}}
{{if ne $rlen 0}}
<div class="block-title">
<div class="text">{{lang "recommend"}}</div>
</div>
<div id="article-recommend">
<!-- recommend article list start -->
{{range .RecommendArticles}}
<div class="article d-flex">
<a href="{{.Url}}" target="_blank">
<img class="image" src="{{getCover .Cover 125 75}}" alt="Cover Image" />
</a>
<div class="content">
<a class="title" href="{{.Url}}" target="_blank">{{.Title}}</a>
<div class="info">
<span>{{timeFormat .PublishTime}}</span>
/
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
</div>
{{end}}
<!-- recommend article list end -->
</div>
{{end}}
</div>
</div>
</section>
</section>
</div>
</div>
</article>
</main>
</div>
</div>
</div>
<div class="site-footer footer-bar-active footer-bar-align-center">
<footer class="site-info" aria-label="Site" itemscope>
<div class="inside-site-info grid-container">
<div class="footer-bar">
<aside id="text-16" class="widget inner-padding widget_text">
<div class="textwidget">
<p></p>
<div class="legal-info-container">
<p>
<a href="{{.IndexUrl}}">{{lang "home"}}</a> |
{{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}}
</p>
</div>
</div>
</aside>
</div>
<div class="copyright-bar">{{.Copyright}}</div>
</div>
</footer>
</div>
</body>
</html>