mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 06:11:27 -04:00
feat: add tabs implementation
chore: use filename by default in sidebar
This commit is contained in:
@ -13,6 +13,11 @@
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
{{ if .HasShortcode "tabs" }}
|
||||
{{ $tabsJS := resources.Get "js/tabs.js" }}
|
||||
<script src="{{ $tabsJS.RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Page.Params.math }}
|
||||
<!-- TODO: embed katex in the theme -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css" integrity="sha384-GvrOXuhMATgEsSwCs4smul74iXGOixntILdUW9XmUC6+HX0sLNAK3q71HotJqlAn" crossorigin="anonymous" />
|
||||
|
Reference in New Issue
Block a user