Integrate <ruby-switch> into the templates
This commit is contained in:
parent
abb85f701d
commit
8022a8f84a
5 changed files with 25 additions and 25 deletions
|
@ -30,6 +30,11 @@
|
|||
{{ block "scripts" . }}{{ end }}
|
||||
|
||||
{{- with partial "resources/site_js.html" . -}}
|
||||
<script type="module" src="{{ .RelPermalink }}"></script>
|
||||
<script type="module" src="{{ .Permalink }}"></script>
|
||||
{{ end }}
|
||||
{{ if .HasShortcode "ruby" }}
|
||||
{{ with partial "resources/script.html" "ruby_switch" }}
|
||||
<script type="module" src="{{ .Permalink }}"></script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue