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

124 lines
4.2 KiB

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<link href='{{staticFile "/css/global.css"}}' rel='stylesheet' type='text/css' />
<link href='{{staticFile "/css/style.css"}}' rel='stylesheet' type='text/css' />
<meta name="keywords" content="{{.Keywords}}">
<meta name="description" content="{{.Description}}">
<title>{{.Title}}</title>
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body>
<div id="b_header">
<div class="wrap">
<div class="leftbar">
<div class="title"><a href="{{.IndexUrl}}"><img src="{{replaceImage .Logo}}" alt="" style="width: 170px;"></a>
</div>
</div>
<div class="rightbar menu-btn">
<div class="menu"><i></i><i></i><i></i></div>
<div class="nav">
<div class="item"><a href="{{.IndexUrl}}" target="_blank">{{ lang "home"}}</a></div>
{{if .HasAbout }}
<div class="item"><a href="{{.AboutUrl}}" target="_blank">{{ lang "about"}}</a></div>
{{end}}
{{if .HasContact }}
<div class="item"><a href="{{.ContactUrl}}" target="_blank">{{ lang "contact"}}</a></div>
{{end}}
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="spacing"></div>
<div class="main_con wrap">
<div class="leftbar fl">
<div id="blog_list">
<div id="blog_list">
{{ range .Articles }}
<div class="container">
<div class="item">
<div class="para">{{timeFormat .PublishTime}} | <span>{{.Views}}</span> {{lang "views"}}</div>
<h2><a href="{{.Url}}" target="_blank">{{.Title}}</a></h2>
<div class="bg"></div>
<div class="con"> {{.Summary}}</div>
<div class="img"><img src="{{getCover .Cover 300 180}}"></div>
<div class="line"></div>
</div>
</div>
<div class="spacing"></div>
{{end}}
</div>
</div>
{{$pulen := len .PrevUrl}}
{{ if ne $pulen 0 }}
<a class="container blog_list_more" href="{{.PrevUrl}}">{{lang "prev"}}</a>
{{ end }}
{{$nulen := len .NextUrl}}
{{ if ne $nulen 0 }}
<a class="container blog_list_more" href="{{.NextUrl}}">{{lang "next"}}</a>
{{end}}
</div>
<div class="rightbar fr">
<div class="container">
{{$plen := len .PopularArticles}}
{{if ne $plen 0}}
<div class="category">
<div class="title">{{lang "popular"}}</div>
<div class="bg"></div>
<ul>
{{range $i,$v := .PopularArticles}}
{{if eq $i 0}}
<li style="margin-top:0; border-top:0;"><a href="{{.Url}}">{{.Title}}</a></li>
{{else}}
<li><a href="{{.Url}}">{{.Title}}</a></li>
{{end}}
{{end}}
</ul>
</div>
{{end}}
</div>
<div class="spacing"></div>
</div>
<div class="clear"></div>
</div>
<div id="b_footer">
<div class="wrap">
<div class="row footer-wrapper" >
<div class="item"><a href="{{.IndexUrl}}" target="_blank">{{ lang "home"}}</a></div>
{{if .HasAbout }}
<div class="item"><a href="{{.AboutUrl}}" target="_blank">{{ lang "about"}}</a></div>
{{end}}
{{if .HasContact }}
<div class="item"><a href="{{.ContactUrl}}" target="_blank">{{ lang "contact"}}</a></div>
{{end}}
{{if .HasPolicy }}
<div class="item"><a href="{{.PolicyUrl}}" target="_blank">{{ lang "policy"}}</a></div>
{{end}}
{{$flen := len .Friendship}}
{{if ne $flen 0}}
{{range .Friendship}}
<div class="item"><a href="{{.Url}}" target="_blank">{{.Name}}</a></div>
{{end}}
{{end}}
</div>
<div class="row">{{.Copyright}}</div>
<div class="row"></div>
</div>
</div>
</body>
<script src="{{staticFile "/js/index.js"}}"></script>
</html>