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">
|
2023-02-19 05:42:07 +00:00
|
|
|
{{template "layout/head" .}}
|
|
|
|
|
2023-04-15 16:57:50 +00:00
|
|
|
<body class="{{.calBodyClass|exec}}">
|
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">
|
2023-04-24 13:51:43 +00:00
|
|
|
{{.customLogo|exec}}
|
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>
|
2024-01-14 14:07:16 +00:00
|
|
|
{{template "common/colophon" .}}
|
2022-09-18 16:07:23 +00:00
|
|
|
|
|
|
|
</div>
|
2022-10-31 11:47:29 +00:00
|
|
|
{{template "layout/footer" .}}
|
2022-09-18 16:07:23 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{{ end }}
|