diff --git a/content/_index.html b/content/_index.html index 7342997c5..70c863bc4 100644 --- a/content/_index.html +++ b/content/_index.html @@ -20,32 +20,32 @@ gVisor integrates with }} -{{< blocks/feature icon="fas fa-lock" title="Defense in Depth" >}} +{{% blocks/feature icon="fas fa-lock" title="Defense in Depth" %}} Each sandbox has its own user-space kernel, providing additional protection from host kernel vulnerabilities. -{{< /blocks/feature >}} +{{% /blocks/feature %}} -{{< blocks/feature icon="fas fa-feather-alt" title="Lightweight" >}} +{{% blocks/feature icon="fas fa-feather-alt" title="Lightweight" %}} Runs as a normal process and uses the host kernel for memory management and scheduling. -{{< /blocks/feature >}} +{{% /blocks/feature %}} -{{< blocks/feature icon="fab fa-linux" title="Zero Configuration" >}} +{{% blocks/feature icon="fab fa-linux" title="Zero Configuration" %}} Capable of running most Linux applications unmodified, with zero configuration. -{{< /blocks/feature >}} +{{% /blocks/feature %}} {{< /blocks/section >}} {{< blocks/section color="white" >}} -{{< blocks/feature icon="fas fa-book" title="Read the Docs" >}} +{{% blocks/feature icon="fas fa-book" title="Read the Docs" %}} Read the [documentation](./docs/) to understand gVisor, its architecture and trade-offs, and how to use it. -{{< /blocks/feature >}} +{{% /blocks/feature %}} -{{< blocks/feature icon="fas fa-code-branch" title="Contribute to gVisor" >}} +{{% blocks/feature icon="fas fa-code-branch" title="Contribute to gVisor" %}} Anyone is welcome to be a gVisor contributor. Please check out the [community information](./docs/community) to get started. -{{< /blocks/feature >}} +{{% /blocks/feature %}} -{{< blocks/feature icon="fab fa-github" title="Give Feedback" >}} +{{% blocks/feature icon="fab fa-github" title="Give Feedback" %}} File feature requests, bugs, and compatibility issues on GitHub. -{{< /blocks/feature >}} +{{% /blocks/feature %}} {{< /blocks/section >}} diff --git a/layouts/shortcodes/blocks/feature.html b/layouts/shortcodes/blocks/feature.html new file mode 100644 index 000000000..f0b4b37c8 --- /dev/null +++ b/layouts/shortcodes/blocks/feature.html @@ -0,0 +1,10 @@ +{{ $icon := .Get "icon" | default "fa-lightbulb" }} +{{ $url_text := .Get "url_text" }} +
{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} …
{{ end }} +