From 678925257d749cee7e5bced1d2ce5079604ad867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Sun, 6 Oct 2024 12:10:23 +0200 Subject: [PATCH] fix: deprecations. (#288) * fix: deprecations. * chore: renames steps in job. --- .github/workflows/ghpages.yml | 3 +-- config/_default/config.toml | 2 +- layouts/index.html | 23 +++++++++++++++-------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index 4df1ffee..84e61ab1 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -19,9 +19,8 @@ jobs: with: hugo-version: 'latest' extended: true - # extended: true - - name: Build + - name: Install deps run: npm install - name: Build diff --git a/config/_default/config.toml b/config/_default/config.toml index 95a7d445..34e1dc44 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -6,7 +6,7 @@ enableEmoji = true enableGitInfo = false enableRobotsTXT = true languageCode = "en-US" -paginate = 7 +pagerSize = 7 rssLimit = 10 # add redirects/headers diff --git a/layouts/index.html b/layouts/index.html index 197e6004..e378a280 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,8 +6,9 @@

{{ .Title }}

{{ .Params.lead | safeHTML }}

- Get started -

Open-source Apache 2 Licensed. GitHub {{ $data := getJSON "https://api.github.com/repos/corazawaf/coraza/tags" }}{{ $tag := index ($data) 0 }}{{ $tag.name }}

+ Get + started +

Open-source Apache 2 Licensed. GitHub

@@ -19,29 +20,35 @@

{{ .Title }}

Security

-

Security is what Coraza is for, enforce policies using OWASP CRS or create your own policies to stop attackers and generate important audit information.

+

Security is what Coraza is for, enforce policies using OWASP CRS or + create your own policies to stop attackers and generate important audit information.

Fast by default ⚡️

-

From huge websites to small blogs, Coraza can handle that load with minimal performance impacts, just check our Benchmarks.

+

From huge websites to small blogs, Coraza can handle that load with minimal performance impacts, just check + our Benchmarks.

Extensible

-

Audit Loggers, persistence engines, operators, actions, create your own functionalities to extend Coraza as much as you want.

+

Audit Loggers, persistence engines, operators, actions, create your own functionalities to extend Coraza as + much as you want.

Integrations

-

Coraza WAF is just a library but we support many integrations to deploy a WAF as an application server, reverse proxy, container, and more.

+

Coraza WAF is just a library but we support many integrations to deploy a WAF as an application + server, reverse proxy, container, and more.

Roadmap

-

Expect interesting features and improvements within our community-driven roadmap, for small developers and big companies.

+

Expect interesting features and improvements within our community-driven roadmap, for small developers and + big companies.

Enterprise ready

-

Continuous development, high performance and great documentation are the recipe for a perfect enterprise open source project.

+

Continuous development, high performance and great documentation are the recipe for a perfect enterprise open + source project.