Skip to content

Commit

Permalink
added a single.html default page layout and a freshwater radio page t…
Browse files Browse the repository at this point in the history
…hat uses it
  • Loading branch information
Justin Allen committed Sep 20, 2023
1 parent be02551 commit a45a1de
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/media/freshwater-radio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Freshwater Radio
---

### Freshwater Radio is a show about society’s relationship to water in the Great Lakes watershed.

This region holds 40% of the earth’s freshwater supply, so it’s important we appreciate and acknowledge the importance of this life sustaining source. Join host Anish Tailor as he sheds light on a variety of issues, and learn about where our water comes from.

### Episode 01: Chicago Riverwalk

On this inaugural episode, Anish delves into why the Chicago River looks the way it does, and how the Chicago Riverwalk came to be.

<audio controls="" src="/audio/FWR%200101%20-%20Chicago%20Riverwalk.mp3" class="story-audio-display"></audio>

### Episode 02: Santiago X

Anish speaks with Santiago X, an Indigenous futurist architect turned artist based in Chicago about naturalistic, holistic ways of relating to each other and to nature. Go to [santiagox.com](http://santiagox.com) to see more of his artistic work.

<audio controls="" src="/audio/FWR%200102%20-%20Santiago%20X.mp3" class="story-audio-display"></audio>
18 changes: 18 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{{define "main" }}

<header class="about-spacer fade-2">
<div class="about-inner">
<h1 class="single-title">{{.Title}}</h1>
</div>
</header>
<div class="section-light default-page">
<div class="subpage-content fade-3">
<div class="light-text">
{{.Content | markdownify }}
</div>
</div>
</div>



{{ end }}
26 changes: 26 additions & 0 deletions layouts/section/freshwater-radio.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{define "main" }}

<header class="about-spacer fade-2">
<div class="about-inner">
<h1 class="single-title">{{.Title}}</h1>
</div>
</header>
<div class="section-light">
<div class="subpage-content fade-3">
<div class="about-info">
<img class="about-picture-single" src="{{.Params.picture}}">
{{.Params.intention | markdownify}}
</div>
<div class="about-info">
{{.Params.bio | markdownify }}
</div>

<div class="about-info">
{{ partial "back.html" (dict "context" . "link" "/about")}}
</div>
</div>
</div>



{{ end }}
8 changes: 8 additions & 0 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,14 @@ collections:
- { label: 'Audio Name', name: 'audio', widget: 'string'}
- { label: 'Intro', name: 'intro', widget: 'markdown', required: false}
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'freshwater radio'
label: 'Freshwater Radio'
folder: 'content/media'
file: 'content/media/freshwater-radio.md'
create: false
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Intro', name: 'intro', widget: 'text' }
- name: 'en español'
label: 'En Español'
folder: 'content/en-español'
Expand Down
9 changes: 9 additions & 0 deletions static/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,15 @@ a:visited{
text-decoration: none;
}

/* some generic page styles */
.default-page .subpage-content p {
font-size: 1.2rem;
}





.map-text {
display: none;
font-size: 1.75rem;
Expand Down
Binary file added static/audio/FWR 0101 - Chicago Riverwalk.mp3
Binary file not shown.
Binary file added static/audio/FWR 0102 - Santiago X.mp3
Binary file not shown.

0 comments on commit a45a1de

Please sign in to comment.