From 8d9b43e5c80dec5cfd14d0aa87bbe12c5a4a1f13 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Tue, 29 Aug 2017 13:29:15 +0200 Subject: [PATCH] swap 'resources' with 'take action' sections --- site/config.toml | 2 +- site/layouts/index.html | 8 ++++---- site/layouts/partials/nav.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/site/config.toml b/site/config.toml index 080aca0..1add09f 100644 --- a/site/config.toml +++ b/site/config.toml @@ -23,8 +23,8 @@ DefaultContentLanguage = "en" start = "Start" about = "About" arguments = "Arguments" - resources = "Resources" action = "Take Action" + resources = "Resources" spread = "Spread" language = "Language" diff --git a/site/layouts/index.html b/site/layouts/index.html index 1fec5d1..e2be2bc 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -21,14 +21,14 @@ {{ partial "arguments.html" . }} {{ end }} - {{ if $data.resources }} - {{ partial "resources.html" . }} - {{ end }} - {{ if .Site.Params.action }} {{ partial "action.html" . }} {{ end }} + {{ if $data.resources }} + {{ partial "resources.html" . }} + {{ end }} + {{ if .Site.Params.spread }} {{ partial "spread.html" . }} {{ end }} diff --git a/site/layouts/partials/nav.html b/site/layouts/partials/nav.html index 87f2b53..e53186d 100644 --- a/site/layouts/partials/nav.html +++ b/site/layouts/partials/nav.html @@ -30,10 +30,10 @@ {{ .Site.Params.navigation.links.arguments }}
  • - {{ .Site.Params.navigation.links.resources }} + {{ .Site.Params.navigation.links.action }}
  • - {{ .Site.Params.navigation.links.action }} + {{ .Site.Params.navigation.links.resources }}
  • {{ .Site.Params.navigation.links.spread }}