Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old and external playbooks #895

Merged
merged 2 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions content/playbooks/rpa.md

This file was deleted.

312 changes: 0 additions & 312 deletions content/playbooks/tbm.md

This file was deleted.

34 changes: 0 additions & 34 deletions data/external_playbooks.yml

This file was deleted.

13 changes: 3 additions & 10 deletions layouts/playbooks/list.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{{ define "main" }}

{{ $scratch := newScratch }}
{{ $externalPlaybooks := .Site.Data.external_playbooks }}
{{ range .Pages }}
{{ $scratch.Add "internalPlaybooks" (slice (dict "title" .Title "url" .RelPermalink "description" .Params.description)) }}
{{ end }}
{{ $playbooks := sort (($scratch.Get "internalPlaybooks") | append $externalPlaybooks) "title" }}

<div class="grid-container">

<h1>GSA Tech Playbooks</h1>
Expand All @@ -21,10 +14,10 @@ <h1>GSA Tech Playbooks</h1>
</tr>
</thead>
<tbody>
{{ range $playbooks }}
{{ range .Pages }}
<tr>
<td><a href="{{ .url }}">{{ .title }}</a></td>
<td>{{ .description }}</td>
<td><a href="{{ .Permalink }}">{{ .Title }}</a></td>
<td>{{ .Description }}</td>
</tr>
{{ end }}
</tbody>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed static/assets/cms/files/NSA_Case_Study.pdf
Binary file not shown.
Binary file removed static/assets/cms/files/PBS_Case_Study.pdf
Binary file not shown.
Binary file not shown.
Binary file removed static/assets/cms/files/TechnologySelection3.pdf
Binary file not shown.
Binary file not shown.
Loading