From b98525ecc0197920fcab44130c3afc94a2792814 Mon Sep 17 00:00:00 2001 From: Nick Fagerlund Date: Mon, 26 Oct 2020 18:01:03 -0700 Subject: [PATCH] website: Decommission derelict "guides" section, move some content to "intro" Guides was already mostly gone. The two major remaining bits (the "core workflow" guide and the "recommended practices" guide, which deserves a rename) make much more sense as highly technical marketing material, and thus have a natural home in the intro section. --- website/guides/core-workflow.html.md | 2 +- website/guides/index.html.md | 2 +- website/layouts/guides.erb | 65 ---------------------------- website/layouts/intro.erb | 44 ++++++++++++++----- 4 files changed, 34 insertions(+), 79 deletions(-) delete mode 100644 website/layouts/guides.erb diff --git a/website/guides/core-workflow.html.md b/website/guides/core-workflow.html.md index c7f50a6f8..f60ffb110 100644 --- a/website/guides/core-workflow.html.md +++ b/website/guides/core-workflow.html.md @@ -1,5 +1,5 @@ --- -layout: "guides" +layout: "intro" page_title: "The Core Terraform Workflow - Guides" sidebar_current: "guides-core-workflow" description: |- diff --git a/website/guides/index.html.md b/website/guides/index.html.md index 8eb707384..987d38531 100644 --- a/website/guides/index.html.md +++ b/website/guides/index.html.md @@ -1,5 +1,5 @@ --- -layout: "guides" +layout: "intro" page_title: "Guides" sidebar_current: "guides-home" description: |- diff --git a/website/layouts/guides.erb b/website/layouts/guides.erb deleted file mode 100644 index a91b14ad5..000000000 --- a/website/layouts/guides.erb +++ /dev/null @@ -1,65 +0,0 @@ -<% wrap_layout :inner do %> - <% content_for :sidebar do %> -

Guides and Whitepapers

- - - - <%= partial("layouts/otherdocs", :locals => { :skip => "Guides and Whitepapers" }) %> - <% end %> - - <%= yield %> -<% end %> diff --git a/website/layouts/intro.erb b/website/layouts/intro.erb index 2cdfe0943..1f99c43aa 100644 --- a/website/layouts/intro.erb +++ b/website/layouts/intro.erb @@ -8,45 +8,65 @@

Introduction to Terraform