diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css index cfc4cd0..0e8e5fb 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css @@ -876,6 +876,10 @@ details { background-color: #fff9f9; } +.svedit { + margin-left: 0.5rem; +} + @media (max-width: 767px) { html { box-sizing: border-box; diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js index 14d9303..23188a9 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js @@ -63,7 +63,7 @@ function editPage(repoJsId) { } el.src = `${relPath}js/repo/${repoJsId}.js` document.body.appendChild(el) - document.location.href = `${relPath}svedit/index.html#${repoJsId}` + document.location.href = `${relPath}edit/index.html#${repoJsId}` ev} window.addEventListener("keyup", (e)=> { diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html index 62c1535..1aacf81 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html @@ -6,6 +6,9 @@ {{ $currentDir = .Dir }} {{ end }} {{ $currentFile := (printf "/%s" .File) }} + {{ $editFile := $.Site.GetPage "/edit" }} + {{ $editFilePath := $editFile.RelPermalink }} +
Dir: {{ .Name }}
- {{ partial "readdir.html" .Name }} - {{ else }} -File: {{ .Name }} - {{ end }} - {{ end }} +{{ define "main" }} {{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/single.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/single.html new file mode 100644 index 0000000..27f8f31 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/single.html @@ -0,0 +1 @@ +{{- define "main" -}}{{- end -}} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html index 6173b24..a4dc95d 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html @@ -27,9 +27,9 @@ {{ if eq hugo.Environment "dev" }} - {{ $style := resources.Get "css/site.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }} + {{ $style := resources.Get "css/site.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }} - {{ $style := resources.Get "css/player.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }} + {{ $style := resources.Get "css/player.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }} {{ else }} diff --git a/_vendor/modules.txt b/_vendor/modules.txt index b617959..5e15b88 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210328004009-992897b9cb1a +# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210406230544-a39199cce4d0 diff --git a/go.mod b/go.mod index e9f549c..0155728 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module git.sandpoints.org/sean/MachineListening go 1.15 -require git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210328004009-992897b9cb1a // indirect +require git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210406230544-a39199cce4d0 // indirect diff --git a/go.sum b/go.sum index 6386c9b..0b92a0b 100644 --- a/go.sum +++ b/go.sum @@ -4,3 +4,5 @@ git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210219121445-3e058b4ebb35 h git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210219121445-3e058b4ebb35/go.mod h1:VmIeeZ1BJRLjBO9x4d45BkYsYiwa/D0OrSNUglKTam4= git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210328004009-992897b9cb1a h1:++a2TBqFp/Zr24QhC29MDoBge+F0LdbfDmw66iBs4zk= git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210328004009-992897b9cb1a/go.mod h1:VmIeeZ1BJRLjBO9x4d45BkYsYiwa/D0OrSNUglKTam4= +git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210406230544-a39199cce4d0 h1:vUwepYtiAgEhfSWEcXKmFfBhs8kEwBm8OljkabvgI80= +git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210406230544-a39199cce4d0/go.mod h1:VmIeeZ1BJRLjBO9x4d45BkYsYiwa/D0OrSNUglKTam4=