Browse Source

updated some go stuff

master
Sean Dockray 3 years ago
parent
commit
76893a4b98
8 changed files with 37 additions and 7 deletions
  1. +2
    -1
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/sandpointsnamegraph.json
  2. +1
    -1
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html
  3. +9
    -0
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html
  4. +10
    -0
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html
  5. +10
    -0
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html
  6. +1
    -1
      _vendor/modules.txt
  7. +2
    -2
      go.mod
  8. +2
    -2
      go.sum

+ 2
- 1
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/sandpointsnamegraph.json View File

@@ -15,5 +15,6 @@
"note": "notes",
"annex": "annexes",
"author": "authors",
"editor": "editors"
"editor": "editors",
"contributor": "contributors"
}

+ 1
- 1
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html View File

@@ -7,7 +7,7 @@
{{ end }}
{{ $currentFile := (printf "/%s" .File) }}

<div class="coretitle"><span class="supt">Sitemap⁄{{ substr $.Site.Title 0 1 }}</span>{{ substr $.Site.Title 1 }} ({{ $currentDir }})</div>
<div class="coretitle"><span class="supt">Sitemap⁄{{ substr $.Site.Title 0 1 }}</span>{{ substr $.Site.Title 1 }} {{with $currentDir}}({{ . }}){{ end }}</div>

{{ $s := partialCached "scratch.html" . }}
{{ $noTriad := (slice) }}


+ 9
- 0
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/baseof.html View File

@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
<head>
<title>{{- .Title }} - {{ .Site.Title -}}</title>
</head>
<body>
{{ block "edit" . }}{{ end }}
</body>
</html>

+ 10
- 0
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/list.html View File

@@ -0,0 +1,10 @@
{{ define "edit" }}
{{ range (readDir ".") }}
{{ if .IsDir }}
<p>Dir: {{ .Name }}</p>
{{ partial "readdir.html" .Name }}
{{ else }}
<p>File: {{ .Name }}
{{ end }}
{{ end }}
{{ end }}

+ 10
- 0
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/readdir.html View File

@@ -0,0 +1,10 @@
{{ $parentName := . }}
{{ range (readDir .) }}
{{ $currentName := printf "%s/%s" $parentName .Name }}
{{ if .IsDir }}
<p>_Dir: {{ $currentName }}</p>
{{ partial "readdir.html" $currentName }}
{{ else }}
<p>_File: {{ $currentName }}
{{ end }}
{{ end }}

+ 1
- 1
_vendor/modules.txt View File

@@ -1 +1 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210211021211-8674473d0c45
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210216002744-19b7d5c22a12

+ 2
- 2
go.mod View File

@@ -1,5 +1,5 @@
module https: //git.sandpoints.org/LiquidArchitecture/MachineListening
module git.sandpoints.org/sean/MachineListening

go 1.15

require git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210209215842-6037aac2d81d // indirect
require git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210216002744-19b7d5c22a12 // indirect

+ 2
- 2
go.sum View File

@@ -1,2 +1,2 @@
git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210209215842-6037aac2d81d h1:72YjP5YsNoMt/cTEsEVrA7yLCiQki80sP/8TJrkRVv4=
git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210209215842-6037aac2d81d/go.mod h1:VmIeeZ1BJRLjBO9x4d45BkYsYiwa/D0OrSNUglKTam4=
git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210216002744-19b7d5c22a12 h1:f8iFSNHOrJT5elEY5XsVm2u2UezgCkatWjQe1J7aJWM=
git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210216002744-19b7d5c22a12/go.mod h1:VmIeeZ1BJRLjBO9x4d45BkYsYiwa/D0OrSNUglKTam4=

Loading…
Cancel
Save