47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
{{ define "layout/base"}}
|
|
<!DOCTYPE html>
|
|
<html lang="{{getLang}}" class="no-js">
|
|
<head>
|
|
{{template "layout/head" .}}
|
|
{{block "head" .}}
|
|
{{end}}
|
|
</head>
|
|
<body class="{{.bodyClass}}">
|
|
{{template "svg"}}
|
|
<div id="page" class="hfeed site">
|
|
<a class="skip-link screen-reader-text" href="#content">
|
|
|
|
</a>
|
|
|
|
<div id="sidebar" class="sidebar" style="position: relative; ">
|
|
<header id="masthead" class="site-header">
|
|
<div class="site-branding">
|
|
{{template "common/customLogo" .}}
|
|
<h1 class="site-title">
|
|
<a href="/" rel="home">{{ "blogname"| getOption }}</a>
|
|
</h1>
|
|
<p class="site-description">{{"blogdescription"| getOption}}</p>
|
|
<button class="secondary-toggle">菜单和挂件</button>
|
|
</div><!-- .site-branding -->
|
|
</header>
|
|
<div id="secondary" class="secondary">
|
|
{{template "layout/sidebar" .}}
|
|
</div>
|
|
|
|
</div><!-- .sidebar -->
|
|
<div id="content" class="site-content">
|
|
{{block "content" .}}
|
|
|
|
{{end}}
|
|
</div>
|
|
<footer id="colophon" class="site-footer">
|
|
<div class="site-info">
|
|
<a href="https://cn.wordpress.org/" class="imprint">自豪地采用WordPress</a>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
{{template "layout/footer" .}}
|
|
</body>
|
|
</html>
|
|
{{ end }} |