Skip to content

Commit a06691d

Browse files
patriciasantaanamaheshwarip
authored andcommitted
[Turnstile] Tutorials edits (#16920)
* update tutorial titles * copyedits
1 parent 12fc229 commit a06691d

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

src/content/docs/turnstile/tutorials/implicit-vs-explicit-rendering.mdx

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Implementing Turnstile Using Implicit and Explicit Rendering
2+
title: Implement Turnstile using implicit and explicit rendering
33
pcx_content_type: tutorial
44
updated: 2024-09-16
55
difficulty: Beginner
@@ -57,9 +57,7 @@ Once a challenge has been solved, a token is passed to the success callback. Thi
5757

5858
An invisible input with the name `cf-turnstile-response` is added and will be sent to the server with the other fields.
5959

60-
Here is a complete HTML example:
61-
62-
```html
60+
```html title="Complete HTML example"
6361
<!DOCTYPE html>
6462
<html lang="en">
6563
<head>
@@ -114,9 +112,7 @@ function onloadTurnstileCallback() {
114112
}
115113
```
116114

117-
Here is a complete HTML and JavaScript example:
118-
119-
```html
115+
```html title="Complete HTML and JavaScript example"
120116
<!DOCTYPE html>
121117
<html lang="en">
122118
<head>
@@ -261,15 +257,13 @@ Choosing the appropriate rendering method for Turnstile is important and effecti
261257
262258
Implementing Turnstile into your website helps improve the security of your website without compromising user experience. By understanding and implementing implicit or explicit rendering, you can choose the method that best fits your website's architecture and user interaction patterns.
263259
264-
- Implicit Rendering is ideal for static pages with minimal JavaScript.
265-
- Explicit Rendering offers greater control for dynamic and interactive applications.
260+
- Implicit rendering is ideal for static pages with minimal JavaScript.
261+
- Explicit rendering offers greater control for dynamic and interactive applications.
266262
267-
Remember to perform server-side verification of the response token to complete the authentication process securely.
263+
Remember to perform server-side validation of the response token to complete the authentication process securely.
268264
269265
## Additional resources
270266
271267
- [Server-side validation](/turnstile/get-started/server-side-validation/): A guide on how to implement server-side validation to ensure that only valid, human-generated responses are accepted by your application.
272-
273268
- [Turnstile Analytics](/turnstile/turnstile-analytics/): A guide on how to access and interpret Turnstile analytics data, allowing you to monitor key metrics, access the number of challenges issued, and evaluate the challenge solve rate (CSR).
274-
275269
- [Turnstile API Reference](/api/operations/accounts-turnstile-widgets-list): Comprehensive documentation for the Turnstile API, providing detailed information on API operations for managing Turnstile widgets, including how to list, create, and update widgets via API calls.

src/content/docs/turnstile/tutorials/integrating-turnstile-waf-and-bot-management.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Integrating Turnstile, WAF, & Bot Management"
2+
title: Integrate Turnstile, WAF, & Bot Management
33
pcx_content_type: tutorial
44
updated: 2024-09-17
55
difficulty: Beginner
@@ -70,7 +70,7 @@ Turnstile adds an extra layer of security by analyzing browser and client-side s
7070

7171
If your site is on Cloudflare, you can enable the option to use the existing [clearance cookie](/turnstile/concepts/pre-clearance-support/) in Turnstile's settings. This integration allows Turnstile to use the clearance cookie as part of its determination of whether a user should receive a challenge. This integration is optional, but recommended if you already are using WAF and Bot Management.
7272

73-
## Integrating Turnstile into Your Application
73+
## Integrate Turnstile into your application
7474

7575
There are two components to implementing Turnstile into your application: the Turnstile widget and the server-side validation logic.
7676

@@ -170,6 +170,6 @@ By combining Turnstile with WAF and Bot Management, you can create a system that
170170

171171
If you are interested in customizing Turnstile, refer to the resources below for more information:
172172

173-
- **[Client-side rendering](/turnstile/get-started/client-side-rendering/)**. Learn how to customize how and when Turnstile renders in your user interface, to better fit your application's needs and user experience.
174-
- **[Server-side validation](/turnstile/get-started/server-side-validation/)**. Learn how Turnstile's API works, including request parameters, as well as how to handle different types of responses, including error codes.
175-
- **[Analytics](/turnstile/turnstile-analytics/)**. Learn how to view Turnstile's analytics in the Cloudflare dashboard. This includes metrics on the number of challenges issued, as well as the CSR (Challenge Solve Rate).
173+
- [Client-side rendering](/turnstile/get-started/client-side-rendering/). Learn how to customize how and when Turnstile renders in your user interface, to better fit your application's needs and user experience.
174+
- [Server-side validation](/turnstile/get-started/server-side-validation/). Learn how Turnstile's API works, including request parameters, as well as how to handle different types of responses, including error codes.
175+
- [Turnstile Analytics](/turnstile/turnstile-analytics/). Learn how to view Turnstile's analytics in the Cloudflare dashboard. This includes metrics on the number of challenges issued, as well as the CSR (Challenge Solve Rate).

src/content/docs/turnstile/tutorials/login-pages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Login pages
2+
title: Protect your login pages
33
pcx_content_type: tutorial
44
updated: 2024-07-09
55
difficulty: Beginner

0 commit comments

Comments
 (0)