mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 21:25:59 -06:00
BBaoVanC
12c6efc0fe
- https://webaim.org/techniques/skipnav/ - https://css-tricks.com/how-to-create-a-skip-to-content-link/
53 lines
1.5 KiB
HTML
53 lines
1.5 KiB
HTML
{{ i18n "credit_comment" | safeHTML }}
|
|
<!DOCTYPE html>
|
|
<html lang="{{ .Language.Lang }}">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
<a id="top" aria-hidden="true"></a>
|
|
<a id="skip-to-main" href="#main-content">Skip to main content</a>
|
|
|
|
<a id="back-to-top" href="#top" aria-label="{{ i18n "aria_back_to_top_button" }}">
|
|
{{ partial "icon.html" "chevron-up" }}
|
|
</a>
|
|
<noscript>
|
|
<style>
|
|
#back-to-top {
|
|
display: block;
|
|
}
|
|
</style>
|
|
</noscript>
|
|
|
|
{{ partial "top.html" . }}
|
|
|
|
<div class="main-container">
|
|
{{ if not .IsHome }}
|
|
{{ partial "breadcrumb.html" . }}
|
|
{{ end }}
|
|
|
|
<main id="main-content">
|
|
{{ block "main" . }}
|
|
THIS TEXT SHOULD NOT SHOW. YUZSIQGHE (that string is so I can grep for it)
|
|
{{ end }}
|
|
</main>
|
|
</div>
|
|
|
|
{{ block "post-body" . }}
|
|
{{/* currently this is only used for related posts */}}
|
|
{{ end }}
|
|
|
|
{{ if or .Site.Copyright .Site.Params.footer }}
|
|
<footer>
|
|
{{ with .Site.Copyright }}
|
|
<p>{{ . | safeHTML }}</p>
|
|
{{ end }}
|
|
|
|
{{ with .Site.Params.footer }}
|
|
{{ . | $.RenderString (dict "display" "block") }}
|
|
{{ end }}
|
|
</footer>
|
|
{{ end }}
|
|
</body>
|
|
|
|
</html>
|