From bf64a464825da6516fc7b3afea36b7a1f826c2d3 Mon Sep 17 00:00:00 2001 From: Juha Remes Date: Thu, 10 Nov 2016 12:59:13 +0000 Subject: [PATCH 1/4] Improved README.md for local development --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 988607d..d44d098 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## +## The [Office of Management and Budget (OMB)](https://www.whitehouse.gov/omb/) has issued the [Data Center Optimization Initiative (DCOI)](https://www.whitehouse.gov/sites/default/files/omb/memoranda/2016/m_16_19_1.pdf) to advance the consolidation and optimization of the Federal Government’s inventory of data centers. The DCOI supersedes the Federal Data Center Consolidation Initiative (FDCCI) and addresses requirements in the Federal Information Technology Acquisition Reform Act (FITARA). @@ -24,6 +24,12 @@ Install dependencies with Bundler: bundle install ``` +For local development, uncomment the following line in `_config.yml`: + +``` +baseurl: /datacenters/ +``` + And run the site with Jekyll: ``` From bdd087ef68e2ad251c940c63cc6e44c4f255d8b0 Mon Sep 17 00:00:00 2001 From: Juha Remes Date: Thu, 10 Nov 2016 13:09:24 +0000 Subject: [PATCH 2/4] Fixed localhost URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d44d098..df1a504 100755 --- a/README.md +++ b/README.md @@ -36,4 +36,4 @@ And run the site with Jekyll: bundle exec jekyll serve --watch ``` -If all goes well, visit the site at `http://localhost:4000`. +If all goes well, visit the site at `http://localhost:4000/datacenters/`. From a27f18f6aceae0051fb0b5f6a604ed43f0079cbf Mon Sep 17 00:00:00 2001 From: Juha Remes Date: Thu, 10 Nov 2016 13:32:13 +0000 Subject: [PATCH 3/4] Removed trailing forward-slash from baseurl --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 79e6d1e..9cdda53 100755 --- a/_config.yml +++ b/_config.yml @@ -24,7 +24,7 @@ name: "Datacenters.cio.gov" description: "Data Center Optimization Initiative (DCOI)" baseurl: https://datacenters.cio.gov/ # Uncomment the following line for localhost development at http://127.0.0.1:4000/datacenters/ -#baseurl: /datacenters/ +#baseurl: /datacenters # GitHub information org_name: whitehouse From a857508c02a3424ac6208995e95df0275eaa9681 Mon Sep 17 00:00:00 2001 From: Juha Remes Date: Thu, 10 Nov 2016 13:46:13 +0000 Subject: [PATCH 4/4] Added site.baseurl attribute to sidebar.html --- _includes/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index bd0d781..a94f5e8 100755 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -20,7 +20,7 @@
  • {% if sublink.url %} - {{ sublink.text }} + {{ sublink.text }} {% else %} {{ sublink.text }} {% endif %}