feat: implement common components

feat: implement sidebar

feat: implement footer

feat: implement breadcrumb

chore: add typography styles

chore: add heading anchor link

chore: add postcss-nested
This commit is contained in:
Xin
2023-07-27 00:05:47 +01:00
parent e0bfaf0467
commit c8eb404fe6
10 changed files with 190 additions and 11 deletions

View File

@ -0,0 +1,7 @@
<h{{ .Level }}>
{{ .Text | safeHTML }}
{{ if gt .Level 1 }}
<span class="absolute -mt-20" id="{{ .Anchor | safeURL }}"></span>
<a href="#{{ .Anchor | safeURL }}" class="subheading-anchor" aria-label="Permalink for this section"></a>
{{ end }}
</h{{ .Level }}>