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

198 lines
6.4 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/styles.css"}}" />
<!-- <link type="text/css" rel="stylesheet" href="{{staticFile "/css/bootstrap.min.css"}}" /> -->
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body class="home blog wp-custom-logo">
<header class="site-header">
<div class="container">
<div class="row">
<div class="columns xs-12 s-12 m-12 l-12">
<h1 class="brand-headline"><a href="{{.IndexUrl}}" class="custom-logo-link" rel="home"><img
class="custom-logo" loading="lazy" src="{{replaceImage .Logo}}" width="125" height="45"
alt="Logo"></a></h1>
<nav class="site-nav">
<ul id="menu-mainnavigation" class="menu">
<li id="menu-item-102031"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-102031"><a
href="{{.IndexUrl}}"><span>{{ lang "home"}}</span></a></li>
<li id="menu-item-21364"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21364"><a
title="Ratgeber" href="{{.AboutUrl}}"><span>{{ lang "about" }}</span></a></li>
<li id="menu-item-102035"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-102035"><a
href="{{.ContactUrl}}"><span>{{ lang "contact" }}</span></a></li>
<li id="menu-item-21359"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21359"><a
title="Inside Teufel" href="{{.PolicyUrl}}"><span>{{ lang "policy"}}</span></a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<main class="site-main" style="padding: 2em 0;">
<div class="container">
<div class="row">
<div class="columns xs-12 s-12 m-8 l-8">
<div class="main-content">
{{ range .Articles }}
<article id="post-108159"
class="teaser post-108159 post type-post status-publish format-standard has-post-thumbnail hentry category-entertainment tag-black-friday tag-cyber-monday tag-entertainment tag-rabattaktion tag-singles-day tag-teufel-rabatt tag-weihnachtsgeschenke">
<div class="row">
<div class="columns xs-12 s-6 m-6 l-6">
<a class="image-container" href="{{.Url}}"
title="Vom Brückentag zum Shopping-Event: Die Geschichte des Black Friday">
<img class="responsively-lazy" src="{{getCover .Cover 300 180}}" width="360"
height="270">
</a>
</div>
<div class="columns xs-12 s-6 m-6 l-6">
<h4 class="post-category"><a href="{{.Url}}" rel="category tag">{{timeFormat .PublishTime}}/{{.Views}} {{lang "views"}}</a></h4>
<h2 class="page-title"><a href="{{.Url}}"
title="Vom Brückentag zum Shopping-Event: Die Geschichte des Black Friday">{{.Title}}</a>
</h2>
<p>{{.Summary}}
</p>
</div>
</div>
</article>
{{end}}
<nav class="pagination">
<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>
</nav>
</div>
</div>
<div class="columns xs-12 s-12 m-4 l-4" id="aside">
<aside class="sidebar">
<div class="widget_text widget-custom_html-4">
<div class="textwidget custom-html-widget">
<div id="teufelad" class="teufelad">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<div class="block-title">
<div class="text">{{lang "popular"}}</div>
</div>
<div id="article-popular">
<!-- popular article list start -->
{{range .PopularArticles}}
<div class="article d-flex">
<a href="{{.Url}}" target="_blank">
<img class="image" src="{{getCover .Cover 125 75}}" alt="Cover Image" style="margin: 0;"/>
</a>
<div class="content">
<a class="title" href="{{.Url}}" target="_blank">{{.Title}}</a>
<div class="info">
<span>{{timeFormat .PublishTime}}</span>
/
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
</div>
{{end}}
<!-- popular article list end -->
</div>
{{end}}
</div>
</div>
</div>
</aside>
</div>
</div>
</div>
</main>
<footer class="site-footer">
<div class="site-footer-middle">
<div class="container" style="text-align: center;">
{{range .Friendship}}
<a href="{{.Url}}">{{.Name}}</a>
{{end}}
</div>
</div>
<div class="site-footer-bottom">
<div class="container">
<div class="row">
<div class="columns xs-12 s-12 m-12 l-12"
style="display: flex; justify-content: center; align-items: center;">
<nav class="footer-nav">
<ul id="menu-footernavigation" class="menu" style="height: 100%;">
{{if .HasAbout }}
<li id="menu-item-19476"
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-19476">
<a title="Startseite" href="{{.AboutUrl}}" aria-current="page">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li id="menu-item-19476"
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-19476">
<a title="Startseite" href="{{.ContactUrl}}" aria-current="page">{{lang
"contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li id="menu-item-19476"
class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-19476">
<a title="Startseite" href="{{.PolicyUrl}}" aria-current="page">{{lang
"policy"}}</a>
</li>
{{end}}
</ul>
</nav>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>