Initial website deployment
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 1m44s
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 1m44s
This commit is contained in:
4
layouts/_shortcodes/figref.html
Normal file
4
layouts/_shortcodes/figref.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{ $id := .Get 0 }}
|
||||
{{ $figures := .Page.Scratch.Get "figures" | default dict }}
|
||||
{{ $number := index $figures $id }}
|
||||
<a class="xref" href="#{{ $id }}">Figure {{ with $number }}{{ . }}{{ else }}{{ $id }}{{ end }}</a>
|
||||
Reference in New Issue
Block a user