2023-01-15 09:30:13 +00:00
|
|
|
{{ define "layout/base"}}
|
|
|
|
<!DOCTYPE html>
|
2023-01-19 06:12:59 +00:00
|
|
|
<html lang="{{getLang}}" class="no-js no-svg">
|
2023-02-24 16:56:52 +00:00
|
|
|
|
|
|
|
{{template "layout/head" .}}
|
|
|
|
|
|
|
|
<body class="{{.bodyClass}}">
|
2023-01-15 09:30:13 +00:00
|
|
|
{{template "svg"}}
|
|
|
|
<div id="page" class="site">
|
|
|
|
<a class="skip-link screen-reader-text" href="#content">跳至内容</a>
|
|
|
|
|
|
|
|
<header id="masthead" class="site-header">
|
|
|
|
|
|
|
|
<div class="custom-header" style="margin-bottom: 0px;">
|
|
|
|
<div class="custom-header-media">
|
2023-01-17 15:18:31 +00:00
|
|
|
<div id="wp-custom-header" class="wp-custom-header">
|
2023-01-25 18:26:36 +00:00
|
|
|
<img src="{{.HeaderImage.Path}}" width="{{.HeaderImage.Width}}" height="{{.HeaderImage.Height}}" alt="" {{if .HeaderImage.Srcset}}srcset="{{.HeaderImage.Srcset}}" {{end}} {{if .HeaderImage.Sizes}}sizes="{{.HeaderImage.Sizes}}" {{end}}>
|
2023-01-17 15:18:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-15 09:30:13 +00:00
|
|
|
|
|
|
|
<div class="site-branding" style="margin-bottom: 0px;">
|
|
|
|
<div class="wrap">
|
2023-02-16 16:20:38 +00:00
|
|
|
{{template "common/customLogo" .}}
|
2023-01-15 09:30:13 +00:00
|
|
|
<div class="site-branding-text">
|
2023-01-17 15:18:31 +00:00
|
|
|
<h1 class="site-title">
|
|
|
|
<a href="/" rel="home">{{ "blogname"| getOption }}</a>
|
|
|
|
</h1>
|
2023-01-15 09:30:13 +00:00
|
|
|
<p class="site-description">{{"blogdescription"| getOption}}</p>
|
|
|
|
</div><!-- .site-branding-text -->
|
2023-02-04 16:07:10 +00:00
|
|
|
{{if eq .scene 1}}
|
|
|
|
<a href="#content" class="menu-scroll-down">
|
|
|
|
<svg class="icon icon-arrow-right" aria-hidden="true" role="img">
|
|
|
|
<use href="#icon-arrow-right" xlink:href="#icon-arrow-right"></use>
|
|
|
|
</svg>
|
|
|
|
<span class="screen-reader-text">向下滚动到内容</span>
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2023-01-15 09:30:13 +00:00
|
|
|
|
|
|
|
</div><!-- .wrap -->
|
|
|
|
</div><!-- .site-branding -->
|
|
|
|
|
|
|
|
</div><!-- .custom-header -->
|
|
|
|
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
2023-01-25 18:26:36 +00:00
|
|
|
{{block "content" .}}
|
2023-01-15 09:30:13 +00:00
|
|
|
|
2023-01-25 18:26:36 +00:00
|
|
|
{{end}}
|
2023-01-15 09:30:13 +00:00
|
|
|
|
2023-01-25 18:26:36 +00:00
|
|
|
<footer id="colophon" class="site-footer">
|
|
|
|
<div class="wrap">
|
|
|
|
<div class="site-info">
|
|
|
|
<a href="https://cn.wordpress.org/" class="imprint">自豪地采用WordPress</a>
|
2023-01-15 09:30:13 +00:00
|
|
|
</div>
|
2023-01-25 18:26:36 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2023-01-15 09:30:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{{template "layout/footer" .}}
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{ end }}
|