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.
 
 
 
 

164 lines
4.6 KiB

<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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">
<link rel="shortcut icon" type="image/png" href="{{replaceImage .Favicon}}" />
<link rel='stylesheet' id='classic-theme-styles-css' href="{{staticFile "/css/classic-themes.min.css@ver=1.css"}}"
media='all' />
<link rel='stylesheet' id=' sb-blog-style-css' href="{{staticFile "/css/style.css@ver=1668641311.css"}}"
media='all' />
</head>
<body class="home page-template-default page page-id-6756 wp-embed-responsive no-sidebar">
<div id="page" class="site">
<div id="site-header">
<div class="container">
<header id="main-header">
<div id="sb-logo" class="txt-cent-md">
<a href="{{.IndexUrl}}" class="logo"><img style="height: 50px;" src="{{replaceImage .Logo}}" alt="logo" /></a>
</div>
<nav id="site-nav">
<div class="menu-menu-us-container">
<ul id="primary-menu" class="menu">
<li id="menu-item-6764"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-6764">
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
</li>
<li id="menu-item-6764"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-6764">
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
</li>
<li id="menu-item-6764"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-6764">
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
</li>
<li id="menu-item-6764"
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-6764">
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
</li>
</ul>
</nav>
</header>
</div>
</div>
<main id="primary" class="site-main">
<div class="container">
<h1 id="title">{{.Title}}</h1>
<img width="100%" src="{{getCover .Article.Pictures}}" />
<p >{{timeFormat .PublishTime}}</p>
<p >{{.Article.Summary}}</p>
{{range .Article.Topics}}
<p><strong>{{.Topic}}</strong></p>
{{$tlen := len .Pictures}}
{{if ne $tlen 0}}
{{range .Pictures}}
<img width="100%" src="{{replaceImage .}}" />
{{end}}
{{end}}
<p style="margin: 0;">{{.Content}}</p>
{{end}}
<div class="article-page" style="padding: 10px 0;">
{{ if .Prev }}
<div class="hidden-text">
<a href="{{.Prev.Url}}">{{lang "prev_article"}}:{{.Prev.Title}}</a>
</div>
{{ end }}
{{ if .Next }}
<div class="hidden-text">
<a href="{{.Next.Url}}">{{lang "next_article"}}:{{.Next.Title}}</a>
</div>
{{ end }}
</div>
</div>
</main><!-- #main -->
<footer id="site-footer">
<div class="container" >
<img class="logo" src="{{replaceImage .Logo}}" alt="logo" />
<div style=" display: flex;
justify-content: space-around;">
<div >
<div class="title" style="color: #fff;margin-bottom: 10px;">{{lang "related"}}</div>
<div class="links">
{{if .HasAbout }}
<li class="nav-item" style="list-style: none;">
<a href="{{.AboutUrl}}" style="color: #ccc;">{{lang "about"}}</a>
</li>
{{end}}
{{if .HasContact }}
<li class="nav-item" style="list-style: none;">
<a href="{{.ContactUrl}}" style="color: #ccc;">{{lang "contact"}}</a>
</li>
{{end}}
{{if .HasPolicy }}
<li class="nav-item" style="list-style: none;">
<a href="{{.PolicyUrl}}" style="color: #ccc;">{{lang "policy"}}</a>
</li>
{{end}}
</div>
</div>
<div>
{{$flen := len .Friendship}}
{{if ne $flen 0}}
<div class="title" style="color: #fff;margin-bottom: 10px;">{{lang "friendship"}}</div>
<!-- friend links start -->
{{range .Friendship}}
<li style="list-style: none;"><a href="{{.Url}}" style="color: #ccc;">{{.Name}}</a></li>
{{end}}
<!-- friend links end -->
</div>
{{end}}
</div>
</div>
<p style="color: #fff; text-align: center;">{{.Copyright}}</p>
</div>
</footer>
</div>
</body>
</html>