finish most of the colorswitch thigns

This commit is contained in:
zoe 2022-04-10 00:15:21 +02:00
parent ff99214248
commit 487b637ab9
3 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{{ define "main" }}
<section id="main">
<h1 id="title">Single Page {{ .Title }}</h1>
<h1 id="title" class="colorswitch">Single Page {{ .Title }}</h1>
<div>
<article id="content">
{{ .Content }}
@ -14,7 +14,7 @@
{{ with .Params.topics }}
<ul id="topics">
{{ range . }}
<li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
<li><a class="colorswitch" href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
{{ end }}
@ -28,10 +28,10 @@
</div>
<div>
{{ with .PrevInSection }}
<a class="previous" href="{{.Permalink}}">previous: {{.Title}}</a>
<a class="previous colorswitch" href="{{.Permalink}}">previous: {{.Title}}</a>
{{ end }}
{{ with .NextInSection }}
<a class="next" href="{{.Permalink}}">next: {{.Title}}</a>
<a class="next colorswitch" href="{{.Permalink}}">next: {{.Title}}</a>
{{ end }}
</div>
</aside>