garden/themes/cortex/layouts/_default/single.html
SouthFox 08db36282d
All checks were successful
continuous-integration/drone Build is passing
new init
2023-05-20 19:32:59 +08:00

24 lines
898 B
HTML

{{define "main"}}
<div class="grid-container">
<div class="grid">
<div class="page" data-level="1">
<div class="content">
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ partial "backlinks.html" . }}
</div>
{{ partial "comment.html" . }}
</div>
</div>
</div>
{{ $urijs := resources.Get "js/URI.js" }}
<script src="{{$urijs.Permalink}}" type="text/javascript"></script>
{{ $pagejs := resources.Get "js/page.js" }}
<script src="{{$pagejs.Permalink}}" type="text/javascript"></script>
{{ $mathjs := resources.Get "js/tex-mml-chtml.js" }}
<script id="MathJax-script" async src="{{$mathjs.Permalink}}"></script>
{{ $popperjs := resources.Get "js/popper.js" }}
<script src="{{$popperjs.Permalink}}" type="text/javascript"></script>
{{ $tippyjs := resources.Get "js/tippy.js" }}
<script src="{{$tippyjs.Permalink}}" type="text/javascript"></script>
{{end}}