rename reasons -> arguments and small wording improvements

lektura
max.mehl 2017-08-16 12:07:33 +02:00
parent cac38bb9b7
commit c071902e35
4 changed files with 15 additions and 15 deletions

View File

@ -22,7 +22,7 @@ DefaultContentLanguage = "en"
[params.navigation.links]
start = "Start"
about = "About"
reasons = "Reasons"
arguments = "Arguments"
resources = "Resources"
sign = "Sign"
spread = "Spread"
@ -51,26 +51,26 @@ DefaultContentLanguage = "en"
buttonText = "More advantages"
# Reasons section
[params.reasons]
headline = "More reasons to free public code"
# Arguments section
[params.arguments]
headline = "Reasons to free public code"
[[params.reasons.list]]
[[params.arguments.list]]
icon = "fa-eur"
title = "Tax savings"
description = "Similar applications don't have to be programmed from scratch every time."
[[params.reasons.list]]
[[params.arguments.list]]
icon = "fa-plus"
title = "Collaboration"
description = "Efforts on major projects can be joint to share expertise and costs."
[[params.reasons.list]]
[[params.arguments.list]]
icon = "fa-users"
title = "Serving the public"
description = "Applications paid by the public should be available for everyone."
[[params.reasons.list]]
[[params.arguments.list]]
icon = "fa-lightbulb-o"
title = "Fostering innovation"
description = "With transparent processes others don't have to reinvent the wheel."

View File

@ -17,8 +17,8 @@
{{ partial "about.html" . }}
{{ end }}
{{ if .Site.Params.reasons.list }}
{{ partial "reasons.html" . }}
{{ if .Site.Params.arguments.list }}
{{ partial "arguments.html" . }}
{{ end }}
{{ if $data.resources }}

View File

@ -1,6 +1,6 @@
{{ "<!-- REASONS -->" | safeHTML }}
<section id="reasons">
{{ with .Site.Params.reasons.headline }}
{{ "<!-- ARGUMENTS -->" | safeHTML }}
<section id="arguments">
{{ with .Site.Params.arguments.headline }}
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
@ -12,7 +12,7 @@
{{ end }}
<div class="container">
<div class="row">
{{ range .Site.Params.reasons.list }}
{{ range .Site.Params.arguments.list }}
<div class="col-lg-3 col-md-6 text-center">
<div class="service-box">
<i class="fa fa-4x {{ .icon }} wow bounceIn text-primary"></i>

View File

@ -24,7 +24,7 @@
<a class="page-scroll" href="#about">{{ .Site.Params.navigation.links.about }}</a>
</li>
<li>
<a class="page-scroll" href="#reasons">{{ .Site.Params.navigation.links.reasons }}</a>
<a class="page-scroll" href="#arguments">{{ .Site.Params.navigation.links.arguments }}</a>
</li>
<li>
<a class="page-scroll" href="#resources">{{ .Site.Params.navigation.links.resources }}</a>