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/playgolf24/index.html

186 lines
6.2 KiB

<!DOCTYPE html>
<html lang="en-US" prefix="og: https://ogp.me/ns#">
<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/classic-themes.min.css@ver=1.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/style.css@ver=2.1.4.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "css/index.css"}}" />
</head>
<body data-rsssl=1 class="home blog wp-embed-responsive right-sidebar wide elementor-default elementor-kit-1">
<div id="page" class="hfeed site">
<header id="masthead" class="site-header clearfix ">
<div id="header-text-nav-container" class="clearfix">
<div class="inner-wrap">
<div id="header-text-nav-wrap" class="clearfix">
<div id="header-left-section">
<div id="header-logo-image">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" /></a>
</div><!-- #header-logo-image -->
</div><!-- #header-left-section -->
</div><!-- #header-text-nav-wrap -->
</div><!-- .inner-wrap -->
<nav id="site-navigation" class="main-navigation clearfix" role="navigation">
<div class="inner-wrap clearfix">
<div class="menu-primary-container">
<ul id="menu-main-menu" class="menu">
<li
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_ite">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="menu-item menu-item-type-custom menu-item-object-custom current_page_ite">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="menu-item menu-item-type-custom menu-item-object-custom current_page_ite">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="menu-item menu-item-type-custom menu-item-object-custom current_page_ite">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</nav>
</div><!-- #header-text-nav-container -->
</header><!-- #masthead -->
<div id="main" class="clearfix">
<div class="inner-wrap clearfix">
<div class="main-content-section clearfix">
<div id="primary">
<div id="content" class="clearfix">
<div class="article-container">
{{ range .Articles }}
<article id="post-1868"
class="post-1868 post type-post status-publish format-standard has-post-thumbnail hentry category-best-golf-info category-golf-tips">
<div class="featured-image">
<a href="{{.Url}}">
<img width="800" height="445"
src="{{getCover .Cover}}"
data-lazy-type="image"
data-src="{{getCover .Cover}}"
class="lazy-loaded">
</a>
</div>
<div class="article-content clearfix">
<div class="below-entry-meta">
<span class="posted-on">
<a href="{{.Url}}" rel="bookmark">
<i class="fa fa-calendar-o"></i>
<div class="entry-date published">{{timeFormat .PublishTime}}</div>
</a>
</span>
</div>
<div class="entry-content clearfix">
<p>{{.Title}}</p>
<a class="more-link" title="How to Practice the Backswing in Golf"
href="{{.Url}}">
<span>{{.Views}} {{lang "views"}}</span>
</a>
</div>
</div>
</article>
{{end}}
<ul class="default-wp-page clearfix">
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<li class="previous"><a href="{{.PrevUrl}}">&larr; {{lang "prev"}}</a>
</li>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<li class="next"><a href="{{.NextUrl}}">{{lang "next"}} →</a></li>
{{ end }}
</ul>
</div>
</div>
</div>
<div id="secondary">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<aside id="recent-posts-3" class="widget widget_recent_entries clearfix">
<h3 class="widget-title"><span>{{lang "popular"}}</span></h3>
<ul>
{{range .PopularArticles}}
<li>
<a href="{{.Url}}" style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:2;">{{.Title}}</a>
</li>
{{end}}
</ul>
</aside>
{{end}}
</div>
</div>
</div><!-- .inner-wrap -->
</div><!-- #main -->
<footer id="colophon" class="clearfix ">
<div class="footer-socket-wrapper clearfix">
<div class="inner-wrap">
<div class="footer-socket-area">
<div class="footer-socket-right-section">
</div>
<div class="footer-socket-left-section">
<li class="nav-item">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
<div class="copyright">{{.Copyright}}</div>
</div>
</div><!-- .footer-socket-area -->
</div><!-- .inner-wrap -->
</div><!-- .footer-socket-wrapper -->
</footer><!-- #colophon -->
<a href="index.html#masthead" id="scroll-up"><i class="fa fa-chevron-up"></i></a>
</div><!-- #page -->
</body>
</html>