Skip to content

Commit

Permalink
add return to all events link and fix page listing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Dec 22, 2020
1 parent 0cfa4e0 commit 67127f2
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions layouts/_default/taxonomy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,20 @@

<article class="cf">
<div class="fl w-100 w-20-ns ph0 ph0-ns pv1 f4 left lh-copy sidebar">
<div class="pv3 ph4">
<a class="link dim no-underline mid-gray" href="/"> All Events ></a>
</div>
{{ partial "sidebar.html" . }}
</div>


{{ $mainSections := .Site.Params.mainSections | default (slice "post") }}
{{ $section := where .Site.RegularPages "Section" "in" $mainSections }}
{{ $section_count := len $section }}
{{ if ge $section_count 1 }}
{{ $section_name := index (.Site.Params.mainSections) 0 }}


<div class="fl ph1 ph1-ns pv5 w-100 w-70-ns center">

{{ $n_posts := $.Param "recent_posts_number" | default 100 }}

<section class="w-100 mw8">
{{ range (first $n_posts $section) }}
{{ range .Pages }}
<div class="relative w-100 mb4">
{{ partial "summary.html" . }}
</div>
{{ end }}
</section>
{{end}}
</div>
{{end}}
{{end}}


0 comments on commit 67127f2

Please sign in to comment.