From 11e09187450d93cf96f596577e5b175601d71f29 Mon Sep 17 00:00:00 2001 From: Ari Chivukula Date: Tue, 29 May 2018 11:44:00 -0700 Subject: [PATCH 1/2] Initial stab at press section --- Gemfile.lock | 2 +- _data/press.yml | 15 +++++++++++++++ _pages/index.md | 20 ++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 _data/press.yml diff --git a/Gemfile.lock b/Gemfile.lock index e84c5cf4..dd0f895b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -26,7 +26,7 @@ GEM eventmachine (1.2.7) ffi (1.9.23) forwardable-extended (2.6.0) - html-proofer (3.9.0) + html-proofer (3.9.1) activesupport (>= 4.2, < 6.0) addressable (~> 2.3) colorize (~> 0.8) diff --git a/_data/press.yml b/_data/press.yml new file mode 100644 index 00000000..fcb7bb23 --- /dev/null +++ b/_data/press.yml @@ -0,0 +1,15 @@ + - title: Defense Digital Service revamps Code.mil with clearer, more accessible guidance + press_url: https://www.fedscoop.com/defense-digital-service-revamps-code-mil-clearer-accessible-guidance/ + author: FedScoop + + - title: Amid congressional mandate to open source DoD’s software code, Code.mil serves as guidepost + press_url: https://federalnewsradio.com/on-dod/2018/03/amid-congressional-mandate-to-open-source-dods-software-code-code-mil-serves-as-guidepost/ + author: Federal News Radio + + - title: Defense Department (Re)Launches Open Source Software Portal + press_url: https://www.nextgov.com/it-modernization/2018/02/defense-department-relaunches-open-source-software-portal/146061/ + author: Nextgov + + - title: Code.mil, the Pentagon’s open-source initiative, is live + press_url: https://www.fedscoop.com/code-mil-pentagons-open-source-initiative-live/ + author: FedScoop diff --git a/_pages/index.md b/_pages/index.md index 102261dd..9bb35c46 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -40,3 +40,23 @@ At the moment we're getting our first open source projects published in the open In the future we will tackle issues around procuring source code and addressing how this strategy might facilitate technology transfer. The hope is that Code.mil will encourage conversation around these topics and allow anyone around the world to contribute knowledge and code for DoD projects. This initiative is not intended to set DoD policy, but rather is exploring alternate ways to join the open source and free software communities. You can read more about the [U.S. Federal Source Code Policy](https://code.gov/#/policy-guide/docs/overview/introduction) on the [Code.gov](https://code.gov) web site. + +## Read More + +
+
+ {% for story in site.data.press %} + + {% assign idx = forloop.index0 | modulo: 2 %} + {% if idx == 1 %} +
+
+
+ {% endif %} + {% endfor %} +
+
From 284b72fe7fe4fab7a778d48591672e72121a822e Mon Sep 17 00:00:00 2001 From: Ari Chivukula Date: Tue, 29 May 2018 13:34:23 -0700 Subject: [PATCH 2/2] This is a lot nicer --- _pages/index.md | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/_pages/index.md b/_pages/index.md index 9bb35c46..d33d10cd 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -41,22 +41,14 @@ In the future we will tackle issues around procuring source code and addressing This initiative is not intended to set DoD policy, but rather is exploring alternate ways to join the open source and free software communities. You can read more about the [U.S. Federal Source Code Policy](https://code.gov/#/policy-guide/docs/overview/introduction) on the [Code.gov](https://code.gov) web site. -## Read More - -
-
- {% for story in site.data.press %} - - {% assign idx = forloop.index0 | modulo: 2 %} - {% if idx == 1 %} -
-
-
- {% endif %} - {% endfor %} -
-
+## Press + +