-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: WebSocket Website ( Fixes #19 )
Adding workflow step
- Loading branch information
James Brundage
authored and
James Brundage
committed
Nov 27, 2024
1 parent
05e4de5
commit 5407594
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% if page.imports %} | ||
{% assign importMap = page.imports %} | ||
{% elsif page.importMap %} | ||
{% assign importMap = page.importMap %} | ||
{% elsif site.imports %} | ||
{% assign importMap = site.imports %} | ||
{% elsif site.importMap %} | ||
{% assign importMap = site.importMap %} | ||
{% elsif site.data.imports %} | ||
{% assign importMap = site.data.imports %} | ||
{% elsif site.data.importMap %} | ||
{% assign importMap = site.data.importMap %} | ||
{% endif %} | ||
{% if importMap %} | ||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
{% for eachImport in importMap %} | ||
"{{eachImport[0]}}": "{{eachImport[1]}}"{% unless forloop.last %}, | ||
{% endunless %} | ||
{% endfor %} | ||
} | ||
} | ||
</script> | ||
{% endif %} |