forked from autonomic-cooperative/sophie-lewis-hugo
Changes Abolish the Family
This commit is contained in:
@ -1,18 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<div class="columns">
|
||||
<div class="column is-3-fullhd is-1-widescreen is-hidden-touch is-hidden-desktop-only"></div>
|
||||
<div id="content-column" class="column is-6-widescreen is-8-desktop">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- partial "nav.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
{{ $content_class := $.Page.Params.title | lower }}
|
||||
{{ if eq (.Title | lower) "abolish-the-family" }}
|
||||
<body id="abolish-the-family">
|
||||
{{else}}
|
||||
<body>
|
||||
{{end}}
|
||||
<div class="columns">
|
||||
<div class="column is-3-fullhd is-1-widescreen is-hidden-touch is-hidden-desktop-only"></div>
|
||||
<div id="content-column" class="column is-6-widescreen is-8-desktop">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- partial "nav.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
<div id="octopus" class="column is-4-widescreen is-4-desktop is-hidden-touch ">
|
||||
{{- block "octo" . }}{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
<div id="octopus" class="column is-4-widescreen is-4-desktop is-hidden-touch ">
|
||||
{{- block "octo" . }}{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
<div class="hero header octopus-mobile">
|
||||
<div class="hero-body">
|
||||
<a class="button button-book">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{ $content_class := $.Page.Params.title | lower }}
|
||||
{{ if eq (.Title | lower) "abolish-the-family" }}
|
||||
<a class="button is-outlined button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{else}}
|
||||
<a class="button button-book" href="/writing/abolish-the-family/">NEW BOOK <b>Abolish The Family</b></a><br />
|
||||
{{end}}
|
||||
<a href="/">
|
||||
<p class="title is-size-0-1">
|
||||
{{ site.Params.header.name }}
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
<ul>
|
||||
<li{{ if eq $.Page.Params.Title "index" }} class="is-active"{{ end }}><a href="/">Home</a></li>
|
||||
{{ range $nav_tab := site.Params.navbar }}
|
||||
{{ $nav_title := replace $nav_tab "-" " " | title }}
|
||||
{{ if eq $.Page.Params.title $nav_title }}
|
||||
{{ $nav_title := replace $nav_tab "-" " " | title }}
|
||||
{{ if eq $.Page.Params.title $nav_title }}
|
||||
<li class="is-active"><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
||||
{{else}}
|
||||
<li><a href="/{{$nav_tab}}">{{ $nav_title }}</a></li>
|
||||
|
||||
Reference in New Issue
Block a user