diff --git a/site/config.toml b/site/config.toml index 3e1009c..79c8f48 100644 --- a/site/config.toml +++ b/site/config.toml @@ -24,7 +24,7 @@ DefaultContentLanguage = "en" about = "About" arguments = "Arguments" action = "Take Action" - resources = "Resources" +# resources = "Resources" spread = "Spread" language = "Language" @@ -90,23 +90,24 @@ DefaultContentLanguage = "en" headline = "Supporting Organisations" text = "Following organisations support our [Open Letter](/openletter). If your organisation is also interested in joining the call for Public Code, please [contact us](mailto:contact@fsfe.org)." -# Resources boxes section -[params.resources] -[[params.resources.list]] - title = "Latest News" - description = "The latest updates about this campaign and public code in Europe" - img = "news.jpg" - link = "/news/" -[[params.resources.list]] - title = "Take Further Action" - description = "Already signed the Open Letter? Learn what else you can do" - img = "action.jpg" - link = "/getactive/" -[[params.resources.list]] - title = "Press Contact" - description = "Contact information for press and interested public" - img = "press.jpg" - link = "/contact/" + +# # Resources boxes section +# [params.resources] +# [[params.resources.list]] +# title = "Latest News" +# description = "The latest updates about this campaign and public code in Europe" +# img = "news.jpg" +# link = "/news/" +# [[params.resources.list]] +# title = "Take Further Action" +# description = "Already signed the Open Letter? Learn what else you can do" +# img = "action.jpg" +# link = "/getactive/" +# [[params.resources.list]] +# title = "Press Contact" +# description = "Contact information for press and interested public" +# img = "press.jpg" +# link = "/contact/" # Spread the word section diff --git a/site/layouts/index.html b/site/layouts/index.html index ecb290e..72daad3 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -29,9 +29,11 @@ {{ partial "organisations.html" . }} {{ end }} + {{ if .Site.Params.spread }} {{ partial "spread.html" . }} diff --git a/site/layouts/partials/nav.html b/site/layouts/partials/nav.html index e53186d..94ed598 100644 --- a/site/layouts/partials/nav.html +++ b/site/layouts/partials/nav.html @@ -32,9 +32,11 @@
  • {{ .Site.Params.navigation.links.action }}
  • +
  • {{ .Site.Params.navigation.links.spread }}