mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-23 04:59:06 +00:00
59bea459d8
* Add initial breadcrumb partial * Add aria-current=page property * Add separators via CSS to be comply with screen readers * Use ordered list to the set of links * Update README.md: add breadcrumb section
23 lines
No EOL
740 B
HTML
23 lines
No EOL
740 B
HTML
{{ define "main" }}
|
|
<main class="main">
|
|
{{ partial "breadcrumb.html" . }}
|
|
<div class="single block">
|
|
<article class="post">
|
|
{{- partial "post_featured.html" (dict "page" . "IsSingle" true) }}
|
|
{{- partial "post_meta.html" (dict "page" . "class" "mb") }}
|
|
<h1 class="post__title">{{ .Title }}</h1>
|
|
{{- partial "post_toc.html" . }}
|
|
<div class="post__content">{{ .Content }}</div>
|
|
{{ if or (.Param "share") (isset $.Params "tags") }}
|
|
<footer class="post__footer">
|
|
{{ partial "post_tags.html" . }}
|
|
{{ partial "post_share.html" . }}
|
|
</footer>
|
|
{{ end }}
|
|
</article>
|
|
</div>
|
|
</main>
|
|
{{ partial "authorbox.html" . }}
|
|
{{ partial "related.html" . }}
|
|
{{ partial "comments.html" . }}
|
|
{{ end }} |