Remove the railroad shortcode
This partial moved to railroad-diagrams. Except it's pissing me off. 🙃
This commit is contained in:
parent
e0b2683ef9
commit
5510a738fa
1 changed files with 0 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
|||
{{ $parentID := .Parent.Get "id" -}}
|
||||
{{ $narrowOnly := not (not (.Get "narrow")) | default false }}
|
||||
<script defer type="module">
|
||||
import { railroadDiagram } from {{ (partial "resources/railroad_utils.html" .).RelPermalink }};
|
||||
railroadDiagram(rr => {
|
||||
{{ .Inner | safeJS }}
|
||||
}, "{{ $parentID }}", {{ cond $narrowOnly "true" "false" | safeJS }});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue