Skip to content

Commit

Permalink
Make front page translation ready
Browse files Browse the repository at this point in the history
Signed-off-by: lucperkins <lucperkins@gmail.com>
  • Loading branch information
lucperkins committed Jul 23, 2019
1 parent c17c549 commit 5abe864
Show file tree
Hide file tree
Showing 7 changed files with 152 additions and 75 deletions.
194 changes: 133 additions & 61 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,141 @@ languages:
en:
title: Falco — Container-native Runtime Security
contentDir: content/en
params:
heroText:
# Main hero title
title: Container Native Runtime Security
# Hero subtitle (optional)
subtitle: Falco is an open source project for intrusion and abnormality detection for Cloud Native platforms such as Kubernetes, Mesosphere, and Cloud Foundry. Detect abnormal application behavior. Alert via Slack, Fluentd, NATS, and more. Protect your platform by taking action through serverless (FaaS) frameworks, or other automation.
# Button text
buttontext: Get started
sectionAbout:
title: About Falco.
summary: With more responsibility shifting left to developers and the opaque nature of containers, organizations require deeper insight into container activities. The Falco project was hatched to understand container behavior and protect your platform from possible malicious activity. Leveraging Sysdig’s open source Linux kernel instrumentation, Falco gains deep insight into system behavior. The rules engine can then detect abnormal activity in applications, containers, the underlying host, and the container platform.
section1:
title: Key Features.
subtitle:
tiles:
- title: Platform Aware
icon: check.png
text: Build rules specific to your Cloud Native platforms to enforce policy across all your containers & microservices.
- title: Container-native
icon: box.png
text: Runtime Security built for containers. Built from the ground up to natively support containerized applications.
- title: Deep Visibility
icon: scalable.png
text: Complete container visibility through a single sensor. Gain insight into application and container behavior.
section2:
title: Downloads + Resources.
subtitle: Get started today, contribute to the open source project, & learn more.
resources:
- title: Contribute
text: Jump over to our GitHub page to contribute to our open source ecosystem.
# Icon (from /images/illustrations/icons/___.svg)
icon: group.png
buttonText: Falco Github
buttonLink: https://github.com/falcosecurity/falco
- title: Download
text: Get started with our Falco installation guide.
icon: download.png
buttonText: Falco Install Guide
buttonLink: /docs/installation
- title: Documentation
text: In the official docs, you can find information about [installing Falco](/docs/installation), [configuration options](/docs/configuration), and writing [custom rules](/docs/rules).
icon: documentation-2.png
buttonText: /docs
buttonLink: /docs
- title: Connect
text: Join our Slack team to interact with other users and developers.
icon: chat.png
buttonText: Falco Slack
buttonLink: https://slack.sysdig.com
section3:
title: Stay up to date.
subtitle: Sign-up for project updates.
buttonText: Sign-up!
menu:
navbar:
- name: About
url: "/#about"
weight: 1
- name: Features
url: "/#features"
weight: 2
- name: Download
url: "/#download"
- name: Docs
url: /docs
weight: 3
zh:
title: Falco — Container-native Runtime Security
contentDir: content/zh
params:
heroText:
# Main hero title
title: Container Native Runtime Security
# Hero subtitle (optional)
subtitle: Falco is an open source project for intrusion and abnormality detection for Cloud Native platforms such as Kubernetes, Mesosphere, and Cloud Foundry. Detect abnormal application behavior. Alert via Slack, Fluentd, NATS, and more. Protect your platform by taking action through serverless (FaaS) frameworks, or other automation.
# Button text
buttontext: Get started
sectionAbout:
title: About Falco.
summary: With more responsibility shifting left to developers and the opaque nature of containers, organizations require deeper insight into container activities. The Falco project was hatched to understand container behavior and protect your platform from possible malicious activity. Leveraging Sysdig’s open source Linux kernel instrumentation, Falco gains deep insight into system behavior. The rules engine can then detect abnormal activity in applications, containers, the underlying host, and the container platform.
section1:
title: Key Features.
subtitle:
tiles:
- title: Platform Aware
icon: check.png
text: Build rules specific to your Cloud Native platforms to enforce policy across all your containers & microservices.
- title: Container-native
icon: box.png
text: Runtime Security built for containers. Built from the ground up to natively support containerized applications.
- title: Deep Visibility
icon: scalable.png
text: Complete container visibility through a single sensor. Gain insight into application and container behavior.
section2:
title: Downloads + Resources.
subtitle: Get started today, contribute to the open source project, & learn more.
resources:
- title: Contribute
text: Jump over to our GitHub page to contribute to our open source ecosystem.
# Icon (from /images/illustrations/icons/___.svg)
icon: group.png
buttonText: Falco Github
buttonLink: https://github.com/falcosecurity/falco
- title: Download
text: Get started with our Falco installation guide.
icon: download.png
buttonText: Falco Install Guide
buttonLink: /docs/installation
- title: Documentation
text: In the official docs, you can find information about [installing Falco](/docs/installation), [configuration options](/docs/configuration), and writing [custom rules](/docs/rules).
icon: documentation-2.png
buttonText: /docs
buttonLink: /docs
- title: Connect
text: Join our Slack team to interact with other users and developers.
icon: chat.png
buttonText: Falco Slack
buttonLink: https://slack.sysdig.com
section3:
title: Stay up to date.
subtitle: Sign-up for project updates.
buttonText: Sign-up!
menu:
navbar:
- name: About
url: "/#about"
weight: 1
- name: Features
url: "/#features"
weight: 2
- name: Download
url: "/#download"
- name: Docs
url: /docs
weight: 3

params:
version: v0.16.0
Expand All @@ -23,12 +155,6 @@ params:
secondaryFont:
name: "MaaxMono"
hero:
# Main hero title
title: Container Native Runtime Security
# Hero subtitle (optional)
subtitle: Falco is an open source project for intrusion and abnormality detection for Cloud Native platforms such as Kubernetes, Mesosphere, and Cloud Foundry. Detect abnormal application behavior. Alert via Slack, Fluentd, NATS, and more. Protect your platform by taking action through serverless (FaaS) frameworks, or other automation.
# Button text
buttontext: Get started
# Where the main hero button links to
buttonlink: "#download"
# Hero image (from /images/___)
Expand Down Expand Up @@ -59,58 +185,4 @@ params:
logo: cncf-black.svg
cncfLink: https://cncf.io
level: Sandbox
levelLink: https://github.com/cncf/toc/blob/master/process/sandbox.md
menu:
- title: About
url: "/#about"
- title: Features
url: "/#features"
- title: Download
url: "/#download"
- title: Docs
url: /docs
sectionAbout:
title: About Falco.
summary: With more responsibility shifting left to developers and the opaque nature of containers, organizations require deeper insight into container activities. The Falco project was hatched to understand container behavior and protect your platform from possible malicious activity. Leveraging Sysdig’s open source Linux kernel instrumentation, Falco gains deep insight into system behavior. The rules engine can then detect abnormal activity in applications, containers, the underlying host, and the container platform.
section1:
title: Key Features.
subtitle:
tiles:
- title: Platform Aware
icon: check.png
text: Build rules specific to your Cloud Native platforms to enforce policy across all your containers & microservices.
- title: Container-native
icon: box.png
text: Runtime Security built for containers. Built from the ground up to natively support containerized applications.
- title: Deep Visibility
icon: scalable.png
text: Complete container visibility through a single sensor. Gain insight into application and container behavior.
section2:
title: Downloads + Resources.
subtitle: Get started today, contribute to the open source project, & learn more.
resources:
- title: Contribute
text: Jump over to our GitHub page to contribute to our open source ecosystem.
# Icon (from /images/illustrations/icons/___.svg)
icon: group.png
buttonText: Falco Github
buttonLink: https://github.com/falcosecurity/falco
- title: Download
text: Get started with our Falco installation guide.
icon: download.png
buttonText: Falco Install Guide
buttonLink: /docs/installation
- title: Documentation
text: In the official docs, you can find information about [installing Falco](/docs/installation), [configuration options](/docs/configuration), and writing [custom rules](/docs/rules).
icon: documentation-2.png
buttonText: /docs
buttonLink: /docs
- title: Connect
text: Join our Slack team to interact with other users and developers.
icon: chat.png
buttonText: Falco Slack
buttonLink: https://slack.sysdig.com
section3:
title: Stay up to date.
subtitle: Sign-up for project updates.
buttonText: Sign-up!
levelLink: https://github.com/cncf/toc/blob/master/process/sandbox.md
2 changes: 2 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
integrations_and_platforms:
other: Integrations & Platforms
2 changes: 2 additions & 0 deletions i18n/zh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
integrations_and_platforms:
other: Integrations & Platforms
13 changes: 7 additions & 6 deletions themes/falco-fresh/layouts/partials/hero-body.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{{- $hero := .Site.Params.hero }}
{{- $title := index $hero "title" }}
{{- $subtitle := index $hero "subtitle" }}
{{- $buttonText := index $hero "buttontext" }}
{{- $buttonLink := index $hero "buttonlink" }}
{{- $image := index $hero "image" }}
{{- $heroText := .Site.Params.heroText }}
{{- $title := $heroText.title }}
{{- $subtitle := $heroText.subtitle }}
{{- $buttonText := $heroText.buttontext }}
{{- $buttonLink := $hero.buttonlink }}
{{- $image := $hero.image }}
<div class="hero-body">
<div class="container">
<div class="columns u-logo-offset">
Expand Down Expand Up @@ -41,4 +42,4 @@ <h2 class="subtitle is-5 is-muted">
</div>
</div>
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions themes/falco-fresh/layouts/partials/hero-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="hero-foot mb-20">
<div class="container">
<div class="title-wrapper has-text-centered">
<h3 class="subtitle is-3 is-muted">Integrations & Platforms</h3>
<h3 class="subtitle is-3 is-muted">{{ T "integrations_and_platforms" }}</h3>
</div>
<ul class="c-logo-grid">
{{- range $clientLogos }}
Expand All @@ -13,4 +13,4 @@ <h3 class="subtitle is-3 is-muted">Integrations & Platforms</h3>
{{- end }}
</ul>
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions themes/falco-fresh/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $navbar := .Site.Params.navbar }}
{{- $menu := index $navbar "menu"}}
{{- $menu := .Site.Menus.navbar }}
{{- $cncf := index $navbar "cncf" }}
{{- $isHome := .IsHome }}
{{- $isDocs := eq .Section "docs" }}
Expand All @@ -20,8 +20,8 @@
<div id="navbar-menu" class="navbar-menu is-static">
<div class="navbar-end">
{{ range $menu }}
<a class="navbar-item has-text-grey is-size-5" href="{{ .url }}">
{{ .title }}
<a class="navbar-item has-text-grey is-size-5" href="{{ .URL }}">
{{ .Name }}
</a>
{{ end }}

Expand Down
6 changes: 3 additions & 3 deletions themes/falco-fresh/layouts/partials/section-about.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $sectionAbout := .Site.Params.sectionAbout }}
{{- $title := index $sectionAbout "title" }}
{{- $summary := index $sectionAbout "summary" }}
{{- $title := $sectionAbout.title }}
{{- $summary := $sectionAbout.summary }}
<a id="about"></a>
<section class="section section-feature-grey">
<div class="container">
Expand All @@ -16,4 +16,4 @@ <h2 class="title is-3 has-text-weight-normal">{{ $title }}</h2>
</div>
</div>
</div>
</section>
</section>

0 comments on commit 5abe864

Please sign in to comment.