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.
171 lines
5.9 KiB
171 lines
5.9 KiB
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
|
|
<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 rel='stylesheet' id='bootstrap-css'
|
|
|
|
href="{{staticFile "/css/bootstrap.min.css@ver=16.10.13.29.css"}}" type='text/css' media='all' />
|
|
<link rel='stylesheet' id='styles-css' href="{{staticFile "/css/styles.css@ver=16.10.13.29.css"}}"
|
|
type='text/css' media='all' />
|
|
</head>
|
|
<body class="home blog">
|
|
|
|
|
|
<header>
|
|
<div class="container-fluid top-header-wrapper">
|
|
<div class="container flex-container" id="top-header">
|
|
<div class="logo-wrapper">
|
|
<a href="{{.IndexUrl}}" class="logo"><img src="{{replaceImage .Logo}}" alt="logo" style="height: 50px;"/></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="container-fluid main-menu-wrapper">
|
|
<div class="container" id="main-menu-container">
|
|
<nav>
|
|
<div class="menu-menu-container">
|
|
<ul id="menu-menu" class="menu">
|
|
<li id="menu-item-8573"
|
|
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-8573">
|
|
<a class="nav-link" href="{{.IndexUrl}}">{{ lang "home"}}</a>
|
|
|
|
</li>
|
|
<li id="menu-item-8573"
|
|
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-8573">
|
|
<a class="nav-link" href="{{.AboutUrl}}">{{ lang "about" }}</a>
|
|
|
|
|
|
</li>
|
|
<li id="menu-item-8573"
|
|
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-8573">
|
|
<a class="nav-link" href="{{.ContactUrl}}">{{ lang "contact" }}</a>
|
|
|
|
|
|
</li>
|
|
<li id="menu-item-8573"
|
|
class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-8573">
|
|
<a class="nav-link" href="{{.PolicyUrl}}">{{ lang "policy"}}</a>
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="container">
|
|
|
|
<h1 id="main-title">{{.Title}}</h1>
|
|
|
|
</div>
|
|
|
|
<section class="container-fluid" id="home-secondary">
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
<img width="100%" src="{{getCover .Article.Pictures}}" />
|
|
<p>{{timeFormat .PublishTime}}</p>
|
|
|
|
<p class="speakableTextP1">{{.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>{{.Content}}</p>
|
|
{{end}}
|
|
|
|
|
|
<div class="article-page">
|
|
{{ 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>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</main>
|
|
<footer>
|
|
<div class="container footer-menu-container">
|
|
<div class="footer-menu">
|
|
<div class="list">
|
|
<h4>
|
|
{{lang "related"}}
|
|
</h4>
|
|
<ul>
|
|
<li>
|
|
<a href="{{.AboutUrl}}" id="footer_product_link">{{lang "about"}}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{.ContactUrl}}" id="footer_product_link">{{lang "contact"}}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{.PolicyUrl}}" id="footer_product_link">{{lang "policy"}}</a>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
{{$flen := len .Friendship}}
|
|
{{if ne $flen 0}}
|
|
<div class="list">
|
|
<h4>
|
|
{{lang "friendship"}}
|
|
</h4>
|
|
<ul>
|
|
{{range .Friendship}}
|
|
|
|
<li>
|
|
<a href="{{.Url}}" id="footer_product_link">{{.Name}}</a>
|
|
</li>
|
|
{{end}}
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container footer-secondary">
|
|
<div>
|
|
<div class="footer-info-text">
|
|
{{.Copyright}}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html> |