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.
 
 
 
 

229 lines
9.5 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/index.css"}}" />
</head>
<body data-rsssl=1 itemtype='https://schema.org/Blog' itemscope='itemscope'
class="blog wp-custom-logo aawp-custom ast-desktop ast-plain-container ast-right-sidebar astra-3.9.4 ast-header-custom-item-inside group-blog ast-inherit-site-logo-transparent ast-blog-grid-2 ast-blog-layout-1 ast-pagination-circle ast-above-mobile-menu-align-stack ast-default-menu-enable ast-default-above-menu-enable ast-default-below-menu-enable ast-advanced-headers ast-full-width-layout ast-sticky-header-shrink ast-inherit-site-logo-sticky astra-addon-3.9.3">
<div class="hfeed site" id="page">
<header
class="site-header header-main-layout-1 ast-primary-menu-enabled ast-logo-title-inline ast-hide-custom-menu-mobile ast-menu-toggle-icon ast-mobile-header-inline ast-above-header-mobile-stack ast-below-header-mobile-stack"
id="masthead" itemtype="https://schema.org/WPHeader" itemscope="itemscope" itemid="#masthead">
<div class="main-header-bar-wrap">
<div class="main-header-bar">
<div class="ast-container">
<div class="ast-flex main-header-container">
<div class="site-branding">
<div class="ast-site-identity" itemtype="https://schema.org/Organization"
itemscope="itemscope">
<span class="site-logo-img">
<a href="{{.IndexUrl}}" class="custom-logo-link" rel="home">
<img width="120" height="54" alt="logo" decoding="async"
sizes="(max-width: 120px) 100vw, 120px"
nitro-lazy-srcset="{{replaceImage .Logo}} 120w, {{replaceImage .Logo}} 250w"
nitro-lazy-src="{{replaceImage .Logo}}" class="custom-logo nitro-lazy"
nitro-lazy-empty src="{{replaceImage .Logo}}" />
</a>
</span>
</div>
</div>
<div class="ast-main-header-bar-alignment">
<div class="main-header-bar-navigation">
<nav class="site-navigation ast-flex-grow-1 navigation-accessibility"
id="primary-site-navigation" aria-label="Site Navigation"
itemtype="https://schema.org/SiteNavigationElement" itemscope="itemscope">
<div class="main-navigation">
<ul id="primary-menu"
class="main-header-menu ast-menu-shadow ast-nav-menu ast-flex ast-justify-content-flex-end submenu-with-border ast-mega-menu-enabled">
<li
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-has-children menu-item-14329">
<a class="menu-link" href="{{.IndexUrl}}"><span class="menu-text">{{
lang "home"}}</span></a>
</li>
{{if .HasAbout }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-has-children menu-item-14329">
<a class="menu-link" href="{{.AboutUrl}}"><span class="menu-text">{{
lang "about" }}</span></a>
</li>
{{end}}
{{if .HasContact }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-has-children menu-item-14329">
<a class="menu-link" href="{{.ContactUrl}}"><span
class="menu-text">{{ lang "contact" }}</span></a>
</li>
{{end}}
{{if .HasPolicy }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-has-children menu-item-14329">
<a class="menu-link" href="{{.PolicyUrl}}"><span
class="menu-text">{{ lang "policy"}}</span></a>
</li>
{{end}}
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<div id="content" class="site-content">
<div class="ast-container">
<div id="primary" class="content-area primary ast-grid-2">
<main id="main" class="site-main">
<div class="ast-row">
{{ range .Articles }}
<article
class="post-14411 post type-post status-publish format-standard has-post-thumbnail hentry category-travel ast-col-sm-12 ast-article-post ast-col-md-6 ast-separate-posts"
id="post-14411">
<div class="ast-post-format- blog-layout-1 ast-no-date-box">
<div class="post-content ast-col-md-12">
<div class="ast-blog-featured-section post-thumb ast-col-md-12">
<div class="post-thumb-img-content post-thumb"><a href="{{.Url}}">
<img width="1200" height="801" alt="" decoding="async"
itemprop="image" sizes="(max-width: 1200px) 100vw, 1200px"
nitro-lazy-srcset="{{getCover .Cover}} 1534w, {{getCover .Cover}} 2048w"
nitro-lazy-src="{{getCover .Cover}}"
content="{{getCover .Cover}}"
class="attachment-large size-large wp-post-image nitro-lazy"
nitro-lazy-empty src="{{getCover .Cover}}" /></a>
</div>
</div>
<header class="entry-header">
<h2 class="entry-title" itemprop="headline"><a href="{{.Url}}"
rel="bookmark" style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:2;">{{.Title}}</a></h2>
<div class="entry-meta">
<span class="posted-on">
<span class="published" itemprop="datePublished">{{timeFormat
.PublishTime}}</span>
</span>
</div>
</header>
<div class="entry-content clear" itemprop="text">
<p style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:3;">{{.Summary}}</p>
<p class="read-more"> <a class="" href="{{.Url}}">{{.Views}} {{lang
"views"}}</a></p>
</div>
</div>
</div>
</article>
{{end}}
</div>
</main>
<div class='ast-pagination'>
<nav class="navigation pagination" role="navigation" aria-label="Posts"> <span
class="screen-reader-text">Posts navigation</span>
<div class="nav-links">
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<a class="prev page-numbers" href="{{.PrevUrl}}">{{lang "prev"}}
<span class="ast-right-arrow">
</span>
</a>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<a class="next page-numbers" href="{{.NextUrl}}">{{lang "next"}}
<span class="ast-right-arrow">&rarr;
</span>
</a>
{{ end }}
</div>
</nav>
</div>
</div>
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<div class="widget-area secondary" id="secondary">
<div class="sidebar-main">
<aside id="block-2" class="widget widget_block widget_recent_entries">
<ul class="wp-block-latest-posts__list wp-block-latest-posts">
{{range .PopularArticles}}
<li>
<div class="wp-block-latest-posts__featured-image"><img width="150" height="150"
alt="Dispersed camping near Silverton" decoding="async"
nitro-lazy-src="{{getCover .Cover}}"
class="attachment-thumbnail size-thumbnail wp-post-image nitro-lazy"
nitro-lazy-empty src="{{getCover .Cover}}" />
</div>
<a class="wp-block-latest-posts__post-title" 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>
</div>
</div>
{{end}}
</div>
</div>
<footer class="site-footer" id="colophon" itemtype="https://schema.org/WPFooter" itemscope="itemscope"
itemid="#colophon">
<div class="footer-adv footer-adv-layout-4">
<div class="footer-adv-overlay">
<div class="ast-container">
<div class="ast-row">
<div
class="ast-col-lg-3 ast-col-md-3 ast-col-sm-12 ast-col-xs-12 footer-adv-widget footer-adv-widget-4">
<div id="text-2" class="widget widget_text">
<div class="textwidget">
<p><strong>{{lang "related"}}</strong></p>
{{if .HasAbout }}
<li class="nav-item">
<a href="{{.AboutUrl}}">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a href="{{.ContactUrl}}">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a href="{{.PolicyUrl}}">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ast-small-footer footer-sml-layout-1">
<div class="ast-footer-overlay">
<div class="ast-container">
<div class="ast-small-footer-wrap">
<div class="ast-small-footer-section ast-small-footer-section-1">{{.Copyright}}</div>
</div>
</div>
</div>
</div>
</footer>
</div>
</body>
</html>