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

196 lines
8.9 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/main.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/index.css"}}" />
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body class="home page-template page-template-templates page-template-page-landing page-template-templatespage-landing-php page page-id-3321">
<div class="wrapper">
<div class="header-live js-header" data-module="header-live">
<span class="header__scroll-progress"></span>
<div class="container">
<div class="header-live__inner">
<header id="header" class="ready">
<div class="header__inner" style="height: 72px;display: flex;align-items: center;">
<a href="{{.IndexUrl}}" class="header__logo">
<img alt="Ring Logo" src="{{replaceImage .Logo}}" height="48"></a>
<div class="nav-product-desktop">
<ul class="nav-product-desktop__menu">
<li class="nav-link-flex nav-link--products nav-dropdown--container">
<a href="{{.IndexUrl}}" class="nav-link nav-link-dropdown" >{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-link-flex nav-link--products nav-dropdown--container">
<a href="{{.AboutUrl}}" class="nav-link nav-link-dropdown" >{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-link-flex nav-link--products nav-dropdown--container">
<a href="{{.ContactUrl}}" class="nav-link nav-link-dropdown" >{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-link-flex nav-link--products nav-dropdown--container">
<a href="{{.PolicyUrl}}" class="nav-link nav-link-dropdown" >{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</header>
</div>
</div>
</div>
</div>
<main class="main">
<div class="container">
<div class="breadcrumbs">
<p>
<div class="breadcrumb"></div>
</p>
</div>
<section data-module-vue="landing-posts">
<div id="landing-posts" class="landing-posts">
<span class="landing-posts__title">{{lang "latest"}}</span>
<div class="landing-posts__list">
<div>
<div class="posts-list posts-list--cols-3">
{{ range .Articles }}
<div class=" posts-list__list-item">
<article class="post-card post-card--post">
<div>
<a class="post-card__thumbnail" style="cursor: p;"
href="{{.Url}}">
<img class="image__img"
src="{{getCover .Cover 300 180}}" style="object-fit: cover;width: 100%;">
<button class="post-card__play plyr__control plyr__control--overlaid"></button>
</a>
</a>
<div class="post-card__wrapper">
<header class="post-card__header">
<div class=" post-card__pretitle">
<a href="{{.Url}}">{{timeFormat .PublishTime}}
<h2>{{.Title}}</h2>
</a>
</div>
</header>
<section class="post-card__link">
<a class="js-post-card-link"
href="{{.Url}}">{{.Views}} {{lang "views"}}</a>
</section>
</div>
</div>
</article>
</div>
{{end}}
</div>
<div>
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<div style="float:left;">
<a href="{{.PrevUrl}}">{{lang "prev"}}</a>
</div>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<div style="float:right;">
<a href="{{.NextUrl}}">{{lang "next"}}</a>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</section>
</div>
</main>
<div class="footer" data-module="footer">
<div class="container">
<div class="footer__wrapper">
<div class="footer__menus-section">
<div class="footer__col footer__col--1">
<div class="footer__menu-wrapper">
<div class="footer__menu-title">
<h5>{{lang "related"}}</h5>
</div>
<div class="row">
<div class="col-md-6">
<nav class="footer__nav">
<ul class="footer__menu">
<li>
<a class="footer__menu-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li>
<a class="footer__menu-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li>
<a class="footer__menu-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li>
<a class="footer__menu-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</nav>
</div>
</div>
</div>
</div>
<div class="footer__col footer__col--15">
<div class="footer__menu-wrapper">
<div class="footer__menu-title">
<h5>{{lang "friendship"}}</h5>
</div>
<div class="row">
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="col-md-6">
<nav class="footer__nav">
<ul class="footer__menu">
{{range .Friendship}}
<li>
<a class="footer__menu-link" href="{{.Url}}">{{.Name}}</a>
</li>
{{end}}
</ul>
</nav>
</div>
{{end}}
</div>
</div>
</div>
<div class="footer__col footer__col--15">
<div class="footer__menu-wrapper">
<div class="footer__menu-title">
<h5>{{.Copyright}}</h5>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>