affiliation from SandpointsTheme added to the repo
This commit is contained in:
parent
b32ca8b9ae
commit
7c2dcc4838
9 changed files with 19 additions and 11 deletions
|
@ -885,6 +885,10 @@ details {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.affiliation {
|
||||||
|
font-size: smaller;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -706,6 +706,10 @@ details {
|
||||||
background-color: #fff9f9;
|
background-color: #fff9f9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.affiliation {
|
||||||
|
font-size: smaller;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div class="crust">
|
<div class="crust">
|
||||||
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>{{ with .Params.affiliation }}<span class="affiliation">, {{ . }}</span>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,12 +17,12 @@
|
||||||
{{ range $p := .Site.RegularPages }}
|
{{ range $p := .Site.RegularPages }}
|
||||||
{{ $scratch := $s.Get (printf "/%s" $p.File) }}
|
{{ $scratch := $s.Get (printf "/%s" $p.File) }}
|
||||||
{{ if eq $scratch.depth "core" }}
|
{{ if eq $scratch.depth "core" }}
|
||||||
<div class="sitemap" ><div class="{{ with $p.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><a href="{{- $p.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $p.Title}} title="{{- $p.Title -}}"{{- end -}}><span class="sup">{{- substr $p.File.Dir 0 -1 -}}⁄</span>{{- $p.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $p.File.UniqueID -}}">[EDIT]</a></div>
|
<div class="sitemap" ><div class="{{ with $p.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><a href="{{- $p.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $p.Title}} title="{{- $p.Title -}}"{{- end -}}><span class="sup">{{- substr $p.File.Dir 0 -1 -}}⁄</span>{{- $p.Title -}}</a></div>
|
||||||
{{ range $coreKid := $scratch.has_children }}
|
{{ range $coreKid := $scratch.has_children }}
|
||||||
<div class="sitemap"><a href="{{- $coreKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $coreKid.Title}} title="{{- $coreKid.Title -}}"{{- end -}}><div class="{{ with $coreKid.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><span class="sup">{{- substr $coreKid.File.Dir 0 -1 -}}⁄</span>{{- $coreKid.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $coreKid.File.UniqueID -}}">[EDIT]</a></div>
|
<div class="sitemap"><a href="{{- $coreKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $coreKid.Title}} title="{{- $coreKid.Title -}}"{{- end -}}><div class="{{ with $coreKid.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><span class="sup">{{- substr $coreKid.File.Dir 0 -1 -}}⁄</span>{{- $coreKid.Title -}}</a></div>
|
||||||
{{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }}
|
{{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }}
|
||||||
{{ range $mantleKid := $scratchCKid.has_children }}
|
{{ range $mantleKid := $scratchCKid.has_children }}
|
||||||
<div class="sitemap"><div class="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $mantleKid.Title}} title="{{- $mantleKid.Title -}}"{{- end -}}><span class="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $mantleKid.File.UniqueID -}}">[EDIT]</a></div></div>
|
<div class="sitemap"><div class="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $mantleKid.Title}} title="{{- $mantleKid.Title -}}"{{- end -}}><span class="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a></div></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -33,6 +33,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range $noTriad }}
|
{{ range $noTriad }}
|
||||||
<div class="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title }} title="{{- . -}}"{{- end -}}><span class="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a>{{ if not (or (hasPrefix .File.Dir "edit") (hasPrefix .File.Dir "print")) }}<a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath .File.UniqueID -}}">[EDIT]</a>{{ end }}</div>
|
<div class="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title }} title="{{- . -}}"{{- end -}}><span class="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a>{{ if not (or (hasPrefix .File.Dir "edit") (hasPrefix .File.Dir "print")) }}{{ end }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="crust">
|
<div class="crust">
|
||||||
<a href="#ph-{{ .File.UniqueID }}">{{ .Title }}</a>
|
<a href="#ph-{{ .File.UniqueID }}">{{ .Title }}</a>{{ with .Params.affiliation }}<span class="affiliation">, {{ . }}</span>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
{{ with not $k }}
|
{{ with not $k }}
|
||||||
{{ $prefix = "" }}
|
{{ $prefix = "" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $authors = printf "%s%s" $prefix $authorPage.Title }}
|
{{ $authors = printf "%s%s%s" $authors $prefix $authorPage.Title }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="{{ $scratch.child_depth }} crustoc">
|
<div class="{{ $scratch.child_depth }} crustoc">
|
||||||
<a class="toc" href="#ph-{{ .File.UniqueID }}"><span><span class="back">{{ .Title }} {{with $authors}}({{ $authors }}){{ end }}</span></span></a>
|
<a class="toc" href="#ph-{{ .File.UniqueID }}"><span><span class="back">{{ .Title }} {{with $authors}}({{ $authors }}){{ end }}</span></span></a>
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div class="crust">
|
<div class="crust">
|
||||||
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>{{ with .Params.affiliation }}<span class="affiliation">, {{ . }}</span>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20221212163146-fea2002f3205
|
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20230218131829-f652b684e8fa
|
||||||
|
|
Loading…
Add table
Reference in a new issue