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

Adds support for multiple categories per resource; #771

Merged
merged 3 commits into from
Dec 11, 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
16 changes: 9 additions & 7 deletions pages/_layouts/resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,20 @@ <h3 class="margin-top-0 margin-bottom-0">Source</h3>

<div class="{{ column_length }}">
<h3 class="margin-top-0 margin-bottom-0">Category</h3>
<p class="margin-top-05 margin-bottom-205">
{% assign category_slug = page.category | slugify %}
<a href="{{ "/categories/" | append: category_slug | relative_url }}">
{{ page.category }}
</a>
</p>
<div class="margin-top-05 margin-bottom-205">
{% for category in page.category %}
{% assign category_slug = category | slugify %}
<div>
<a href="{{ "/categories/" | append: category_slug | relative_url }}">{{ category }}</a>{% if forloop.last != true %},{% endif %}
</div>
{% endfor %}
</div>

<h3 class="margin-top-0 margin-bottom-0">Keywords</h3>
<div class="margin-top-05 margin-bottom-205">
{% for tag in page.tags %}
{% assign slug_tag = tag | slugify %}
<div>
{% assign slug_tag = tag | slugify %}
<a href="{{ "/keywords/" | append: slug_tag | relative_url }}">{{ tag }}</a>{% if forloop.last != true %},{% endif %}
</div>
{% endfor %}
Expand Down
11 changes: 3 additions & 8 deletions pages/_resources/cdoc-case-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,20 @@ description: "This series was developed by the Chief Data Officer Council’s Da
Workforce Development Working Group to provide support to agencies in
implementing the Federal Data Strategy’s Agency Action 4 gap-closing strategy
training component in FY21. "

file: /assets/documents/CDOC Data Skills Case Studies v6.pdf


source: Federal Chief Data Officer's Council
category: Case studies & examples
category:
- Case studies & examples
- Skills development
tags:
- data sharing

guidance_tags: ""
format: ""
details: |
- Originally published 2021
- Data Skills Training Program Case Studies
- Data Skills & Workforce Development Working Group

examples: ""


link: ""
layout: resource
toc: true
Expand Down
Loading