hide resource boes until we have more content

lektura
max.mehl 2017-08-29 20:55:59 +02:00
parent 51c999460a
commit 7d3ab11e3a
3 changed files with 23 additions and 18 deletions

View File

@ -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

View File

@ -29,9 +29,11 @@
{{ partial "organisations.html" . }}
{{ end }}
<!-- Can be used later
{{ if .Site.Params.resources }}
{{ partial "resources.html" . }}
{{ end }}
-->
{{ if .Site.Params.spread }}
{{ partial "spread.html" . }}

View File

@ -32,9 +32,11 @@
<li>
<a class="page-scroll" href="#action">{{ .Site.Params.navigation.links.action }}</a>
</li>
<!--
<li>
<a class="page-scroll" href="#resources">{{ .Site.Params.navigation.links.resources }}</a>
</li>
-->
<li>
<a class="page-scroll" href="#spread">{{ .Site.Params.navigation.links.spread }}</a>
</li>