diff options
| author | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-09-13 20:22:52 -0400 |
|---|---|---|
| committer | anoduck <11767-anoduck@users.noreply.gitgud.io> | 2024-09-13 20:23:11 -0400 |
| commit | 9744378a9b9071872182edb4f151f915ecfa8643 (patch) | |
| tree | a8c9b8de8e223f6edbecc91b899c2f2a196c712e /layouts/partials/AddModule.html | |
| parent | 5e0f93a81672bacbfd583cfe8cc40f24282af031 (diff) | |
added tags, working out themeing
Diffstat (limited to 'layouts/partials/AddModule.html')
| -rw-r--r-- | layouts/partials/AddModule.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/partials/AddModule.html b/layouts/partials/AddModule.html new file mode 100644 index 0000000..bd16780 --- /dev/null +++ b/layouts/partials/AddModule.html @@ -0,0 +1,9 @@ +{{ with .module }} + {{- $dependencies := page.Scratch.Get "dependencies" -}} + {{- if reflect.IsSlice $dependencies -}} + {{- $dependencies = complement $dependencies . -}} + {{ else }} + {{- $dependencies = slice . -}} + {{ end }} + {{- page.Scratch.Set "dependencies" $dependencies -}} +{{ end }}
\ No newline at end of file |
