wp-go/internal/theme/twentyfifteen/layout/base.gohtml

46 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-09-18 16:07:23 +00:00
{{ define "layout/base"}}
<!DOCTYPE html>
2023-01-19 06:12:59 +00:00
<html lang="{{getLang}}" class="no-js">
2022-09-18 16:07:23 +00:00
<head>
{{template "layout/head" .}}
{{block "head" .}}
{{end}}
</head>
2023-02-14 11:47:47 +00:00
<body class="{{.bodyClass}}">
2022-09-22 11:57:23 +00:00
{{template "svg"}}
2022-09-18 16:07:23 +00:00
<div id="page" class="hfeed site">
<a class="skip-link screen-reader-text" href="#content">
</a>
2022-09-22 11:57:23 +00:00
<div id="sidebar" class="sidebar" style="position: relative; ">
2022-09-18 16:07:23 +00:00
<header id="masthead" class="site-header">
<div class="site-branding">
2022-09-22 11:57:23 +00:00
<h1 class="site-title">
2022-11-15 03:11:08 +00:00
<a href="/" rel="home">{{ "blogname"| getOption }}</a>
2022-09-22 11:57:23 +00:00
</h1>
2022-11-15 03:11:08 +00:00
<p class="site-description">{{"blogdescription"| getOption}}</p>
2022-09-22 11:57:23 +00:00
<button class="secondary-toggle">菜单和挂件</button>
2022-09-18 16:07:23 +00:00
</div><!-- .site-branding -->
</header>
2022-09-22 11:57:23 +00:00
<div id="secondary" class="secondary">
{{template "layout/sidebar" .}}
</div>
2022-09-18 16:07:23 +00:00
</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>
2022-09-18 16:07:23 +00:00
</footer>
</div>
{{template "layout/footer" .}}
2022-09-18 16:07:23 +00:00
</body>
</html>
{{ end }}