From 57f65da2b3b1531bc9239d53c3ed392dc8a838e7 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Thu, 27 Jun 2024 15:36:35 -0700 Subject: [PATCH 01/16] created new job board card in Communities to link to job board page --- content/communities/job-board.md | 90 +++++++++++++++++++ .../src/scss/new/home/_communities.scss | 23 ++--- 2 files changed, 102 insertions(+), 11 deletions(-) create mode 100644 content/communities/job-board.md diff --git a/content/communities/job-board.md b/content/communities/job-board.md new file mode 100644 index 0000000000..ee993ea030 --- /dev/null +++ b/content/communities/job-board.md @@ -0,0 +1,90 @@ +--- +# View this page at https://digital.gov/communities/... +# Learn how to edit our pages at https://workflow.digital.gov + +slug: job-board +date: 2024-06-27 3:33:00 -0500 +title: "CoP Job Board" +summary: "Discover CoP and technology-related job openings in the government." + +# Redirects: enter the path of the URL that you want redirected to this page +aliases: + - /communities/job-board/ + +# see all topics at https://digital.gov/topics +topics: + - professional-development + +# see all authors at https://digital.gov/authors +# authors: + + +event_cop: + - job-board + +# Page weight: controls how this page appears across the site +# 0 -- hidden +# 1 -- visible +weight: 1 + +# Spotlight Digital.gov Communities of Practice (COP) at top of /communities +dg_highlight: true +dg_shortname: Job Board +dg_acronym: JB +dg_logo: communities-web-managers.svg + +primary_image: "white-on-gsa-blue-digital-gov-card-community" + +kicker: "Go to CoP Job Board" + +--- + +Good afternoon, + + + +The U.S. International Development Finance Corporation (DFC) is looking for a GS-14 Public Affairs Specialist to join our Office of External Affairs. It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing. + + + +Who is DFC? We’re a small federal agency with the big responsibility of being America’s development finance institution. DFC partners with the private sector to finance solutions to the most critical challenges facing the developing world today. We invest across sectors including energy, healthcare, critical infrastructure, and technology. DFC also provides financing for small businesses and women entrepreneurs in order to create jobs in emerging markets. + + + +Experience we’re looking for: + + + +1) Develop and implement comprehensive media relations strategies to enhance the visibility and reputation of an organization in an international context. + +2) Cultivate and maintain strong relationships with national and international media outlets, reporters, editors, and producers to promote accurate and favorable coverage of an organization's activities. + +3) Proactively identify media opportunities and pitch stories to secure coverage that aligns with strategic priorities and is targeted to reach specific audiences. + +4) Serve as a key point of contact for media inquiries, coordinating responses and interviews with organizational leadership and subject matter experts. + +5) Provide media training and support to the organization's senior leaders and staff to ensure effective communication with the press. + + + +Who can apply: + + + +Career transition (CTAP, ICTAP, RPL) +Federal employees who meet the definition of "surplus" or "displaced." +Family of overseas employees +Current or former competitive service federal employees. +Individuals with disabilities +Certain current or former term or temporary federal employees of a land or base management agency. +Military spouses +Peace Corps & AmeriCorps VISTA +Special authorities defined in federal hiring regulations. +Veterans + + +This is a telework eligible position located in Washington, D.C. + + + +Apply by 7/1/24: https://www.usajobs.gov/job/797053700 \ No newline at end of file diff --git a/themes/digital.gov/src/scss/new/home/_communities.scss b/themes/digital.gov/src/scss/new/home/_communities.scss index 5e1bfa7c94..7826999e46 100644 --- a/themes/digital.gov/src/scss/new/home/_communities.scss +++ b/themes/digital.gov/src/scss/new/home/_communities.scss @@ -26,6 +26,7 @@ $communities-of-practice: ( "UX": color("mint-cool-50"), "WAO": color("orange-60"), "WCM": color("indigo-60v"), + "JB" : color("indigo-60v") ); @each $community, $color in $communities-of-practice { @@ -77,17 +78,17 @@ $communities-of-practice: ( max-width: none !important; // Make the first card wider for emphasis - &:first-child { - grid-column: 1 / 3; - - .usa-button--outline { - box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM"); - color: map.get($communities-of-practice, "WCM"); - &:hover { - color: #fff; - } - } - } + // &:first-child { + // grid-column: 1 / 3; + + // .usa-button--outline { + // box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM"); + // color: map.get($communities-of-practice, "WCM"); + // &:hover { + // color: #fff; + // } + // } + // } } .usa-card__media { From ee9411b96925120b26537ae6e05319304c92d964 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 28 Jun 2024 11:18:16 -0700 Subject: [PATCH 02/16] reorganized job board location on communities page. Now placed underneath CoP cards --- content/communities/job-board.md | 29 +++++++------------ .../digital.gov/layouts/communities/list.html | 10 ++++++- .../src/scss/new/home/_communities.scss | 23 +++++++-------- 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/content/communities/job-board.md b/content/communities/job-board.md index ee993ea030..ddfa2503e9 100644 --- a/content/communities/job-board.md +++ b/content/communities/job-board.md @@ -5,7 +5,8 @@ slug: job-board date: 2024-06-27 3:33:00 -0500 title: "CoP Job Board" -summary: "Discover CoP and technology-related job openings in the government." +deck: "Discover CoP and technology-related job openings in the government gathered by our CoP members." +summary: "Discover CoP and technology-related job openings in the government, gathered by our CoP members." # Redirects: enter the path of the URL that you want redirected to this page aliases: @@ -27,33 +28,25 @@ event_cop: # 1 -- visible weight: 1 -# Spotlight Digital.gov Communities of Practice (COP) at top of /communities -dg_highlight: true -dg_shortname: Job Board -dg_acronym: JB -dg_logo: communities-web-managers.svg - -primary_image: "white-on-gsa-blue-digital-gov-card-community" - kicker: "Go to CoP Job Board" --- Good afternoon, - + The U.S. International Development Finance Corporation (DFC) is looking for a GS-14 Public Affairs Specialist to join our Office of External Affairs. It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing. - + Who is DFC? We’re a small federal agency with the big responsibility of being America’s development finance institution. DFC partners with the private sector to finance solutions to the most critical challenges facing the developing world today. We invest across sectors including energy, healthcare, critical infrastructure, and technology. DFC also provides financing for small businesses and women entrepreneurs in order to create jobs in emerging markets. - + Experience we’re looking for: - + 1) Develop and implement comprehensive media relations strategies to enhance the visibility and reputation of an organization in an international context. @@ -65,11 +58,11 @@ Experience we’re looking for: 5) Provide media training and support to the organization's senior leaders and staff to ensure effective communication with the press. - + Who can apply: - + Career transition (CTAP, ICTAP, RPL) Federal employees who meet the definition of "surplus" or "displaced." @@ -81,10 +74,10 @@ Military spouses Peace Corps & AmeriCorps VISTA Special authorities defined in federal hiring regulations. Veterans - + This is a telework eligible position located in Washington, D.C. - -Apply by 7/1/24: https://www.usajobs.gov/job/797053700 \ No newline at end of file + +[Apply by 7/1/24] (https://www.usajobs.gov/job/797053700) \ No newline at end of file diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index c1c95c6512..968210b81e 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -3,11 +3,19 @@ {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} {{ $other_communities := (where $communities ".Params.dg_highlight" "!=" true) }} -
{{/* Digital.gov Communities of Practice */}} {{ partial "core/featured-communities.html" (dict "context" . "layout" "has-image") }} + {{/* Communities of Practice Job Board */}} +
+

Communities of Practice Job Board

+
+ Discover CoP and technology-related job openings in the government gathered by our CoP members. +
+ {{ partial "core/usa-button.html" (dict "href" "/communities/job-board" "text" "Go to Job Board")}} +
+ {{/* Other Communities of Practice */}}

Other Communities of Practice

diff --git a/themes/digital.gov/src/scss/new/home/_communities.scss b/themes/digital.gov/src/scss/new/home/_communities.scss index 7826999e46..5e1bfa7c94 100644 --- a/themes/digital.gov/src/scss/new/home/_communities.scss +++ b/themes/digital.gov/src/scss/new/home/_communities.scss @@ -26,7 +26,6 @@ $communities-of-practice: ( "UX": color("mint-cool-50"), "WAO": color("orange-60"), "WCM": color("indigo-60v"), - "JB" : color("indigo-60v") ); @each $community, $color in $communities-of-practice { @@ -78,17 +77,17 @@ $communities-of-practice: ( max-width: none !important; // Make the first card wider for emphasis - // &:first-child { - // grid-column: 1 / 3; - - // .usa-button--outline { - // box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM"); - // color: map.get($communities-of-practice, "WCM"); - // &:hover { - // color: #fff; - // } - // } - // } + &:first-child { + grid-column: 1 / 3; + + .usa-button--outline { + box-shadow: inset 0 0 0 2px map.get($communities-of-practice, "WCM"); + color: map.get($communities-of-practice, "WCM"); + &:hover { + color: #fff; + } + } + } } .usa-card__media { From 05d2f79873c8e2c547e85319b9e05d5c8751369b Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 28 Jun 2024 11:40:02 -0700 Subject: [PATCH 03/16] fixed formatting bug --- themes/digital.gov/layouts/communities/list.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index 968210b81e..65ccb3e6b0 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -3,17 +3,20 @@ {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} {{ $other_communities := (where $communities ".Params.dg_highlight" "!=" true) }} +
{{/* Digital.gov Communities of Practice */}} {{ partial "core/featured-communities.html" (dict "context" . "layout" "has-image") }} {{/* Communities of Practice Job Board */}} -
+

Communities of Practice Job Board

- Discover CoP and technology-related job openings in the government gathered by our CoP members. + Discover CoP and technology-related job openings in the government
+ gathered by our CoP members.
- {{ partial "core/usa-button.html" (dict "href" "/communities/job-board" "text" "Go to Job Board")}} +
+ {{ partial "core/usa-button.html" (dict "href" "/communities/job-board" "text" "Go to Job Board") }}
{{/* Other Communities of Practice */}} From 0bacb9f922ed2fca0cc18c0969afff043a794ad7 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 28 Jun 2024 14:20:23 -0700 Subject: [PATCH 04/16] Updated communities page logic -Added new parameter to isolate job board page from community pages -Updated communities page variables to not include job board page -Added relative permalink to job board href --- content/communities/job-board.md | 2 ++ themes/digital.gov/layouts/communities/list.html | 14 ++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/content/communities/job-board.md b/content/communities/job-board.md index ddfa2503e9..922a9514b0 100644 --- a/content/communities/job-board.md +++ b/content/communities/job-board.md @@ -28,6 +28,8 @@ event_cop: # 1 -- visible weight: 1 +is_job_board: true + kicker: "Go to CoP Job Board" --- diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index 65ccb3e6b0..dea7fe1b3e 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -1,7 +1,8 @@ {{ define "content" }} {{/* Gets all community pages and filter out those that are not the featured dg top 7 */}} {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} - {{ $other_communities := (where $communities ".Params.dg_highlight" "!=" true) }} + {{ $other_communities := (where (where $communities ".Params.dg_highlight" "!=" true) ".Params.is_job_board" "!=" true) }} + {{ $job_board := (where (where $communities ".Params.is_job_board" "eq" true) ".Params.dg_highlight" "!=" true) }}
@@ -12,11 +13,16 @@

Communities of Practice Job Board

- Discover CoP and technology-related job openings in the government
+ Discover CoP and technology-related job openings in the government +
gathered by our CoP members.
-
- {{ partial "core/usa-button.html" (dict "href" "/communities/job-board" "text" "Go to Job Board") }} +
+ + {{ range $job_board.ByTitle }} + {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} + {{ end }} +
{{/* Other Communities of Practice */}} From 8c97cb2f2609596555e95d563e1662bdfb5e5f7f Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 28 Jun 2024 15:07:37 -0700 Subject: [PATCH 05/16] Reformatted job descriptions into table format --- content/communities/job-board.md | 82 +++++++++++++------------------- 1 file changed, 33 insertions(+), 49 deletions(-) diff --git a/content/communities/job-board.md b/content/communities/job-board.md index 922a9514b0..0f174bd3e4 100644 --- a/content/communities/job-board.md +++ b/content/communities/job-board.md @@ -34,52 +34,36 @@ kicker: "Go to CoP Job Board" --- -Good afternoon, - - - -The U.S. International Development Finance Corporation (DFC) is looking for a GS-14 Public Affairs Specialist to join our Office of External Affairs. It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing. - - - -Who is DFC? We’re a small federal agency with the big responsibility of being America’s development finance institution. DFC partners with the private sector to finance solutions to the most critical challenges facing the developing world today. We invest across sectors including energy, healthcare, critical infrastructure, and technology. DFC also provides financing for small businesses and women entrepreneurs in order to create jobs in emerging markets. - - - -Experience we’re looking for: - - - -1) Develop and implement comprehensive media relations strategies to enhance the visibility and reputation of an organization in an international context. - -2) Cultivate and maintain strong relationships with national and international media outlets, reporters, editors, and producers to promote accurate and favorable coverage of an organization's activities. - -3) Proactively identify media opportunities and pitch stories to secure coverage that aligns with strategic priorities and is targeted to reach specific audiences. - -4) Serve as a key point of contact for media inquiries, coordinating responses and interviews with organizational leadership and subject matter experts. - -5) Provide media training and support to the organization's senior leaders and staff to ensure effective communication with the press. - - - -Who can apply: - - - -Career transition (CTAP, ICTAP, RPL) -Federal employees who meet the definition of "surplus" or "displaced." -Family of overseas employees -Current or former competitive service federal employees. -Individuals with disabilities -Certain current or former term or temporary federal employees of a land or base management agency. -Military spouses -Peace Corps & AmeriCorps VISTA -Special authorities defined in federal hiring regulations. -Veterans - - -This is a telework eligible position located in Washington, D.C. - - - -[Apply by 7/1/24] (https://www.usajobs.gov/job/797053700) \ No newline at end of file +##Job Openings + +Our job board consists of positions that members of our CoPs would like to advertise. Please note that this is not a comprehensive list of CoP or technology-related job openings. + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TitleDepartmentDescriptionOpenCloseApply
Public Affairs Specialist U.S. International Development Finance Corporation (DFC) It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing.6/25/247/1/24Apply +
Public Affairs Specialist U.S. International Development Finance Corporation (DFC) It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing.6/25/247/1/24Apply +
From aa9b99ce82c72ab1e69f4916ddccc361b17b44f2 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 1 Jul 2024 11:46:52 -0700 Subject: [PATCH 06/16] Restructured job board files -Added Shortcode page to incorporate custom html formatting -Created job_board.yml to easily write out job posting information -Replaced job board table on job-board.md with Shortcode page job-board.html --- content/communities/job-board.md | 34 ++----------------- data/job_board.yml | 23 +++++++++++++ .../digital.gov/layouts/communities/list.html | 11 +++--- .../layouts/shortcodes/job-board.html | 31 +++++++++++++++++ 4 files changed, 62 insertions(+), 37 deletions(-) create mode 100644 data/job_board.yml create mode 100644 themes/digital.gov/layouts/shortcodes/job-board.html diff --git a/content/communities/job-board.md b/content/communities/job-board.md index 0f174bd3e4..40516cc95e 100644 --- a/content/communities/job-board.md +++ b/content/communities/job-board.md @@ -33,37 +33,9 @@ is_job_board: true kicker: "Go to CoP Job Board" --- +## Job Openings +Our job board consists of positions that members of our CoPs would like to advertise. Please note that this is not a comprehensive list of CoP or technology-related job openings. -##Job Openings +{{< job-board >}} -Our job board consists of positions that members of our CoPs would like to advertise. Please note that this is not a comprehensive list of CoP or technology-related job openings. - - - - - - - - - - - - - - - - - - - - - - - - - - -
TitleDepartmentDescriptionOpenCloseApply
Public Affairs Specialist U.S. International Development Finance Corporation (DFC) It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing.6/25/247/1/24Apply -
Public Affairs Specialist U.S. International Development Finance Corporation (DFC) It's a role that blends strategy, communication, and media savvy to help elevate the impactful work we're doing.6/25/247/1/24Apply -
diff --git a/data/job_board.yml b/data/job_board.yml new file mode 100644 index 0000000000..9bc002f648 --- /dev/null +++ b/data/job_board.yml @@ -0,0 +1,23 @@ +--- + + +- title: Technology + department: test2 + description: test3 + open_date: test4 + close_date: test5 + apply_link: https://www.usajobs.gov/job/797053700 + +- title: Technology2 + department: test3 + description: test3 + open_date: test4 + close_date: test5 + apply_link: https://www.usajobs.gov/job/797053700 + +- title: Technology3 + department: test4 + description: test3 + open_date: test4 + close_date: test5 + apply_link: https://www.usajobs.gov/job/797053700 diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index dea7fe1b3e..be21add5b5 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -1,6 +1,7 @@ {{ define "content" }} {{/* Gets all community pages and filter out those that are not the featured dg top 7 */}} {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} + {{/* Gets all other community pages that are not featured and do not have the job board parameter*/}} {{ $other_communities := (where (where $communities ".Params.dg_highlight" "!=" true) ".Params.is_job_board" "!=" true) }} {{ $job_board := (where (where $communities ".Params.is_job_board" "eq" true) ".Params.dg_highlight" "!=" true) }} @@ -13,16 +14,14 @@

Communities of Practice Job Board

- Discover CoP and technology-related job openings in the government -
- gathered by our CoP members. + Discover CoP and technology-related job openings in the government +
+ gathered by our CoP members.

- {{ range $job_board.ByTitle }} - {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} + {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} {{ end }} -
{{/* Other Communities of Practice */}} diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html new file mode 100644 index 0000000000..1075688dc6 --- /dev/null +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -0,0 +1,31 @@ +{{/* Communities of Practice Job Board Shortcode*/}} +{{/* Custom html formatting on communities job board page, connects to job-board.md*/}} +{{/* Job posting information comes from job_board.yml*/}} + + + + + + + + + + + + + + {{ range .Site.Data.job_board }} + + + + + + + + + {{ end }} + +
TitleDepartmentDescriptionOpen DateClose DateApply
{{ .title }}{{ .department }}{{ .description }}{{ .open_date }}{{ .close_date }}{{ .apply_link }}
+ + + From 157cb8f7a52112a8adfd31a69b6c23e3be3419a3 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 1 Jul 2024 13:30:59 -0700 Subject: [PATCH 07/16] Updated job-board component comment --- .../digital.gov/layouts/communities/list.html | 10 ++-- .../layouts/shortcodes/job-board.html | 57 ++++++++++--------- 2 files changed, 36 insertions(+), 31 deletions(-) diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index be21add5b5..aaf9ea5d5d 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -1,7 +1,7 @@ {{ define "content" }} {{/* Gets all community pages and filter out those that are not the featured dg top 7 */}} {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} - {{/* Gets all other community pages that are not featured and do not have the job board parameter*/}} + {{/* Gets all other community pages that are not featured and do not have the job board parameter */}} {{ $other_communities := (where (where $communities ".Params.dg_highlight" "!=" true) ".Params.is_job_board" "!=" true) }} {{ $job_board := (where (where $communities ".Params.is_job_board" "eq" true) ".Params.dg_highlight" "!=" true) }} @@ -14,13 +14,13 @@

Communities of Practice Job Board

- Discover CoP and technology-related job openings in the government -
- gathered by our CoP members. + Discover CoP and technology-related job openings in the government +
+ gathered by our CoP members.

{{ range $job_board.ByTitle }} - {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} + {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} {{ end }}
diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index 1075688dc6..ef2332280d 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -1,31 +1,36 @@ -{{/* Communities of Practice Job Board Shortcode*/}} -{{/* Custom html formatting on communities job board page, connects to job-board.md*/}} -{{/* Job posting information comes from job_board.yml*/}} +{{/* + Communities of Practice Job Board Shortcode + Formats job posting information from "job-board.yml" into a table, as seen on Communities of Practice Job Board "job-board.md" + Add new job posting on "job-board.yml" to display in job posting table. + No params needed + + + @example + {{< job-board >}} + */}} + - - - - - - - - - - - + + + + + + + + + + + {{ range .Site.Data.job_board }} - - - - - - - - + + + + + + + + {{ end }} - +
TitleDepartmentDescriptionOpen DateClose DateApply
TitleDepartmentDescriptionOpen DateClose DateApply
{{ .title }}{{ .department }}{{ .description }}{{ .open_date }}{{ .close_date }}{{ .apply_link }}
{{ .title }}{{ .department }}{{ .description }}{{ .open_date }}{{ .close_date }}{{ .apply_link }}
- - - From ec74e17bf5feef0aea7f343487f0652664fc8d81 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 5 Jul 2024 13:52:56 -0700 Subject: [PATCH 08/16] Updated job board table formatting. Updated job board examples. --- data/job_board.yml | 37 ++++++++++--------- .../layouts/shortcodes/job-board.html | 30 +++++++-------- 2 files changed, 33 insertions(+), 34 deletions(-) diff --git a/data/job_board.yml b/data/job_board.yml index 9bc002f648..bc15bd699c 100644 --- a/data/job_board.yml +++ b/data/job_board.yml @@ -1,23 +1,24 @@ --- +- title: Communications Engagement Specialist + department: Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs + description: This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns. + open_date: 6/20/2024 + close_date: 7/01/2024 + apply_link: https://www.usajobs.gov/job/796518900 -- title: Technology - department: test2 - description: test3 - open_date: test4 - close_date: test5 - apply_link: https://www.usajobs.gov/job/797053700 +- title: Health Communications Specialist + department: DEPARTMENT OF HEALTH AND HUMAN SERVICES + description: The CDC’s Office of Communications (OC), Division of Communication Science and Services (DCSS), Inclusive Communication and Training Team is seeking a highly motivated candidate to serve as the Health Literacy Lead for CDC. The candidate will serve as a subject matter expert in health literacy, plain language, and clear communication. The candidate will work closely with the division director, branch chief, and Inclusive Communication and Training (ICT) team lead to guide the agency’s work in health literacy. + open_date: 6/17/2024 + close_date: 7/02/2024 + apply_link: https://www.usajobs.gov/job/796159700 + +- title: Digital Communications Specialist + department: Office of the Chief Communications Officer (OCCO), United States Patent and Trademark Office (USPTO) + description: I wanted to share a great job opportunity on my team at the US Patent and Trademark Office, especially for anyone who already knows Drupal or works on an agile team. As a product owner, this position manages the future enhancements and priorities for www.uspto.gov. There is a lot of independence in this role—you need to be able investigate a problem and identify a new solution the development team can implement. If you like looking at data with the goal to improve customer experiences, this may be a perfect job for you or something you know. The position allows for full-time telework anywhere in the country (salary is dependent on locality), and is part of a growing Communications Office. + open_date: 6/21/2024 + close_date: 7/05/2024 + apply_link: https://www.usajobs.gov/job/796805100 -- title: Technology2 - department: test3 - description: test3 - open_date: test4 - close_date: test5 - apply_link: https://www.usajobs.gov/job/797053700 -- title: Technology3 - department: test4 - description: test3 - open_date: test4 - close_date: test5 - apply_link: https://www.usajobs.gov/job/797053700 diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index ef2332280d..908bdc6662 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -1,23 +1,22 @@ {{/* - Communities of Practice Job Board Shortcode - Formats job posting information from "job-board.yml" into a table, as seen on Communities of Practice Job Board "job-board.md" - Add new job posting on "job-board.yml" to display in job posting table. - No params needed - - - @example - {{< job-board >}} - */}} - + Communities of Practice Job Board Shortcode + Formats job posting information from "job-board.yml" into a table, as seen on Communities of Practice Job Board "job-board.md" + Add new job posting on "job-board.yml" to display in job posting table. + No params needed - + + @example + {{< job-board >}} +*/}} + + +
- - + @@ -27,9 +26,8 @@ - - - + + {{ end }} From cd11c8cea21aa2104a1602263af70b00d3efe6d7 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 8 Jul 2024 12:13:16 -0700 Subject: [PATCH 09/16] Updated prettier-ignore comments to pass testing --- themes/digital.gov/layouts/shortcodes/job-board.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index 908bdc6662..6d7872f191 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -3,10 +3,6 @@ Formats job posting information from "job-board.yml" into a table, as seen on Communities of Practice Job Board "job-board.md" Add new job posting on "job-board.yml" to display in job posting table. No params needed - - - @example - {{< job-board >}} */}} From 92bfd45c1f20dc91ce99486989cd32e8e4d4d8f2 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 8 Jul 2024 15:36:18 -0700 Subject: [PATCH 10/16] Moved CoP Job Board to its own tab -Updated config.yml to add job board tab in menu -Created new job board folder in content and themes -Removed job board from communities folder -Connected job-board shortcode to new job-board.md --- config.yml | 4 +++ .../job-board.md => job-board/_index.md} | 22 ++------------ .../digital.gov/layouts/communities/list.html | 20 ++----------- .../digital.gov/layouts/job-board/list.html | 30 +++++++++++++++++++ .../layouts/shortcodes/job-board.html | 5 +++- 5 files changed, 42 insertions(+), 39 deletions(-) rename content/{communities/job-board.md => job-board/_index.md} (54%) create mode 100644 themes/digital.gov/layouts/job-board/list.html diff --git a/config.yml b/config.yml index fb7e481cdd..2e63472385 100644 --- a/config.yml +++ b/config.yml @@ -131,6 +131,10 @@ menu: Identifier: "tools" URL: "/services/" Weight: 5 + - Name: "Job Board" + Identifier: "job-board" + URL: "/job-board/" + Weight: 6 contribute: - Name: "Write for us" diff --git a/content/communities/job-board.md b/content/job-board/_index.md similarity index 54% rename from content/communities/job-board.md rename to content/job-board/_index.md index 40516cc95e..aa6ab30518 100644 --- a/content/communities/job-board.md +++ b/content/job-board/_index.md @@ -4,37 +4,19 @@ slug: job-board date: 2024-06-27 3:33:00 -0500 -title: "CoP Job Board" +title: "Communities of Practice Job Board" deck: "Discover CoP and technology-related job openings in the government gathered by our CoP members." summary: "Discover CoP and technology-related job openings in the government, gathered by our CoP members." # Redirects: enter the path of the URL that you want redirected to this page aliases: - - /communities/job-board/ + - /job-board/ # see all topics at https://digital.gov/topics topics: - professional-development -# see all authors at https://digital.gov/authors -# authors: - - -event_cop: - - job-board - -# Page weight: controls how this page appears across the site -# 0 -- hidden -# 1 -- visible -weight: 1 - -is_job_board: true - -kicker: "Go to CoP Job Board" - --- -## Job Openings -Our job board consists of positions that members of our CoPs would like to advertise. Please note that this is not a comprehensive list of CoP or technology-related job openings. {{< job-board >}} diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index aaf9ea5d5d..908de276b5 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -1,29 +1,13 @@ {{ define "content" }} {{/* Gets all community pages and filter out those that are not the featured dg top 7 */}} {{ $communities := (where (where .Site.Pages "Section" "communities").ByTitle ".Params.weight" "ge" 1) }} - {{/* Gets all other community pages that are not featured and do not have the job board parameter */}} - {{ $other_communities := (where (where $communities ".Params.dg_highlight" "!=" true) ".Params.is_job_board" "!=" true) }} - {{ $job_board := (where (where $communities ".Params.is_job_board" "eq" true) ".Params.dg_highlight" "!=" true) }} + {{ $other_communities := (where $communities ".Params.dg_highlight" "!=" true) }}
{{/* Digital.gov Communities of Practice */}} {{ partial "core/featured-communities.html" (dict "context" . "layout" "has-image") }} - {{/* Communities of Practice Job Board */}} -
-

Communities of Practice Job Board

-
- Discover CoP and technology-related job openings in the government -
- gathered by our CoP members. -
-
- {{ range $job_board.ByTitle }} - {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Go to Job Board") }} - {{ end }} -
- {{/* Other Communities of Practice */}}

Other Communities of Practice

@@ -36,4 +20,4 @@

Other Communities of Practice

{{ partial "core/collection/collection-grid-list.html" (dict "list_data" $other_communities) }}
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/themes/digital.gov/layouts/job-board/list.html b/themes/digital.gov/layouts/job-board/list.html new file mode 100644 index 0000000000..2162aa34d0 --- /dev/null +++ b/themes/digital.gov/layouts/job-board/list.html @@ -0,0 +1,30 @@ +{{ define "content" }} +{{ $job_board_page := ( .Site.Pages )}} +
+
+
+
+
+

{{- .Title | markdownify -}}

+ + {{/* Deck */}} + {{- if .Params.deck -}} +

{{- .Params.deck | markdownify -}}

+ {{- end -}} +
+ {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }} +
+
+
+
+
+
+ {{ .Content }} +
+
+ + + + +
+{{ end }} diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index 6d7872f191..ece5341848 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -5,6 +5,7 @@ No params needed */}} +
Title Department DescriptionOpen DateClose DateOpen Apply
{{ .title }} {{ .department }} {{ .description }}{{ .open_date }}{{ .close_date }}{{ .apply_link }}{{ .open_date }} to {{ .close_date }}Apply
@@ -23,7 +24,9 @@ - + {{ end }} From 7d02768f3f9f0ff487363f65c2c6ee6f85f12c7b Mon Sep 17 00:00:00 2001 From: klin2020 Date: Fri, 12 Jul 2024 15:49:27 -0700 Subject: [PATCH 11/16] Update Job Board formatting to use USWDS Components -Added more detailed job info in job_board.yml -Replaced job board table with USWDS formatting -Created _card-job.scss -Added _card-job.scss to styles.scss --- data/job_board.yml | 13 ++ .../digital.gov/layouts/job-board/list.html | 45 ++++--- .../layouts/shortcodes/job-board.html | 66 +++++++---- .../digital.gov/src/scss/new/_card-job.scss | 111 ++++++++++++++++++ themes/digital.gov/src/scss/new/styles.scss | 1 + 5 files changed, 188 insertions(+), 48 deletions(-) create mode 100644 themes/digital.gov/src/scss/new/_card-job.scss diff --git a/data/job_board.yml b/data/job_board.yml index bc15bd699c..95a447b8f0 100644 --- a/data/job_board.yml +++ b/data/job_board.yml @@ -3,22 +3,35 @@ - title: Communications Engagement Specialist department: Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs description: This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns. + location: Washington, D.C. open_date: 6/20/2024 close_date: 7/01/2024 apply_link: https://www.usajobs.gov/job/796518900 + cop_topics: + - Communicators + - Web Managers + - Social Media + - Plain Language + - title: Health Communications Specialist department: DEPARTMENT OF HEALTH AND HUMAN SERVICES description: The CDC’s Office of Communications (OC), Division of Communication Science and Services (DCSS), Inclusive Communication and Training Team is seeking a highly motivated candidate to serve as the Health Literacy Lead for CDC. The candidate will serve as a subject matter expert in health literacy, plain language, and clear communication. The candidate will work closely with the division director, branch chief, and Inclusive Communication and Training (ICT) team lead to guide the agency’s work in health literacy. + location: Atlanta, GA open_date: 6/17/2024 close_date: 7/02/2024 apply_link: https://www.usajobs.gov/job/796159700 + cop_topics: + - Communicators - title: Digital Communications Specialist department: Office of the Chief Communications Officer (OCCO), United States Patent and Trademark Office (USPTO) description: I wanted to share a great job opportunity on my team at the US Patent and Trademark Office, especially for anyone who already knows Drupal or works on an agile team. As a product owner, this position manages the future enhancements and priorities for www.uspto.gov. There is a lot of independence in this role—you need to be able investigate a problem and identify a new solution the development team can implement. If you like looking at data with the goal to improve customer experiences, this may be a perfect job for you or something you know. The position allows for full-time telework anywhere in the country (salary is dependent on locality), and is part of a growing Communications Office. + location: Alexandria, VA open_date: 6/21/2024 close_date: 7/05/2024 apply_link: https://www.usajobs.gov/job/796805100 + cop_topics: + - Communicators diff --git a/themes/digital.gov/layouts/job-board/list.html b/themes/digital.gov/layouts/job-board/list.html index 2162aa34d0..73b4521f14 100644 --- a/themes/digital.gov/layouts/job-board/list.html +++ b/themes/digital.gov/layouts/job-board/list.html @@ -1,30 +1,27 @@ {{ define "content" }} {{ $job_board_page := ( .Site.Pages )}}
-
-
-
-
-

{{- .Title | markdownify -}}

- - {{/* Deck */}} - {{- if .Params.deck -}} -

{{- .Params.deck | markdownify -}}

- {{- end -}} -
- {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }} -
-
-
-
-
-
- {{ .Content }} -
-
+
+
+
+
+

{{- .Title | markdownify -}}

+ + {{/* Deck */}} + {{- if .Params.deck -}} +

{{- .Params.deck | markdownify -}}

+ {{- end -}} +
+
{{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }}
+
+
+
+
- - - +
+
+ {{ .Content }} +
+
{{ end }} diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index ece5341848..6d0367407d 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -5,29 +5,47 @@ No params needed */}} +{{/* Dictionary used to convert CoP names to its acronym for style formatting */}} +{{ $acronymToCop := dict + "Communicators" "FCN" + "Multilingual" "ML" + "Plain Language" "PL" + "Social Media" "SM" + "User Experience" "UX" + "Web Analytics" "WAO" + "Web Managers" "WCM" }} - -
{{ .department }} {{ .description }} {{ .open_date }} to {{ .close_date }}Apply + Apply +
- - - - - - - - - - - {{ range .Site.Data.job_board }} - - - - - - - + +{{ range .Site.Data.job_board }} +
+
+

{{- .title | markdownify -}}

+ + Apply + +
+
{{ .department | markdownify }}
+
{{ .location | markdownify }}
+

{{ .description | markdownify }}

+
+
+ +
+
Open {{ .open_date }} to {{ .close_date }}
+ {{ range .cop_topics }} + {{ $topic := . }} + {{ $acronym := index $acronymToCop $topic }} +
+ {{- $topic -}} +
{{ end }} -
-
TitleDepartmentDescriptionOpenApply
{{ .title }}{{ .department }}{{ .description }}{{ .open_date }} to {{ .close_date }} - Apply -
+
+ + + +{{ end }} + + diff --git a/themes/digital.gov/src/scss/new/_card-job.scss b/themes/digital.gov/src/scss/new/_card-job.scss new file mode 100644 index 0000000000..d3577c2ff3 --- /dev/null +++ b/themes/digital.gov/src/scss/new/_card-job.scss @@ -0,0 +1,111 @@ +@use "uswds-core" as *; +@use "sass:map"; + + +.card.card-job { + display: grid; + grid-template-areas: + "c-content c-content" + "c-meta c-meta"; + grid-template-columns: auto 1fr; + align-items: start; + position: relative; + + .h3{ + margin: 0; + } + .card__apply { + position: absolute; + top: 1rem; + right: 0; + } + + .card__summary { + @include u-margin-top(0); + + p { + @include u-line-height("sans", 3); + @include u-font("sans", "md"); + @include u-text("normal"); + + max-width: none; + } + + .card__department { + @include u-font("sans", "xs"); + } + + .card__location { + @include u-font("sans", "xs"); + } + } + + + + .card__source { + @include u-margin-top("05"); + @include u-display("block"); + + a { + @include u-color("blue-50v"); + + &::after { + content: ""; + + @include u-position("absolute"); + @include u-top(0); + @include u-left(0); + @include u-right(0); + @include u-bottom(0); + } + } + } + + .card__content { + @include at-media("tablet") { + grid-area: c-content; + } + } + + .card__media { + @include u-square(7); + + order: -1; + + img { + @include u-border("1px", "gray-cool-10", "solid"); + @include u-circle(7); + + @include at-media("mobile-lg") { + @include u-circle(7); + } + } + } + + $communities-of-practice: ( + "FCN": color("magenta-50"), + "ML": color("red-50"), + "PL": color("blue-cool-60v"), + "SM": color("gold-40v"), + "UX": color("mint-cool-50"), + "WAO": color("orange-60"), + "WCM": color("indigo-60v"), + ); + + .card__meta { + grid-area: c-meta; + .date{ + font-style: italic; + } + + @each $community, $color in $communities-of-practice { + .cop-topic--#{$community} { + @include u-margin-top(0); + @include u-margin-right("105"); + @include u-font("sans", "xs"); + color: map.get($communities-of-practice, $community); + border: map.get($communities-of-practice, $community); + } + } + } +} diff --git a/themes/digital.gov/src/scss/new/styles.scss b/themes/digital.gov/src/scss/new/styles.scss index 5c94f62d42..c6962d636e 100644 --- a/themes/digital.gov/src/scss/new/styles.scss +++ b/themes/digital.gov/src/scss/new/styles.scss @@ -109,6 +109,7 @@ @forward "card-article"; @forward "card-elsewhere"; @forward "card-event"; +@forward "card-job"; @forward "article"; @forward "page-head"; @forward "news"; From c35446d9a8a453622556b84fc3169c698f21ac1d Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 15 Jul 2024 10:59:30 -0700 Subject: [PATCH 12/16] Changed background to paper blue --- data/job_board.yml | 22 ++- .../digital.gov/layouts/job-board/list.html | 44 +++--- .../layouts/shortcodes/job-board.html | 80 ++++++----- .../digital.gov/src/scss/new/_card-job.scss | 132 ++++++++++-------- 4 files changed, 160 insertions(+), 118 deletions(-) diff --git a/data/job_board.yml b/data/job_board.yml index 95a447b8f0..a51c59f693 100644 --- a/data/job_board.yml +++ b/data/job_board.yml @@ -1,11 +1,21 @@ --- +- title: Translator + department: European Branch, Translating Division, Office of Language Services, Bureau of Administration (A/OPR/LS) + description: I wanted to pass along a job opening at the Department of State. The job is a GS13 English-to-Spanish translator opening on the listservs of the ATA GovDiv. It will be open from 07/11/2024 to 07/25/2024. Please feel free to share with your networks. + location: Washington, D.C. + open_date: 2024-07-11 + close_date: 2024-07-25 + apply_link: https://www.usajobs.gov/job/799283800 + cop_topics: + - Multilingual + - title: Communications Engagement Specialist department: Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs description: This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns. location: Washington, D.C. - open_date: 6/20/2024 - close_date: 7/01/2024 + open_date: 2024-06-20 + close_date: 2024-07-01 apply_link: https://www.usajobs.gov/job/796518900 cop_topics: - Communicators @@ -18,8 +28,8 @@ department: DEPARTMENT OF HEALTH AND HUMAN SERVICES description: The CDC’s Office of Communications (OC), Division of Communication Science and Services (DCSS), Inclusive Communication and Training Team is seeking a highly motivated candidate to serve as the Health Literacy Lead for CDC. The candidate will serve as a subject matter expert in health literacy, plain language, and clear communication. The candidate will work closely with the division director, branch chief, and Inclusive Communication and Training (ICT) team lead to guide the agency’s work in health literacy. location: Atlanta, GA - open_date: 6/17/2024 - close_date: 7/02/2024 + open_date: 2024-06-17 + close_date: 2024-07-01 apply_link: https://www.usajobs.gov/job/796159700 cop_topics: - Communicators @@ -28,8 +38,8 @@ department: Office of the Chief Communications Officer (OCCO), United States Patent and Trademark Office (USPTO) description: I wanted to share a great job opportunity on my team at the US Patent and Trademark Office, especially for anyone who already knows Drupal or works on an agile team. As a product owner, this position manages the future enhancements and priorities for www.uspto.gov. There is a lot of independence in this role—you need to be able investigate a problem and identify a new solution the development team can implement. If you like looking at data with the goal to improve customer experiences, this may be a perfect job for you or something you know. The position allows for full-time telework anywhere in the country (salary is dependent on locality), and is part of a growing Communications Office. location: Alexandria, VA - open_date: 6/21/2024 - close_date: 7/05/2024 + open_date: 2024-06-21 + close_date: 2024-07-05 apply_link: https://www.usajobs.gov/job/796805100 cop_topics: - Communicators diff --git a/themes/digital.gov/layouts/job-board/list.html b/themes/digital.gov/layouts/job-board/list.html index 73b4521f14..b9262959f2 100644 --- a/themes/digital.gov/layouts/job-board/list.html +++ b/themes/digital.gov/layouts/job-board/list.html @@ -1,27 +1,31 @@ {{ define "content" }} -{{ $job_board_page := ( .Site.Pages )}} -
-
+ {{ $job_board_page := ( .Site.Pages ) }} +
+
+
-
-
-

{{- .Title | markdownify -}}

- - {{/* Deck */}} - {{- if .Params.deck -}} -

{{- .Params.deck | markdownify -}}

- {{- end -}} -
-
{{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }}
-
-
+
+
+

{{- .Title | markdownify -}}

+ + {{/* Deck */}} + {{- if .Params.deck -}} +

{{- .Params.deck | markdownify -}}

+ {{- end -}} +
+
+ {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }} +
+
+
-
+
-
+
- {{ .Content }} + {{ .Content }}
-
-
+ +
+
{{ end }} diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index 6d0367407d..e57a54b938 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -6,46 +6,58 @@ */}} {{/* Dictionary used to convert CoP names to its acronym for style formatting */}} -{{ $acronymToCop := dict - "Communicators" "FCN" - "Multilingual" "ML" - "Plain Language" "PL" - "Social Media" "SM" - "User Experience" "UX" - "Web Analytics" "WAO" - "Web Managers" "WCM" }} +{{ $acronymToCop := dict + "Communicators" "FCN" + "Multilingual" "ML" + "Plain Language" "PL" + "Social Media" "SM" + "User Experience" "UX" + "Web Analytics" "WAO" + "Web Managers" "WCM" + "Contact Center" "CC" +}} + +{{ $now := now.Format "2006-01-02" }} +{{ $anyActivePost := false }} {{ range .Site.Data.job_board }} -
-
-

{{- .title | markdownify -}}

- - Apply - -
-
{{ .department | markdownify }}
-
{{ .location | markdownify }}
-

{{ .description | markdownify }}

-
-
- -
-
Open {{ .open_date }} to {{ .close_date }}
- {{ range .cop_topics }} - {{ $topic := . }} - {{ $acronym := index $acronymToCop $topic }} -
- {{- $topic -}} + {{ if ge .close_date $now }} + {{ $anyActivePost = true }} +
+
+

{{- .title | markdownify -}}

+ + Apply + +
+
{{ .department | markdownify }}
+
{{ .location | markdownify }}
+

{{ .description | markdownify }}

+
+
+ +
+
Open {{ .open_date | time.Format ":date_long" }} to {{ .close_date | time.Format ":date_long" }}
+ {{ range .cop_topics }} + {{ $topic := . }} + {{ $acronym := index $acronymToCop $topic }} +
+ {{- $topic -}} +
+ {{ end }}
- {{ end }} -
+
+ {{ end }} +{{ end }} - +{{ if not $anyActivePost }} +
There are no active job postings at the moment. Please check back another time.
{{ end }} diff --git a/themes/digital.gov/src/scss/new/_card-job.scss b/themes/digital.gov/src/scss/new/_card-job.scss index d3577c2ff3..c16f67ac89 100644 --- a/themes/digital.gov/src/scss/new/_card-job.scss +++ b/themes/digital.gov/src/scss/new/_card-job.scss @@ -1,46 +1,52 @@ @use "uswds-core" as *; @use "sass:map"; +.paper { + @include u-bg("blue-warm-5"); + @include u-padding-y(1); -.card.card-job { - display: grid; - grid-template-areas: - "c-content c-content" - "c-meta c-meta"; - grid-template-columns: auto 1fr; - align-items: start; - position: relative; - - .h3{ - margin: 0; - } - .card__apply { - position: absolute; - top: 1rem; - right: 0; - } - - .card__summary { - @include u-margin-top(0); + @include at-media("tablet") { + @include u-padding-y(3); + } +} - p { - @include u-line-height("sans", 3); - @include u-font("sans", "md"); - @include u-text("normal"); +.card.card-job { + display: grid; + grid-template-areas: + "c-content c-content" + "c-meta c-meta"; + grid-template-columns: auto 1fr; + align-items: start; + position: relative; + + .h3 { + margin: 0; + } + .card__apply { + position: absolute; + top: 1rem; + right: 0; + } - max-width: none; - } + .card__summary { + @include u-margin-top(0); - .card__department { - @include u-font("sans", "xs"); - } + p { + @include u-line-height("sans", 3); + @include u-font("sans", "md"); + @include u-text("normal"); - .card__location { - @include u-font("sans", "xs"); - } + max-width: none; } + .card__department { + @include u-font("sans", "xs"); + } + .card__location { + @include u-font("sans", "xs"); + } + } .card__source { @include u-margin-top("05"); @@ -63,7 +69,7 @@ .card__content { @include at-media("tablet") { - grid-area: c-content; + grid-area: c-content; } } @@ -82,30 +88,40 @@ } } - $communities-of-practice: ( - "FCN": color("magenta-50"), - "ML": color("red-50"), - "PL": color("blue-cool-60v"), - "SM": color("gold-40v"), - "UX": color("mint-cool-50"), - "WAO": color("orange-60"), - "WCM": color("indigo-60v"), - ); - - .card__meta { - grid-area: c-meta; - .date{ - font-style: italic; - } - - @each $community, $color in $communities-of-practice { - .cop-topic--#{$community} { - @include u-margin-top(0); - @include u-margin-right("105"); - @include u-font("sans", "xs"); - color: map.get($communities-of-practice, $community); - border: map.get($communities-of-practice, $community); - } - } + $communities-of-practice: ( + "FCN": color("magenta-50"), + "ML": color("red-50"), + "PL": color("blue-cool-60v"), + "SM": color("gold-40v"), + "UX": color("mint-cool-50"), + "WAO": color("orange-60"), + "WCM": color("indigo-60v"), + "CC": color("blue-60v") + ); + + .card__meta { + grid-area: c-meta; + .date { + font-style: italic; + } + + @each $community, $color in $communities-of-practice { + .cop-topic--#{$community} { + @include u-margin-top(0); + @include u-margin-right("105"); + @include u-font("sans", "xs"); + color: map.get($communities-of-practice, $community); + border: map.get($communities-of-practice, $community); + } + } } } + +#no_job_postings { + @include u-margin-y(1); + @include u-font("sans", "lg"); + @include u-text("light"); + @include u-text("primary-darker"); + @include u-line-height("sans", 2); + text-align: center; +} From e5afa92b44263e091e1e1b83f8378d6e7af56fc6 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Mon, 15 Jul 2024 11:03:56 -0700 Subject: [PATCH 13/16] - Changed open/close date formatting - Auto update job board to include active job posts - Included message if no active job posts available --- .../digital.gov/layouts/communities/list.html | 2 +- .../digital.gov/layouts/job-board/list.html | 44 +++++++++---------- .../layouts/shortcodes/job-board.html | 14 +++--- .../digital.gov/src/scss/new/_card-job.scss | 8 ++-- 4 files changed, 36 insertions(+), 32 deletions(-) diff --git a/themes/digital.gov/layouts/communities/list.html b/themes/digital.gov/layouts/communities/list.html index 908de276b5..c1c95c6512 100644 --- a/themes/digital.gov/layouts/communities/list.html +++ b/themes/digital.gov/layouts/communities/list.html @@ -20,4 +20,4 @@

Other Communities of Practice

{{ partial "core/collection/collection-grid-list.html" (dict "list_data" $other_communities) }}
-{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/digital.gov/layouts/job-board/list.html b/themes/digital.gov/layouts/job-board/list.html index b9262959f2..8106d20d9c 100644 --- a/themes/digital.gov/layouts/job-board/list.html +++ b/themes/digital.gov/layouts/job-board/list.html @@ -1,31 +1,31 @@ {{ define "content" }} {{ $job_board_page := ( .Site.Pages ) }}
-
-
-
-
-
-

{{- .Title | markdownify -}}

+
+
+
+
+
+

{{- .Title | markdownify -}}

- {{/* Deck */}} - {{- if .Params.deck -}} -

{{- .Params.deck | markdownify -}}

- {{- end -}} -
-
- {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }} -
-
+ {{/* Deck */}} + {{- if .Params.deck -}} +

{{- .Params.deck | markdownify -}}

+ {{- end -}} +
+
+ {{ partial "core/usa-button.html" (dict "href" .RelPermalink "text" "Submit Job Posting") }} +
+
+
-
-
-
- {{ .Content }} -
-
- +
+
+ {{ .Content }} +
+
+ {{ end }} diff --git a/themes/digital.gov/layouts/shortcodes/job-board.html b/themes/digital.gov/layouts/shortcodes/job-board.html index e57a54b938..b799209ab7 100644 --- a/themes/digital.gov/layouts/shortcodes/job-board.html +++ b/themes/digital.gov/layouts/shortcodes/job-board.html @@ -20,6 +20,7 @@ {{ $now := now.Format "2006-01-02" }} {{ $anyActivePost := false }} + {{ range .Site.Data.job_board }} {{ if ge .close_date $now }} @@ -42,7 +43,10 @@

{{- .title | markdownify -}}

-
Open {{ .open_date | time.Format ":date_long" }} to {{ .close_date | time.Format ":date_long" }}
+
+ Open {{ .open_date | time.Format ":date_long" }} to + {{ .close_date | time.Format ":date_long" }} +
{{ range .cop_topics }} {{ $topic := . }} {{ $acronym := index $acronymToCop $topic }} @@ -55,9 +59,9 @@

{{- .title | markdownify -}}

{{ end }} {{ end }} - {{ if not $anyActivePost }} -
There are no active job postings at the moment. Please check back another time.
+
+ There are no active job postings at the moment. Please check back another + time. +
{{ end }} - - diff --git a/themes/digital.gov/src/scss/new/_card-job.scss b/themes/digital.gov/src/scss/new/_card-job.scss index c16f67ac89..c96a1b021c 100644 --- a/themes/digital.gov/src/scss/new/_card-job.scss +++ b/themes/digital.gov/src/scss/new/_card-job.scss @@ -11,12 +11,12 @@ } .card.card-job { + align-items: start; display: grid; grid-template-areas: "c-content c-content" "c-meta c-meta"; grid-template-columns: auto 1fr; - align-items: start; position: relative; .h3 { @@ -24,8 +24,8 @@ } .card__apply { position: absolute; - top: 1rem; right: 0; + top: 1rem; } .card__summary { @@ -96,7 +96,7 @@ "UX": color("mint-cool-50"), "WAO": color("orange-60"), "WCM": color("indigo-60v"), - "CC": color("blue-60v") + "CC": color("blue-60v"), ); .card__meta { @@ -110,8 +110,8 @@ @include u-margin-top(0); @include u-margin-right("105"); @include u-font("sans", "xs"); - color: map.get($communities-of-practice, $community); border: map.get($communities-of-practice, $community); + color: map.get($communities-of-practice, $community); } } } From 2a9dde7cb360b47c5a2d3ba08d9fdd6df95cedf4 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Tue, 16 Jul 2024 12:53:25 -0700 Subject: [PATCH 14/16] Added more live job postings into job_board.yml to visualize job board --- data/job_board.yml | 24 ++++++++++++++++--- .../digital.gov/layouts/job-board/list.html | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/data/job_board.yml b/data/job_board.yml index a51c59f693..f5ab3a1ac9 100644 --- a/data/job_board.yml +++ b/data/job_board.yml @@ -10,6 +10,26 @@ cop_topics: - Multilingual +- title: Public Affairs Specialist + department: National Archives and Records Administration, Communications and Marketing Division + description: Looking for a position in public affairs? We have two new openings if you are interested. + location: Spanish Lake, MO + open_date: 2024-07-08 + close_date: 2024-07-23 + apply_link: https://www.usajobs.gov/job/798372900 + cop_topics: + - Social Media + +- title: Director of Communications + department: Department of Health and Human Services, Administration for Children and Families, Office of Communications + description: ACF is hiring-Communications Director (closing really soon) + location: Washington, DC + open_date: 2024-07-10 + close_date: 2024-07-18 + apply_link: https://www.usajobs.gov/job/798426700 + cop_topics: + - Communicators + - title: Communications Engagement Specialist department: Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs description: This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns. @@ -42,6 +62,4 @@ close_date: 2024-07-05 apply_link: https://www.usajobs.gov/job/796805100 cop_topics: - - Communicators - - + - Communicators \ No newline at end of file diff --git a/themes/digital.gov/layouts/job-board/list.html b/themes/digital.gov/layouts/job-board/list.html index 8106d20d9c..b43e0b835a 100644 --- a/themes/digital.gov/layouts/job-board/list.html +++ b/themes/digital.gov/layouts/job-board/list.html @@ -7,7 +7,7 @@

{{- .Title | markdownify -}}

- + {{/* Deck */}} {{- if .Params.deck -}}

{{- .Params.deck | markdownify -}}

From 25f56e68f3ba2971e299bd921194f6e400fa609b Mon Sep 17 00:00:00 2001 From: klin2020 Date: Tue, 23 Jul 2024 14:26:38 -0700 Subject: [PATCH 15/16] Added new entries into job_board.yml --- data/job_board.yml | 68 +++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/data/job_board.yml b/data/job_board.yml index f5ab3a1ac9..6ea65b4c9c 100644 --- a/data/job_board.yml +++ b/data/job_board.yml @@ -30,36 +30,54 @@ cop_topics: - Communicators -- title: Communications Engagement Specialist - department: Bureau of Justice Assistance (BJA), Operations Office, Communications and Governmental Affairs - description: This position is responsible for engaging with a variety of key BJA stakeholders using outreach strategies and tactics that include regular liaison, distribution of BJA resources, materials and information, public events and targeted campaigns. - location: Washington, D.C. - open_date: 2024-06-20 - close_date: 2024-07-01 - apply_link: https://www.usajobs.gov/job/796518900 +- title: Technical Writer-Editor (Scientific) + department: Department of Health and Human Services + location: Anywhere in the U.S. (remote job) + description: (Official position summary) This position is in the Communications Branch of the Office of Science Policy and Communications (OSPC) at the National Institute on Drug Abuse (NIDA), National Institutes of Health (NIH). + open_date: 2024-07-22 + close_date: 2024-07-27 + apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/798403100 + cop_topics: + - Communicators + +- title: Public Affairs Specialist (Social Media) + department: Department of Energy + location: Portland, Oregon + description: (Official position summary) This position is located in Digital Media & Visual Design (DKD) organization within Communications (DK), which reports to the Workforce and Strategy Office (D) of the Bonneville Power Administration (BPA) A successful candidate in the Public Affairs Specialist (Social Media) position will primarily focus on the development, co-development, review, and editing of web articles, social media posts, and other digital content in support of the agency's communication goals and strategies. + open_date: 2024-07-17 + close_date: 2024-07-27 + apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/800403600 cop_topics: - Communicators - - Web Managers - Social Media - - Plain Language +- title: Supv IT Specialist (Division Branch Manager) + department: Legislative Branch + location: Washington, District of Columbia + description: (Official position summary) The GAO is part of the Legislative Branch of the Federal government. This position is located in the Government Accountability Office. As a Supv IT Specialist (Division Branch Manager) you will be responsible for facilitating the vision, alignment, and execution of the designated division. This position is responsible for managing assigned resources (i.e. budget, people, contractor, space, equipment) effectively and within the level of responsibility assigned to the position. + open_date: 2024-07-17 + close_date: 2024-08-01 + apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/800295500 + cop_topics: + - Web Managers -- title: Health Communications Specialist - department: DEPARTMENT OF HEALTH AND HUMAN SERVICES - description: The CDC’s Office of Communications (OC), Division of Communication Science and Services (DCSS), Inclusive Communication and Training Team is seeking a highly motivated candidate to serve as the Health Literacy Lead for CDC. The candidate will serve as a subject matter expert in health literacy, plain language, and clear communication. The candidate will work closely with the division director, branch chief, and Inclusive Communication and Training (ICT) team lead to guide the agency’s work in health literacy. - location: Atlanta, GA - open_date: 2024-06-17 - close_date: 2024-07-01 - apply_link: https://www.usajobs.gov/job/796159700 +- title: PUBLIC AFFAIRS SPECIALIST + department: Other Agencies and Independent Organizations + location: Spanish Lake, Missouri + description: (Official position summary) This position is part of the National Archives and Records Administration, Communications and Marketing Division. The Communications and Marketing Division in general, and the employee communications team in particular, are responsible for a wide variety of techniques related to the planning, content development, writing/editing, design, and delivery of internal messages essential to the mission of the agency. + open_date: 2024-07-08 + close_date: 2024-07-24 + apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/798372900 cop_topics: - - Communicators + - Social Media -- title: Digital Communications Specialist - department: Office of the Chief Communications Officer (OCCO), United States Patent and Trademark Office (USPTO) - description: I wanted to share a great job opportunity on my team at the US Patent and Trademark Office, especially for anyone who already knows Drupal or works on an agile team. As a product owner, this position manages the future enhancements and priorities for www.uspto.gov. There is a lot of independence in this role—you need to be able investigate a problem and identify a new solution the development team can implement. If you like looking at data with the goal to improve customer experiences, this may be a perfect job for you or something you know. The position allows for full-time telework anywhere in the country (salary is dependent on locality), and is part of a growing Communications Office. - location: Alexandria, VA - open_date: 2024-06-21 - close_date: 2024-07-05 - apply_link: https://www.usajobs.gov/job/796805100 +- title: PUBLIC AFFAIRS SPECIALIST + department: Other Agencies and Independent Organizations + location: Spanish Lake, Missouri + description: (Official position summary) This position is part of the National Archives and Records Administration, Communications and Marketing Division. The Communications and Marketing Division in general, and the employee communications team in particular, are responsible for a wide variety of techniques related to the planning, content development, writing/editing, design, and delivery of internal messages essential to the mission of the agency. + open_date: 2024-07-08 + close_date: 2024-07-24 + apply_link: https://www.usajobs.gov:443/GetJob/ViewDetails/798372600 cop_topics: - - Communicators \ No newline at end of file + - Social Media + From 83473a4fccab9cae468f2edaf84c64a34d1f2d93 Mon Sep 17 00:00:00 2001 From: klin2020 Date: Wed, 24 Jul 2024 13:34:31 -0700 Subject: [PATCH 16/16] remove sitemap last mod tag for reindexing --- themes/digital.gov/layouts/sitemap.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/digital.gov/layouts/sitemap.xml b/themes/digital.gov/layouts/sitemap.xml index 5a4f8613d4..32863dc561 100644 --- a/themes/digital.gov/layouts/sitemap.xml +++ b/themes/digital.gov/layouts/sitemap.xml @@ -1,8 +1,7 @@ {{ range .Data.Pages }} - https://digital.gov{{ .Permalink | relURL }}{{ if not .Lastmod.IsZero }} - {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} + https://digital.gov{{ .Permalink | relURL }}{{ with .Sitemap.ChangeFreq }} {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} {{ .Sitemap.Priority }}{{ end }}