has_*/ now gets the class name of its item's depth from namegraph...
This commit is contained in:
parent
a97515ee0d
commit
2cf0849d9d
|
@ -743,7 +743,7 @@ h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.n
|
|||
display: inline;
|
||||
}
|
||||
|
||||
.syllabustitle {
|
||||
.coretitle {
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 2rem;
|
||||
font-size: 2.2rem;
|
||||
|
@ -757,7 +757,7 @@ h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.n
|
|||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.session, .topic {
|
||||
.mantle, .crust {
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
|
||||
|
@ -771,7 +771,7 @@ h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.n
|
|||
display: none;
|
||||
}
|
||||
|
||||
.topicstitle {
|
||||
.mantletitle {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<div class="afterhas">
|
||||
{{ range index $currentNode.Params (printf "has_%s" (index ($graphOptions.Get "has") 1) )}}
|
||||
{{ with $.GetPage (printf "%s%s" (printf "/%s/" (index ($graphOptions.Get "has") 0)) . ) }}
|
||||
<div class="{{ index ($graphOptions.Get "has") 0 }}">
|
||||
<div class="{{ index $.Site.Data.sandpointsnamegraph (index ($graphOptions.Get "has") 0) "depth" }}">
|
||||
<a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue