mirror of
https://git.kittycat.homes/zoe/hugo-battheme.git
synced 2024-08-15 03:25:18 +00:00
finish most of the colorswitch thigns
This commit is contained in:
parent
ff99214248
commit
487b637ab9
3 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
|||
<!-- Ranges through content/posts/*.md -->
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{.Permalink}}">{{.Title}}</a>
|
||||
<a class="colorswitch" href="{{.Permalink}}">{{.Title}}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue