Skip to content

Commit

Permalink
move all pages into sidebar format
Browse files Browse the repository at this point in the history
Signed-off-by: cjyabraham <cjyabraham@gmail.com>
  • Loading branch information
cjyabraham committed Jul 3, 2022
1 parent c9c5b3f commit 40c25c9
Show file tree
Hide file tree
Showing 21 changed files with 9 additions and 15 deletions.
4 changes: 4 additions & 0 deletions website/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ pygmentsStyle = "tango"
source = "layouts/docs"
target = "layouts/maintainers"

[[module.mounts]]
source = "layouts/videos"
target = "layouts/resources"

[[module.mounts]]
source = "data"
target = "data"
Expand Down
8 changes: 0 additions & 8 deletions website/content/about/_index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
---
title: About TAG Contributor Strategy
linkTitle: About
type: single
layout: single
weight: 10
menu:
main:
weight: 10
---


{{< blocks/cover title="About TAG Contributor Strategy" image_anchor="bottom" height="min" >}}


{{< /blocks/cover >}}

{{% blocks/lead color="primary" %}}

TAG Contributor Strategy is responsible for contributor experience,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Contributor Growth Working Group
linkTitle: Contributor Growth
type: single
url: /about/contributor-growth/
---

Expand Down
1 change: 0 additions & 1 deletion website/content/about/working-groups/governance.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Governance Working Group
linkTitle: Governance
type: single
url: /about/governance/
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: "Maintainers Circle Working Group"
linkTitle: "Maintainers Circle"
type: single
url: /about/maintainers-circle
---

Expand Down
Binary file removed website/content/featured-background.jpg
Binary file not shown.
1 change: 0 additions & 1 deletion website/content/maintainers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
---
title: "Project Guidance"
linkTitle: "Maintainers"
section: about
weight: 30
menu:
main:
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions website/layouts/videos/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<div class="container-fluid td-outer">
<div class="td-main">
<div class="row flex-xl-nowrap">
<div class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none">
<div class="col-12 col-md-3 col-xl-3 td-sidebar d-print-none">
{{ partial "sidebar.html" . }}
</div>
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
{{ partial "toc.html" . }}
</div>
<main class="col-12 col-md-9 col-xl-8 pl-md-5 pr-md-4" role="main">
<main class="col-12 col-md-9 col-xl-7 pl-md-5 pr-md-4" role="main">
{{ with .CurrentSection.OutputFormats.Get "rss" -}}
<a class="btn btn-lg -bg-orange td-rss-button d-none d-lg-block" href="{{ .Permalink | safeURL }}" target="_blank">
RSS <i class="fa fa-rss ml-2 "></i>
Expand Down
4 changes: 3 additions & 1 deletion website/layouts/videos/list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}

Expand All @@ -24,7 +25,7 @@ <h5 class="mt-0 mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
{{- if .Pages -}}
{{ $pag := .Paginate ($.Pages.GroupByDate "2006")}}
{{ range $pag.PageGroups }}
<h2>{{ .Key }}</h2>
<h2 class="mt-5">{{ .Key }}</h2>
<ul class="list-unstyled mt-4">
{{ range where .Pages "Params.featured" "!=" true }}
<li class="media mb-4">
Expand All @@ -48,4 +49,5 @@ <h5 class="mt-0 mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
{{ end }}
</div>
</div>
</div>
{{ end }}

0 comments on commit 40c25c9

Please sign in to comment.