Compare commits
No commits in common. "3c6f6895325f858376b4f8524b7240197a7c68ea" and "47f7e8f5689e32ec0bea1a6858e2e3c1c9cce1c6" have entirely different histories.
3c6f689532
...
47f7e8f568
4 changed files with 14 additions and 115 deletions
|
@ -201,16 +201,6 @@ body {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
sup, sub {
|
|
||||||
vertical-align: baseline;
|
|
||||||
position: relative;
|
|
||||||
top: -0.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
top: 0.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.headiter {
|
.headiter {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
@ -82,16 +82,6 @@ body {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
sup, sub {
|
|
||||||
vertical-align: baseline;
|
|
||||||
position: relative;
|
|
||||||
top: -0.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
top: 0.4em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.headiter {
|
.headiter {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -297,6 +287,11 @@ img {
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.has, .afterhas {
|
||||||
|
font-style: italic;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
padding-left: 3rem;
|
padding-left: 3rem;
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
|
@ -337,39 +332,14 @@ img {
|
||||||
}
|
}
|
||||||
|
|
||||||
.rightcolumn {
|
.rightcolumn {
|
||||||
/* display: grid;
|
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
grid-auto-rows: max-content; */
|
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has {
|
.has {
|
||||||
display: inline-grid;
|
|
||||||
grid-column: 2;
|
|
||||||
grid-auto-rows: max-content;
|
|
||||||
font-size: 1.4rem;
|
|
||||||
font-style: italic;
|
|
||||||
margin-bottom: 0.8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hasauthors {
|
|
||||||
font-size: 1.6rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hassup {
|
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
font-family: 'Great Vibes', cursive;
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-style: normal;
|
|
||||||
color: red;
|
|
||||||
vertical-align: baseline;
|
|
||||||
position: relative;
|
|
||||||
/* top: -0.3em; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.afterhas {
|
|
||||||
grid-column: 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
@ -421,38 +391,6 @@ h6 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.abstract {
|
|
||||||
margin-top: 1.4rem;
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
font-style: italic;
|
|
||||||
border-left: 1px solid rgb(0, 0, 0);
|
|
||||||
margin-left: 5rem;
|
|
||||||
margin-right: 2rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
padding-right: 2rem;
|
|
||||||
padding-top: 0.1rem;
|
|
||||||
padding-bottom: 0.1rem;
|
|
||||||
background-color: rgba(0, 0, 0, 0.05);
|
|
||||||
max-width: 70ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
.authors {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 1.8rem;
|
|
||||||
margin-left: 5rem;
|
|
||||||
margin-right: 2rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.keywords {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 1rem;
|
|
||||||
margin-left: 5rem;
|
|
||||||
margin-right: 2rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
margin-bottom: 2.2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 1px red solid;
|
border-left: 1px red solid;
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
|
|
|
@ -23,17 +23,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with $authors := $p.Params.authors }}
|
|
||||||
{{ range $author := $authors }}
|
|
||||||
{{ $authorLink := printf "/author/%s" $author }}
|
|
||||||
{{ with ($_.Get $authorLink) }}
|
|
||||||
{{ $_.SetInMap $authorLink "backlinks" (uniq ((index ($_.Get $authorLink) "backlinks") | append $p)) }}
|
|
||||||
{{ else }}
|
|
||||||
{{ $_.SetInMap $authorLink "backlinks" (slice $p) }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ $gp := $.GetPage $pPath }}
|
{{ $gp := $.GetPage $pPath }}
|
||||||
{{ $gpPath := printf "/%s" $gp.File }}
|
{{ $gpPath := printf "/%s" $gp.File }}
|
||||||
{{ range $k, $v := $gp.Params }}
|
{{ range $k, $v := $gp.Params }}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{{ $currentFile := (printf "/%s" .File) }}
|
{{ $currentFile := (printf "/%s" .File) }}
|
||||||
{{ $scratch := $s.Get $currentFile }}
|
{{ $scratch := $s.Get $currentFile }}
|
||||||
|
|
||||||
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}: {{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="leftcolumn">
|
<div class="leftcolumn">
|
||||||
|
@ -17,64 +17,46 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="rightcolumn">
|
<div class="rightcolumn">
|
||||||
{{- range $k, $v := .Page.Params.authors -}}
|
|
||||||
{{- with $.GetPage (printf "/author/%s" $v) -}}
|
|
||||||
{{- with not $k -}}
|
|
||||||
<div class="has hasauthors">
|
|
||||||
<div class="hassup">authors⁄</div>
|
|
||||||
<div class="afterhas">
|
|
||||||
{{- end -}}
|
|
||||||
<div class="crust">
|
|
||||||
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
|
|
||||||
</div>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Page.Params.authors -}}</div></div>{{- end -}}
|
|
||||||
|
|
||||||
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
|
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
|
||||||
<div class="has">
|
<div class="has">
|
||||||
{{ with $scratch.backlinks }}
|
{{ with $scratch.backlinks }}
|
||||||
<div class="hassup">mentioned in⁄</div>
|
<span class="sup">mentioned in⁄</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{ range $scratch.backlinks }}
|
{{ range $scratch.backlinks }}
|
||||||
<div class="{{ $scratch.child_depth }}">
|
<div class="{{ $scratch.child_depth }}">
|
||||||
<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>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div></div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }}
|
{{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }}
|
||||||
<div class="has">
|
<div class="has">
|
||||||
{{ with $scratch.has }}
|
{{ with $scratch.has }}
|
||||||
<div class="hassup">has {{ $scratch.has }}⁄</div>
|
<span class="sup">has {{ $scratch.has }}⁄</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</div>
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{ range $scratch.has_children }}
|
{{ range $scratch.has_children }}
|
||||||
<div class="{{ $scratch.child_depth }}">
|
<div class="{{ $scratch.child_depth }}">
|
||||||
<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>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div></div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if eq $scratch.depth "crust" }}
|
{{ if eq $scratch.depth "crust" }}
|
||||||
<div class="has">
|
<div class="has">
|
||||||
<div class="hassup">in {{ index $scratch.in 1 }}⁄</div>
|
<span class="sup">in {{ index $scratch.in 1 }}⁄</span>
|
||||||
|
</div>
|
||||||
<div class="afterhas">
|
<div class="afterhas">
|
||||||
{{ range $scratch.is_in }}
|
{{ range $scratch.is_in }}
|
||||||
<div class="{{ substr $currentDir 0 -1 }}">
|
<div class="{{ substr $currentDir 0 -1 }}">
|
||||||
<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>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div></div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{ with .Page.Params.abstract }}<div class="abstract"><span class="supt">abstract⁄</span>{{ . | markdownify }}</div>{{ end }}
|
|
||||||
|
|
||||||
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div
|
|
||||||
class="keywords"><span class="sup">keywords⁄</span>{{- $v -}}{{- else -}},
|
|
||||||
{{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}
|
|
Loading…
Add table
Reference in a new issue