Skip to content

Commit

Permalink
ping versions of lit as a tmp fix for the module error
Browse files Browse the repository at this point in the history
  • Loading branch information
emptymalei committed Oct 14, 2023
1 parent 7b677a8 commit 6b8c165
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions layouts/partials/extensions/command-palette.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{{ if or (not (isset .Site.Params "command" )) .Site.Params.command }}
<script type="importmap">
{
"imports": {
"https://unpkg.com/lit-html@latest/directives/ref.js?module": "https://unpkg.com/[email protected]/directives/ref.js?module"
}
}
</script>
<script type="module" src="https://unpkg.com/ninja-keys?module"></script>
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet">

Expand Down Expand Up @@ -78,17 +85,6 @@
{{- end -}}


{{/* {{- range $dataNetwork.edges -}}
{{ if eq .target $fileReference }}
{{ $source := lower (replace .source "\\" "/") }}
{{ with ($.Site.GetPage $source) }}
{{ if not (in $sources $source) }}
{{ $sources = $sources | append $source }}
{{ end }}
{{ end }}
{{ end }}
{{- end -}} */}}

{{- if $sources -}}
{{ range $sources }}
{{ with ($.Site.GetPage .) }}
Expand Down

0 comments on commit 6b8c165

Please sign in to comment.