Compare commits
3 Commits
b03eeec186
...
a8217f6241
Author | SHA1 | Date |
---|---|---|
la Fleur | a8217f6241 | |
la Fleur | 008cf21abf | |
la Fleur | 725478234e |
|
@ -10,7 +10,7 @@ a {
|
|||
}
|
||||
a.exposed, span.exposed {
|
||||
font-weight: bold;
|
||||
font-size: 1.3em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
a:visited {
|
||||
}
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
{{ with .Content }}
|
||||
<section>
|
||||
{{ . }}
|
||||
</section>
|
||||
{{ end }}
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
|
@ -12,5 +7,10 @@
|
|||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ with .Content }}
|
||||
<section>
|
||||
{{ . }}
|
||||
</section>
|
||||
{{ end }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{{ range $.Site.Sections }}
|
||||
{{ if eq $currentPage.Section .Section }}
|
||||
<span class="exposed">
|
||||
{{ .Title | markdownify }}
|
||||
{{ partial "scope.html" $currentPage }}
|
||||
</span>
|
||||
{{ else }}
|
||||
<a href="{{ .Permalink }}">
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{{- if .Parent.IsHome -}}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{- else -}}
|
||||
{{- partial "scope.html" .Parent }}
|
||||
> <a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{- end -}}
|
Loading…
Reference in New Issue