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.
 
 
 
 

163 lines
6.1 KiB

<!DOCTYPE html>
<html lang="en-US">
<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">
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
<link rel="stylesheet" href="{{staticFile "/css/index.css"}}">
</head>
<body class="home blog mvt-no-js bamboo bamboo-trellis mv_trellis_16x9">
<div class="before-content">
<header class="header">
<div class="wrapper wrapper-header">
<div class="header-container">
<a href="{{.IndexUrl}}" title="Lauren+Vanessa" class="header-logo">
<img src="{{replaceImage .Logo}}" height="120" width="480" style="width: 170px;" />
</a>
<div class="nav">
<div class="wrapper nav-wrapper">
<nav id="primary-nav" class="nav-container nav-closed">
<ul id="menu-top-menu" class="nav-list">
<li
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1052">
<a href="{{.IndexUrl}}" aria-current="page"><span>{{ lang "home"}}</span></a></li>
{{if .HasAbout }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1052">
<a href="{{.AboutUrl}}" aria-current="page"><span>{{ lang "about"}}</span></a></li>
{{end}}
{{if .HasContact }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1052">
<a href="{{.ContactUrl}}" aria-current="page"><span>{{ lang "contact"}}</span></a></li>
{{end}}
{{if .HasPolicy }}
<li
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1052">
<a href="{{.PolicyUrl}}" aria-current="page"><span>{{ lang "policy"}}</span></a></li>
{{end}}
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
</div>
<!-- Main Content Section -->
<div class="content">
<div class="wrapper wrapper-content">
<main id="content" class="content-container">
{{ range .Articles }}
<article class="article excerpt">
<div class="excerpt-container">
<div class="excerpt-photo">
<a href="{{.Url}}" class="excerpt-link"
title="{{.Title}}">
<figure class="post-thumbnail">
<style>
img#mv-trellis-img-2::before {
padding-top: 56.25%;
}
img#mv-trellis-img-2 {
display: block;
}
</style>
<img src="{{getCover .Cover 300 180}}" alt="" height="450" width="800">
</figure>
</a>
</div>
<div class="excerpt-post-data">
<h2 class="excerpt-title"><a
href="{{.Url}}"
class="excerpt-link">{{.Title}}</a></h2>
<div class="excerpt-excerpt">
<p>{{.Summary}}</p>
</div>
</div>
</div>
</article>
{{end}}
<div class="navigation pagination" style="padding-left: 40px;">
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<span class="next_posts"><a href="{{.PrevUrl}}">{{lang "prev"}}</a></span>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<span class="next_posts"><a href="{{.NextUrl}}">{{lang "next"}}</a></span>
{{end}}
</div>
</main>
<aside class="sidebar sidebar-primary">
<div id="block-5" class="mv_trellis_mobile_hide widget-container widget_block">
<ul class="wp-block-page-list">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
{{range .PopularArticles}}
<li class="wp-block-pages-list__item"><a class="wp-block-pages-list__item__link"
href="{{.Url}}">{{.Title}}</a></li>
{{end}}
{{end}}
</ul>
</div>
</aside>
</div>
</div>
<footer class="footer">
<div class="wrapper wrapper-footer">
<div class="footer-container">
{{if .HasAbout }}
<div class="left-footer footer-widget-area">
<div id="block-8" class="widget-container widget_block widget_text">
<p class="has-text-align-center"><a href="{{.AboutUrl}}">{{lang "about"}}</a></p>
</div>
</div>
{{end}}
{{if .HasContact }}
<div class="left-footer footer-widget-area">
<div id="block-8" class="widget-container widget_block widget_text">
<p class="has-text-align-center"><a href="{{.ContactUrl}}">{{lang "contact"}}</a></p>
</div>
</div>
{{end}}
{{if .HasPolicy }}
<div class="left-footer footer-widget-area">
<div id="block-8" class="widget-container widget_block widget_text">
<p class="has-text-align-center"><a href="{{.PolicyUrl}}">{{lang "policy"}}</a></p>
</div>
</div>
{{end}}
{{$flen := len .Friendship}}
{{if ne $flen 0}}
{{range .Friendship}}
<div class="left-footer footer-widget-area">
<div id="block-8" class="widget-container widget_block widget_text">
<p class="has-text-align-center"><a href="{{.Url}}">{{.Name}}</a></p>
</div>
</div>
{{end}}
{{end}}
</div>
<div class="footer-copy">
<p>Copyright © 2022 LaurenAndVanessa. All Rights Reserved.</p>
</div>
</div>
</footer>
</body>
</html>