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.
 
 
 
 

148 lines
7.3 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/bootstrap.min.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/commonmin.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/indexmin.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/index.css"}}" />
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/common.css"}}" />
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
</head>
<body
class="home page-template-default page page-id-1106 et_bloom et_monarch et_pb_button_helper_class et_fullwidth_nav et_non_fixed_nav et_show_nav et_primary_nav_dropdown_animation_flip et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_cover_background windows et_pb_gutters4 et_pb_pagebuilder_layout et_smooth_scroll et_no_sidebar et_divi_theme et-db">
<div id="page-container">
<header id="main-header" data-height-onload="80" style="height: 96px;">
<div class="container clearfix et_menu_container" style="height: 100%;">
<div class="logo_container">
<a href="{{.IndexUrl}}">
<img src="{{replaceImage .Logo}}" width="1000" height="100" alt="logo"
id="logo" data-height-percentage="47"></a>
</div>
<div id="et-top-navigation" data-height="80" data-fixed-height="46">
<nav id="top-menu-nav">
<ul id="top-menu" class="nav">
<li id="menu-item-51"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-51">
<a href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
{{if .HasAbout }}
<li id="menu-item-1302"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1302">
<a href="{{.AboutUrl}}">{{ lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li id="menu-item-1329"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1329">
<a href="{{.ContactUrl}}">{{ lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li id="menu-item-1117"
class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1117">
<a href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
{{end}}
</ul>
</nav>
</div>
</div>
</header>
<section id="content" class="container d-lg-flex">
<div id="articles-latest" class="col-lg-12 col-md-24">
<div class="block-title">
<div class="text">{{lang "latest"}}</div>
</div>
<!-- default article list start -->
{{ range .Articles }}
<div class="article d-lg-flex">
<a class="image" href="{{.Url}}" target="_blank">
<img src="{{getCover .Cover 300 180}}" alt="Cover Image" />
</a>
<div class="content">
<a class="title" href="{{.Url}}" target="_blank">{{.Title}}</a>
<div class="description">
{{.Summary}}
</div>
<div class="info">
<span>{{timeFormat .PublishTime}}</span>
/
<span>{{.Views}} {{lang "views"}}</span>
</div>
</div>
</div>
{{end}}
<!-- default article list end -->
<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>
</section>
<footer id="main-footer">
<div class="container">
<div id="footer-widgets" class="clearfix">
<div class="footer-widget"></div>
<div class="footer-widget"></div>
<div class="footer-widget"></div>
<div class="footer-widget"></div>
</div>
</div>
<div id="et-footer-nav">
<div class="container">
<ul id="menu-bottom-menu" class="bottom-nav">
<li id="menu-item-1073"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1073"><a
href="{{.IndexUrl}}">{{ lang "home"}}</a></li>
{{if .HasAbout }}
<li id="menu-item-5905"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5905"><a
href="{{.AboutUrl}}">{{ lang "about"}}</a></li>
{{end}}
{{if .HasContact }}
<li id="menu-item-1072"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1072"><a
href="{{.ContactUrl}}">{{ lang "contact"}}</a></li>
{{end}}
{{if .HasPolicy }}
<li id="menu-item-1074"
class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1074"><a
href="{{.PolicyUrl}}">{{ lang "policy"}}</a></li>
{{end}}
</ul>
</div>
</div>
<div id="footer-bottom">
<div class="container clearfix">
<div id="footer-info">{{.Copyright}}</div>
</div>
</div>
</footer>
<link type="text/css" rel="stylesheet" href="{{staticFile "/css/et-divi-dynamic-1106.css"}}" />
</div>
</body>
</html>