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.
 
 
 
 

346 lines
14 KiB

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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 rel='stylesheet' id='astra-theme-css-css'
href="{{staticFile "/css/frontend.min.css@ver=3.9.4.css"}}" media='all' />
<link rel="stylesheet" href="{{staticFile "css/index.css"}}">
</head>
<body
class="archive category category-blog-sous-vide category-8 wp-custom-logo has-grow-sidebar ast-mobile-inherit-site-logo ast-inherit-site-logo-transparent ast-hfb-header ast-desktop ast-plain-container ast-right-sidebar astra-3.9.4">
<div class="hfeed site" id="page">
<header
class="site-header header-main-layout-2 ast-primary-menu-enabled ast-logo-title-inline ast-hide-custom-menu-mobile ast-builder-menu-toggle-icon ast-mobile-header-stack"
id="masthead" >
<div id="ast-desktop-header" data-toggle-type="dropdown">
<div class="ast-main-header-wrap main-header-bar-wrap ">
<div class="ast-primary-header-bar ast-primary-header main-header-bar site-header-focus-item"
data-section="section-primary-header-builder">
<div class="site-primary-header-wrap ast-builder-grid-row-container site-header-focus-item ast-container"
data-section="section-primary-header-builder">
<div
class="ast-builder-grid-row ast-grid-center-col-layout-only ast-flex ast-grid-center-col-layout">
<div
class="site-header-primary-section-center site-header-section ast-flex ast-grid-section-center">
<div class="ast-builder-layout-element ast-flex site-header-focus-item"
data-section="title_tagline">
<div class="site-branding ast-site-identity"
>
<span class="site-logo-img">
<a href="{{.IndexUrl}}"
class="custom-logo-link" rel="home">
<img width="348" height="116"
src="{{replaceImage .Logo}}" alt="logo"
class="custom-logo"
/></a></span>
</div>
<!-- .site-branding -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ast-below-header-wrap ">
<div class="ast-below-header-bar ast-below-header site-header-focus-item"
data-section="section-below-header-builder">
<div class="site-below-header-wrap ast-builder-grid-row-container site-header-focus-item ast-container"
data-section="section-below-header-builder">
<div class="ast-builder-grid-row ast-builder-grid-row-has-sides ast-grid-center-col-layout">
<div
class="site-header-below-section-left site-header-section ast-flex site-header-section-left">
<div
class="site-header-below-section-left-center site-header-section ast-flex ast-grid-left-center-section">
</div>
</div>
<div
class="site-header-below-section-center site-header-section ast-flex ast-grid-section-center">
<div class="ast-builder-menu-1 ast-builder-menu ast-flex ast-builder-menu-1-focus-item ast-builder-layout-element site-header-focus-item"
data-section="section-hb-menu-1">
<div class="ast-main-header-bar-alignment">
<div class="main-header-bar-navigation">
<nav class="site-navigation ast-flex-grow-1 navigation-accessibility site-header-focus-item"
id="primary-site-navigation" aria-label="Site Navigation"
>
<div class="main-navigation ast-inline-flex">
<ul id="ast-hf-menu-1"
class="main-header-menu ast-menu-shadow ast-nav-menu ast-flex submenu-with-border stack-on-mobile">
<li id="menu-item-38"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor current-menu-ancestor current-menu-parent current-category-parent menu-item-has-children menu-item-38">
<a href="{{.IndexUrl}}"
class="menu-link a-icon">{{ lang "home"}}</a>
</li>
<li id="menu-item-38"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor current-menu-ancestor current-menu-parent current-category-parent menu-item-has-children menu-item-38">
<a href="{{.AboutUrl}}"
class="menu-link a-icon">{{ lang "about" }}</a>
</li>
<li id="menu-item-38"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor current-menu-ancestor current-menu-parent current-category-parent menu-item-has-children menu-item-38">
<a href="{{.ContactUrl}}"
class="menu-link a-icon">{{ lang "contact"}}</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ast-desktop-header-content content-align-flex-start ">
</div>
</div> <!-- Main Header Bar Wrap -->
<div id="ast-mobile-header" class="ast-mobile-header-wrap " data-type="dropdown">
<div class="ast-main-header-wrap main-header-bar-wrap">
<div class="ast-primary-header-bar ast-primary-header main-header-bar site-primary-header-wrap site-header-focus-item ast-builder-grid-row-layout-default ast-builder-grid-row-tablet-layout-default ast-builder-grid-row-mobile-layout-default"
data-section="section-primary-header-builder">
<div
class="ast-builder-grid-row ast-grid-center-col-layout-only ast-flex ast-grid-center-col-layout">
<div
class="site-header-primary-section-center site-header-section ast-flex ast-grid-section-center">
<div class="ast-builder-layout-element ast-flex site-header-focus-item"
data-section="title_tagline">
<div class="site-branding ast-site-identity"
>
<span class="site-logo-img"><a href="{{.IndexUrl}}"
class="custom-logo-link" rel="home"><img
src="{{replaceImage .Logo}}" alt="logo"
class="custom-logo"
/></a></span>
</div>
<!-- .site-branding -->
</div>
</div>
</div>
</div>
</div>
</div>
</header><!-- #masthead -->
<div id="content" class="site-content">
<div class="ast-container">
<div id="primary" class="content-area primary">
<section class="ast-archive-description">
<h1 class="page-title ast-archive-title">{{.Title}}</h1>
</section>
<main id="main" class="site-main">
<div class="ast-row">
<img width="100%" src="{{getCover .Article.Pictures}}" />
<p>{{timeFormat .PublishTime}}</p>
<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}}
<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>
</main><!-- #main -->
</div><!-- #primary -->
<div class="widget-area secondary" id="secondary" >
<div class="sidebar-main">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<aside id="block-11" class="widget widget_block widget_text">
<p style="font-size:26px"><strong>{{lang "related"}}</strong>:</p>
</aside>
<aside id="block-19" class="widget widget_block widget_recent_entries">
<ul class="wp-block-latest-posts__list has-dates alignwide wp-block-latest-posts">
{{range .PopularArticles}}
<li>
<a class="wp-block-latest-posts__post-title"
href="{{.Url}}" target="_blank">{{.Title}}</a>
</li>
{{end}}
</ul>
</aside>
{{end}}
</div><!-- .sidebar-main -->
<div class="sidebar-main">
{{$rlen := len .RecommendArticles}}
{{if ne $rlen 0}}
<aside id="block-11" class="widget widget_block widget_text">
<p style="font-size:26px"><strong>{{lang "recommend"}}</strong>:</p>
</aside>
<aside id="block-19" class="widget widget_block widget_recent_entries">
<ul class="wp-block-latest-posts__list has-dates alignwide wp-block-latest-posts">
{{range .RecommendArticles}}
<li>
<a class="wp-block-latest-posts__post-title"
href="{{.Url}}" target="_blank">{{.Title}}</a>
</li>
{{end}}
</ul>
</aside>
{{end}}
</div><!-- .sidebar-main -->
</div><!-- #secondary -->
</div> <!-- ast-container -->
</div><!-- #content -->
<footer class="site-footer" id="colophon"
itemid="#colophon">
<div class="site-above-footer-wrap ast-builder-grid-row-container site-footer-focus-item ast-builder-grid-row-4-equal ast-builder-grid-row-tablet-full ast-builder-grid-row-mobile-full ast-footer-row-stack ast-footer-row-tablet-stack ast-footer-row-mobile-stack"
data-section="section-above-footer-builder">
<div class="ast-builder-grid-row-container-inner">
<div class="ast-builder-footer-grid-columns site-above-footer-inner-wrap ast-builder-grid-row">
<div class="site-footer-above-section-3 site-footer-section site-footer-section-3">
<aside class="footer-widget-area widget-area site-footer-focus-item"
data-section="sidebar-widgets-footer-widget-3" aria-label="Footer Widget 3">
<div class="footer-widget-area-inner site-info-inner">
<section id="nav_menu-17" class="widget widget_nav_menu">
<h2 class="widget-title">{{lang "related"}}</h2>
<nav class="menu-footer-bar-categories-container" aria-label="Categories">
<ul id="menu-footer-bar-categories" class="menu">
<li id="menu-item-485"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor menu-item-485">
<a href="{{.AboutUrl}}" class="menu-link">{{lang "about"}}</a>
</li>
<li id="menu-item-485"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor menu-item-485">
<a href="{{.ContactUrl}}" class="menu-link">{{lang "contact"}}</a>
</li>
<li id="menu-item-485"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor menu-item-485">
<a href="{{.PolicyUrl}}" class="menu-link">{{lang "policy"}}</a>
</li>
</ul>
</nav>
</section>
</div>
</aside>
</div>
<div class="site-footer-above-section-2 site-footer-section site-footer-section-2">
<aside class="footer-widget-area widget-area site-footer-focus-item"
data-section="sidebar-widgets-footer-widget-2" aria-label="Footer Widget 2">
<div class="footer-widget-area-inner site-info-inner"></div>
</aside>
</div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="site-footer-above-section-3 site-footer-section site-footer-section-3">
<aside class="footer-widget-area widget-area site-footer-focus-item"
data-section="sidebar-widgets-footer-widget-3" aria-label="Footer Widget 3">
<div class="footer-widget-area-inner site-info-inner">
<section id="nav_menu-17" class="widget widget_nav_menu">
<h2 class="widget-title">{{lang "friendship"}}</h2>
<nav class="menu-footer-bar-categories-container" aria-label="Categories">
<ul id="menu-footer-bar-categories" class="menu">
{{range .Friendship}}
<li id="menu-item-485"
class="menu-item menu-item-type-taxonomy menu-item-object-category current-category-ancestor menu-item-485">
<a href="{{.Url}}" class="menu-link">{{.Name}}</a>
</li>
{{end}}
</ul>
</nav>
</section>
</div>
</aside>
</div>
{{end}}
<div class="site-footer-above-section-4 site-footer-section site-footer-section-4">
</div>
</div>
</div>
</div>
<div class="site-below-footer-wrap ast-builder-grid-row-container site-footer-focus-item ast-builder-grid-row-full ast-builder-grid-row-tablet-full ast-builder-grid-row-mobile-full ast-footer-row-stack ast-footer-row-tablet-stack ast-footer-row-mobile-stack"
data-section="section-below-footer-builder">
<div class="ast-builder-grid-row-container-inner">
<div class="ast-builder-footer-grid-columns site-below-footer-inner-wrap ast-builder-grid-row">
<div class="site-footer-below-section-1 site-footer-section site-footer-section-1">
<div class="ast-builder-layout-element ast-flex site-footer-focus-item ast-footer-copyright"
data-section="section-footer-builder">
</div>
<div class="footer-widget-area widget-area site-footer-focus-item ast-footer-html-1"
data-section="section-fb-html-1">
<div class="ast-header-html inner-link-style-">
<div class="ast-builder-html-element">
<p>{{.Copyright}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
</body>
</html>