@@ -15,5 +15,6 @@ | |||||
"note": "notes", | "note": "notes", | ||||
"annex": "annexes", | "annex": "annexes", | ||||
"author": "authors", | "author": "authors", | ||||
"editor": "editors" | |||||
"editor": "editors", | |||||
"contributor": "contributors" | |||||
} | } |
@@ -7,7 +7,7 @@ | |||||
{{ end }} | {{ end }} | ||||
{{ $currentFile := (printf "/%s" .File) }} | {{ $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" . }} | {{ $s := partialCached "scratch.html" . }} | ||||
{{ $noTriad := (slice) }} | {{ $noTriad := (slice) }} | ||||
@@ -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> |
@@ -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 }} |
@@ -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 @@ | |||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210211021211-8674473d0c45 | |||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210216002744-19b7d5c22a12 |
@@ -1,5 +1,5 @@ | |||||
module https: //git.sandpoints.org/LiquidArchitecture/MachineListening | |||||
module git.sandpoints.org/sean/MachineListening | |||||
go 1.15 | 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 |
@@ -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= |