tabs work
This commit is contained in:
parent
9ac2748d45
commit
dd44c55616
@ -4,6 +4,7 @@ title = 'My New Hugo Site'
|
||||
theme = "sophie-lewis"
|
||||
|
||||
[params]
|
||||
navbar = ["about", "writing", "videos", "get-in-touch"]
|
||||
[params.header]
|
||||
name = "Sophie Lewis"
|
||||
subtitle = "Writer & Philosopher"
|
||||
subtitle = "Writer & Philosopher"
|
||||
|
6
content/about.md
Normal file
6
content/about.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "About"
|
||||
date: 2021-08-23T05:58:05+01:00
|
||||
draft: true
|
||||
---
|
||||
|
6
content/get-in-touch.md
Normal file
6
content/get-in-touch.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Getintouch"
|
||||
date: 2021-08-23T05:59:10+01:00
|
||||
draft: true
|
||||
---
|
||||
|
13
content/videos.md
Normal file
13
content/videos.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "Videos"
|
||||
date: 2021-08-23T05:04:19+01:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
{{<youtube 5liV7pbNxA8>}}
|
||||
|
||||
**Sophie Lewis: Oxford Feminist Thinking - "Constructing Radical Networks of Care" - Oxford University**
|
||||
|
||||
*Published 14 May 2021*
|
||||
|
||||
---
|
6
content/writing.md
Normal file
6
content/writing.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Writing"
|
||||
date: 2021-08-23T05:59:31+01:00
|
||||
draft: true
|
||||
---
|
||||
|
File diff suppressed because one or more lines are too long
@ -2,6 +2,8 @@ $section-padding: 1rem 0rem;
|
||||
$section-padding-desktop: $section-padding;
|
||||
$section-padding-large: $section-padding;
|
||||
|
||||
$gray: #707070;
|
||||
|
||||
@import "./bulma/bulma.sass";
|
||||
|
||||
.nav-tabs.tabs {
|
||||
@ -31,3 +33,12 @@ $section-padding-large: $section-padding;
|
||||
padding-left: 0px !important;
|
||||
padding-top: 8em;
|
||||
}
|
||||
|
||||
iframe {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
background-color: $gray;
|
||||
height: 0.1rem;
|
||||
}
|
@ -1,11 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
<div class="columns">
|
||||
<div class="column is-3"></div>
|
||||
<div class="column is-5">
|
||||
{{- partial "header.html" . -}}
|
||||
{{- partial "nav.html" . -}}
|
||||
<div id="content" class="section">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</div>
|
||||
<div class="column is-4"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1 @@
|
||||
{{ define "main" }}{{.Content}}{{ end }}
|
@ -1,33 +1,4 @@
|
||||
{{ define "main" }}
|
||||
<div class="columns">
|
||||
<div class="column is-3"></div>
|
||||
<div class="column is-5">
|
||||
<div class="hero header">
|
||||
<div class="hero-body">
|
||||
<p class="title is-size-0">
|
||||
{{ site.Params.header.name }}
|
||||
</p>
|
||||
<p class="subtitle is-size-4">
|
||||
{{ site.Params.header.subtitle }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<nav>
|
||||
<div class="tabs is-fullwidth nav-tabs is-italic is-size-5 is-uppercase">
|
||||
<ul>
|
||||
<li><a>About</a></li>
|
||||
<li><a>Writing</a></li>
|
||||
<li><a>Videos</a></li>
|
||||
<li class="is-aligned-right"><a>Get In Touch</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="section">
|
||||
<p>Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing. </p>
|
||||
<p>You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man. </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-4">
|
||||
</div>
|
||||
</div>
|
||||
<p>Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing. </p>
|
||||
<p>You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man. </p>
|
||||
{{ end }}
|
||||
|
@ -0,0 +1,12 @@
|
||||
<div class="hero header">
|
||||
<div class="hero-body">
|
||||
<a href="/">
|
||||
<p class="title is-size-0">
|
||||
{{ site.Params.header.name }}
|
||||
</p>
|
||||
<p class="subtitle is-size-4">
|
||||
{{ site.Params.header.subtitle }}
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
19
themes/sophie-lewis/layouts/partials/nav.html
Normal file
19
themes/sophie-lewis/layouts/partials/nav.html
Normal file
@ -0,0 +1,19 @@
|
||||
<nav>
|
||||
<div class="tabs is-fullwidth nav-tabs is-italic is-size-5 is-uppercase">
|
||||
<ul>
|
||||
{{ range $nav_tab := site.Params.navbar }}
|
||||
{{ $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>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
{{/* <li><a>About</a></li>
|
||||
<li><a>Writing</a></li>
|
||||
<li><a>Videos</a></li>
|
||||
<li><a>Get In Touch</a></li> */}}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
Reference in New Issue
Block a user