[Frontmatter] Updating languages to tags in frontmatter. (#24306)

* Updating languages to tags in frontmatter.

* Apply suggestions from code review

* Round 2

* Apply suggestions from code review

* Adding label for Java

* Adding .NET into list of tags

* Adding Prisma ORM as a tag

* Removing deprecated "languages" filter

* frontmatter and schema cleanup

* tweak

---------

Co-authored-by: kodster28 <kody@cloudflare.com>
This commit is contained in:
Jun Lee 2025-08-12 14:40:22 +01:00 committed by GitHub
parent 75aa789505
commit 8b8c7dcda5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 69 additions and 142 deletions

View file

@ -4,11 +4,10 @@ difficulty: Beginner
pcx_content_type: tutorial
tags:
- AI
- JavaScript
title: Deploy a Worker that connects to OpenAI via AI Gateway
products:
- Workers
languages:
- JavaScript
description: Learn how to deploy a Worker that makes calls to OpenAI through AI Gateway
---

View file

@ -7,7 +7,7 @@ products:
- R2
difficulty: Beginner
updated: 2023-09-28
languages:
tags:
- JavaScript
sidebar:
order: 2

View file

@ -7,7 +7,7 @@ title: Create custom headers for Cloudflare Access-protected origins with Worker
products:
- Workers
- Access
languages:
tags:
- JavaScript
---

View file

@ -3,7 +3,7 @@ updated: 2023-06-09
category: 🔐 Access
pcx_content_type: tutorial
title: Validate the Access token with FastAPI
languages:
tags:
- Python
---

View file

@ -1,7 +1,7 @@
---
type: example
summary: Learn how to query D1 from a Python Worker
languages:
tags:
- Python
pcx_content_type: example
title: Query D1 from Python Workers

View file

@ -7,7 +7,6 @@ products:
- Workers
tags:
- Hono
languages:
- JavaScript
- SQL
---

View file

@ -7,7 +7,6 @@ products:
- Pages
tags:
- Hono
languages:
- TypeScript
- SQL
description: Build a staff directory using D1. Users access employee info; admins add new employees within the app.

View file

@ -7,7 +7,6 @@ products:
- Workers
tags:
- Hono
languages:
- TypeScript
- SQL
---

View file

@ -6,7 +6,7 @@ pcx_content_type: tutorial
title: Query D1 using Prisma ORM
products:
- Workers
languages:
tags:
- TypeScript
- SQL
---

View file

@ -4,7 +4,7 @@ difficulty: Beginner
content_type: Tutorial
pcx_content_type: tutorial
title: Bulk import to D1 using REST API
languages:
tags:
- JavaScript
- TypeScript
- SQL

View file

@ -4,7 +4,7 @@ difficulty: Beginner
content_type: Tutorial
pcx_content_type: tutorial
title: Using D1 Read Replication for your e-commerce website
languages:
tags:
- JavaScript
- TypeScript
- SQL

View file

@ -7,7 +7,6 @@ products:
- Workers
tags:
- CMS
languages:
- JavaScript
- TypeScript
spotlight:

View file

@ -7,8 +7,6 @@ products:
- Workers
- Vectorize
- Workers AI
languages:
- TypeScript
spotlight:
author: Hidetaka Okamoto
author_bio_link: https://www.linkedin.com/in/hideokamoto/
@ -17,6 +15,7 @@ tags:
- AI
- Hono
- Stripe
- TypeScript
sidebar:
order: 2
description: Create APIs for related product searches and recommendations using Workers AI and Stripe.

View file

@ -7,7 +7,7 @@ products:
- R2
- D1
- Workers
languages:
tags:
- TypeScript
- SQL
spotlight:

View file

@ -6,7 +6,7 @@ title: Setup Fullstack Authentication with Next.js, Auth.js, and Cloudflare D1
products:
- Workers
- D1
languages:
tags:
- TypeScript
spotlight:
author: Mackenly Jones

View file

@ -8,7 +8,6 @@ products:
tags:
- Forms
- Astro
languages:
- TypeScript
spotlight:
author: Cody Walsh

View file

@ -3,9 +3,7 @@ updated: 2024-09-24
difficulty: Intermediate
pcx_content_type: tutorial
title: Build a seat booking app with SQLite in Durable Objects
products:
- Durable Objects
languages:
tags:
- TypeScript
- SQL
---

View file

@ -7,7 +7,6 @@ products:
- Workers
tags:
- PostgreSQL
languages:
- TypeScript
- SQL
---

View file

@ -1,7 +1,7 @@
---
title: GraphQL Analytics
pcx_content_type: tutorial
languages:
tags:
- GraphQL
sidebar:
order: 1

View file

@ -2,7 +2,7 @@
title: GraphQL Analytics
pcx_content_type: tutorial
updated: 2023-01-04
languages:
tags:
- GraphQL
sidebar:
order: 2

View file

@ -3,7 +3,7 @@ updated: 2022-07-26
difficulty: Beginner
pcx_content_type: tutorial
title: Migrating from Netlify to Pages
languages:
tags:
- JavaScript
sidebar:
hidden: true

View file

@ -3,7 +3,7 @@ updated: 2021-07-27
difficulty: Beginner
pcx_content_type: tutorial
title: Migrating a Jekyll-based site from GitHub Pages
languages:
tags:
- Ruby
sidebar:
hidden: true

View file

@ -5,7 +5,6 @@ pcx_content_type: tutorial
title: Add a React form with Formspree
tags:
- Forms
languages:
- JavaScript
---

View file

@ -6,7 +6,6 @@ title: Build a blog using Nuxt.js and Sanity.io on Cloudflare Pages
tags:
- Nuxt
- Vue
languages:
- JavaScript
description: Build a blog application using Nuxt.js and Sanity.io and deploy it on Cloudflare Pages.
---

View file

@ -3,7 +3,7 @@ updated: 2024-10-01
pcx_content_type: tutorial
difficulty: Intermediate
title: Build an API for your front end using Pages Functions
languages:
tags:
- JavaScript
---

View file

@ -5,7 +5,6 @@ pcx_content_type: tutorial
title: Create a HTML form
tags:
- Forms
languages:
- JavaScript
---

View file

@ -3,7 +3,7 @@ updated: 2024-05-06
difficulty: Intermediate
pcx_content_type: tutorial
title: Localize a website with HTMLRewriter
languages:
tags:
- JavaScript
---

View file

@ -7,7 +7,6 @@ products:
- R2
tags:
- Hono
languages:
- JavaScript
---

View file

@ -9,7 +9,6 @@ products:
- Workers
tags:
- MotherDuck
languages:
- SQL
---

View file

@ -9,7 +9,6 @@ products:
- Workers
tags:
- MotherDuck
languages:
- SQL
---

View file

@ -1,7 +1,7 @@
---
title: Add a site
pcx_content_type: tutorial
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,7 @@ products:
- Workers
updated: 2024-09-13
difficulty: Beginner
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -7,7 +7,7 @@ pcx_content_type: tutorial
products:
- Workers
- Queues
languages:
tags:
- TypeScript
sidebar:
order: 1002

View file

@ -8,7 +8,7 @@ products:
- Workers
- Browser Rendering
- KV
languages:
tags:
- TypeScript
sidebar:
order: 1002

View file

@ -7,7 +7,7 @@ products:
- Workers AI
difficulty: Intermediate
updated: 2024-10-11
languages:
tags:
- TypeScript
---

View file

@ -6,7 +6,7 @@ products:
- Workers
difficulty: Beginner
updated: 2024-04-02
languages:
tags:
- TypeScript
---

View file

@ -16,7 +16,7 @@ import { ResourcesBySelector } from "~/components";
<ResourcesBySelector
directory="workers/examples/"
types={["example"]}
filterables={["languages", "tags"]}
filterables={["tags"]}
/>
```
@ -28,7 +28,7 @@ import { ResourcesBySelector } from "~/components";
- `filterables` <Type text="string[]" />
An array of frontmatter properties to show in the frontend filter dropdown. For example, `filterables={["languages", "tags"]}` will allow users to filter based on each pages `languages` and `tags` frontmatter.
An array of frontmatter properties to show in the frontend filter dropdown. For example, `filterables={["tags"]}` will allow users to filter based on each pages' `tags` frontmatter.
- `types` <Type text="string[]" />

View file

@ -3,7 +3,7 @@ type: example
summary: You can use the templates below for a demo application in Workers where
product details are shown, but pricing information is not revealed until the
Turnstile widget is solved.
languages:
tags:
- JavaScript
preview:
- true

View file

@ -3,10 +3,9 @@ title: Conditionally enforce Turnstile
pcx_content_type: tutorial
updated: 2025-04-01
difficulty: Intermediate
languages:
- TypeScript
tags:
- Node.js
- TypeScript
sidebar:
order: 6
---

View file

@ -3,10 +3,9 @@ title: Exclude Turnstile from E2E tests
pcx_content_type: tutorial
updated: 2025-01-24
difficulty: Intermediate
languages:
- TypeScript
tags:
- Node.js
- TypeScript
sidebar:
order: 6
---

View file

@ -3,9 +3,8 @@ title: Implement Turnstile using implicit and explicit rendering
pcx_content_type: tutorial
updated: 2024-09-16
difficulty: Beginner
languages:
- JavaScript
tags:
- JavaScript
- Node.js
sidebar:
order: 4

View file

@ -6,7 +6,7 @@ difficulty: Beginner
products:
- Web Application Firewall
- Bot Management
languages:
tags:
- JavaScript
sidebar:
order: 3

View file

@ -3,9 +3,8 @@ title: Protect your forms
pcx_content_type: tutorial
updated: 2025-05-30
difficulty: Beginner
languages:
- JavaScript
tags:
- JavaScript
- Node.js
sidebar:
order: 2

View file

@ -3,9 +3,8 @@ title: Protect payment forms from malicious bots using Turnstile
pcx_content_type: tutorial
updated: 2024-12-17
difficulty: Beginner
languages:
- JavaScript
tags:
- JavaScript
- Node.js
- Hono
- Stripe

View file

@ -10,7 +10,6 @@ products:
tags:
- AI
- Hono
languages:
- JavaScript
sidebar:
order: 2

View file

@ -12,7 +12,6 @@ products:
tags:
- AI
- Nuxt
languages:
- TypeScript
description: Explore how you can use AI models to transcribe audio recordings and post process the transcriptions.
spotlight:

View file

@ -12,9 +12,8 @@ spotlight:
author: Vasyl
author_bio_link: https://github.com/berezovyy
author_bio_source: GitHub
languages:
- TypeScript
tags:
- TypeScript
- AI
description: Learn how to build an AI-powered interview practice tool that provides real-time feedback to help improve interview skills.
---

View file

@ -5,7 +5,6 @@ pcx_content_type: tutorial
title: Explore Code Generation Using DeepSeek Coder Models
tags:
- AI
languages:
- Python
sidebar:
order: 4

View file

@ -5,7 +5,6 @@ pcx_content_type: tutorial
title: Explore Workers AI Models Using a Jupyter Notebook
tags:
- AI
languages:
- Python
head: []
description: This Jupyter notebook explores various models (including Whisper, Distilled BERT, LLaVA, and Meta Llama 3) using Python and the

View file

@ -5,7 +5,6 @@ pcx_content_type: tutorial
title: Choose the Right Text Generation Model
tags:
- AI
languages:
- Python
sidebar:
order: 1

View file

@ -9,8 +9,8 @@ products:
- Workers
tags:
- AI
languages:
- Typescript
- TypeScript
prev: true
next: true
---

View file

@ -10,8 +10,8 @@ products:
- Workers
tags:
- AI
languages:
- Typescript
- TypeScript
next: true
---

View file

@ -9,8 +9,7 @@ products:
- Workers
tags:
- AI
languages:
- Typescript
- TypeScript
prev: true
---

View file

@ -7,8 +7,8 @@ products:
- Workers
tags:
- AI
languages:
- Typescript
- TypeScript
description: Learn how to build an image generator using Workers AI.
---

View file

@ -8,7 +8,6 @@ products:
- Workers AI
tags:
- AI
languages:
- JavaScript
sidebar:
order: 2

View file

@ -4,7 +4,6 @@ summary: Allow a client to request static assets while waiting for the HTML resp
tags:
- Middleware
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,7 @@ type: example
summary: Set up an A/B test by controlling what response is served based on
cookies. This version supports passing the request through to test and control
on the origin, bypassing random assignment.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Access custom Cloudflare properties and control how Cloudflare features
are applied to every request.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Send two GET request to two urls and aggregates the responses into one
response.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Example of how to add, change, or delete headers sent in a request or
tags:
- Headers
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Allow or deny a request based on a known pre-shared key in a header.
tags:
- Authentication
- WebCrypto
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Shows how to restrict access using the HTTP Basic schema.
tags:
- Security
- Authentication
languages:
- JavaScript
- TypeScript
- Rust

View file

@ -4,7 +4,6 @@ summary: Inspects the incoming request's TLS version and blocks if under TLSv1.2
tags:
- Security
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Resolve requests to your domain to a set of proxy third-party origin URLs.
tags:
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Redirect requests to certain URLs based on a mapped object to the
tags:
- Middleware
- Redirects
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Use the Cache API to store responses in Cloudflare's cache.
tags:
- Middleware
- Caching
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Cache POST requests using the Cache API.
tags:
- Middleware
- Caching
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Send Additional Cache Tags using Workers
tags:
- Caching
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Determine how to cache a resource by setting TTLs, custom cache keys,
tags:
- Caching
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Return a response based on the incoming request's URL, HTTP method,
User Agent, IP address, ASN or device type.
tags:
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Add the necessary CORS headers to a third party API response.
tags:
- Security
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Redirect a response based on the country code in the header of a visito
tags:
- Redirects
- Geolocation
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Set a Cron Trigger for your Worker.
tags:
- Middleware
languages:
- JavaScript
- TypeScript
pcx_content_type: example

View file

@ -4,7 +4,6 @@ summary: Protect sensitive data to prevent data loss, and send alerts to a
webhooks server in the event of a data breach.
tags:
- Security
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Send debugging information in an errored response to a logging service.
tags:
- Debugging
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Given the cookie name, get the value of a cookie. You can also use
cookies for A/B testing.
tags:
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Send a request to a remote server, read HTML from the response, and
serve that HTML.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -6,7 +6,6 @@ pcx_content_type: example
title: Fetch JSON
tags:
- JSON
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Fetch weather data from an API using the user's geolocation data.
tags:
- Geolocation
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Personalize website styling based on localized user time.
tags:
- Geolocation
languages:
- JavaScript
- TypeScript
pcx_content_type: example

View file

@ -3,7 +3,6 @@ type: example
summary: Get all geolocation data fields and display them in HTML.
tags:
- Geolocation
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Block other websites from linking to your content. This is useful for
tags:
- Security
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Set up custom domain for Images using a Worker or serve images using a
prefix path and Cloudflare registered domain.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -11,4 +11,4 @@ import { GlossaryTooltip, ListExamples } from "~/components";
Explore the following <GlossaryTooltip term="code example">examples</GlossaryTooltip> for Workers.
<ListExamples directory="workers/examples/" filters={["languages", "tags"]} />
<ListExamples directory="workers/examples/" filters={["tags"]} />

View file

@ -4,7 +4,6 @@ summary: Examine the contents of a Headers object by logging to console with a M
tags:
- Debugging
- Headers
languages:
- JavaScript
- Rust
- TypeScript

View file

@ -5,7 +5,6 @@ summary: Create a modified request with edited properties based off of an
tags:
- Middleware
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Fetch and modify response properties which are immutable by creating a
tags:
- Middleware
- Headers
languages:
- JavaScript
- TypeScript
- Python

View file

@ -3,7 +3,6 @@ type: example
summary: Set multiple Cron Triggers on three different schedules.
tags:
- Middleware
languages:
- JavaScript
- TypeScript
pcx_content_type: example

View file

@ -3,7 +3,6 @@ type: example
summary: Use the OpenAI v4 SDK to stream responses from OpenAI.
tags:
- AI
languages:
- JavaScript
- TypeScript
pcx_content_type: example

View file

@ -3,7 +3,6 @@ type: example
summary: Send a POST request with JSON data. Use to share data with external servers.
tags:
- JSON
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Protect against timing attacks by safely comparing values using
tags:
- Security
- WebCrypto
languages:
- TypeScript
- Python
pcx_content_type: example

View file

@ -4,7 +4,6 @@ summary: Serve an HTML form, then read POST requests. Use also to read JSON or
POST data from an incoming request.
tags:
- JSON
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Redirect requests from one URL to another or from one set of URLs to
tags:
- Middleware
- Redirects
languages:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Respond to the Worker request with the response from another website
demo: https://respond-with-another-site.workers-sites-examples.workers.dev
tags:
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Deliver an HTML page from an HTML string directly inside the Worker script.
demo: https://returning-html.workers-sites-examples.workers.dev
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -5,7 +5,6 @@ summary: Return JSON directly from a Worker script, useful for building APIs and
demo: https://returning-json.workers-sites-examples.workers.dev
tags:
- JSON
languages:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Rewrite URL links in HTML using the HTMLRewriter. This is useful for
JAMstack websites.
languages:
tags:
- JavaScript
- TypeScript
- Python

View file

@ -6,7 +6,6 @@ summary: Set common security headers (X-XSS-Protection, X-Frame-Options,
tags:
- Security
- Middleware
languages:
- JavaScript
- TypeScript
- Python

View file

@ -4,7 +4,6 @@ summary: Verify a signed request using the HMAC and SHA-256 algorithms or return
tags:
- Security
- WebCrypto
languages:
- JavaScript
- TypeScript
- Python

View file

@ -2,7 +2,7 @@
type: example
summary: Inject [Turnstile](/turnstile/) implicitly into HTML elements using the
HTMLRewriter runtime API.
languages:
tags:
- JavaScript
- TypeScript
- Python

Some files were not shown because too many files have changed in this diff Show more