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

174 lines
8.1 KiB

<!DOCTYPE html>
<html lang="en" class="typo3-website-webbay">
<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 class="js-off" id="body-root">
<div id="root" class="page-72 login-default">
<header id="top">
<div id="logo">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" height="69" /></a>
</div>
<nav id="nav" aria-label="Navigation">
<ul class="first-level main-navigation main-menu">
<li class="nav-item active">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</nav>
</header>
<main id="content">
<div id="c159" class="frame frame-default frame-type-list list-type-news_pi1">
<div class="frame-inner wrapper">
<div class="news">
<!--TYPO3SEARCH_end-->
<div class="news-wrapper list-view blog-view layout-type-100" id="news-container-159"
data-items="12">
<ul class="ajax-container list-block-blog list-news-cnt">
{{ range .Articles }}
<li class="article news-item">
<div class="articletype-0 topnews">
<figure>
<a href="{{.Url}}">
<img src="{{getCover .Cover}}" width="525" height="350" alt="">
</a>
</figure>
<ul class="list-icon">
<li class="list-date">{{timeFormat
.PublishTime}}</li>
<li>{{.Views}} {{lang "views"}}</li>
</ul>
<h3 class="news-title" itemprop="headline" style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:2;"><a
title="Stop talking about energy supply and focus on decreasing demand instead"
href="{{.Url}}">
{{.Title}}
</a></h3>
<div itemprop="description">
<p style="
overflow: hidden; text-overflow: ellipsis;
display:-webkit-box; -webkit-box-orient:vertical;
-webkit-line-clamp:1;">{{.Summary}}</p>
</div>
</div>
</li>
{{end}}
</ul>
</div>
<!--TYPO3SEARCH_begin-->
</div>
</div>
</div>
<!--TYPO3SEARCH_end-->
<article class="module-bottom">
{{$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 }}
</article>
</main>
<div class="addthis_inline_share_toolbox idj-addthis"></div>
<footer id="footer">
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div id="c147" class="frame frame-default frame-type-textmedia ">
<div class="frame-inner wrapper">
<header>
<h3 class=""><span>{{lang "friendship"}}</span></h3>
</header>
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<ul class="list-info">
{{range .Friendship}}
<li><a href="{{.Url}}">{{.Name}}</a></li>
{{end}}
</ul>
</div>
</div>
</div>
</div>
{{end}}
<div id="c148" class="frame frame-default frame-type-textmedia ">
<div class="frame-inner wrapper">
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<p class="a-c">
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" width="196" /></a>
</p>
</div>
</div>
</div>
</div>
<nav>
<div id="c149" class="frame frame-default frame-type-textmedia ">
<div class="frame-inner wrapper">
<header>
<h2 class=""><span>{{ lang "home"}}</span></h2>
</header>
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<ul>
{{if .HasAbout }}
<li class="nav-item">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</div>
</div>
</div>
</div>
</nav>
<p>{{.Copyright}}</p>
</footer>
</div>
</body>
</html>