Skip to content

Commit 27a9a02

Browse files
committed
Ensure YAML in examples is compliant
1 parent 1b8811b commit 27a9a02

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

source/_components/format-example.blade.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
<div class="bg-zinc-950 dark:bg-zinc-900 p-5 font-mono text-xs leading-relaxed text-zinc-100 overflow-x-auto">
99
<span class="text-zinc-500">---</span><br>
1010
<span class="text-purple-400">title:</span> <span class="text-yellow-300">Introducing Content-md</span><br>
11-
<span class="text-purple-400">description:</span> <span class="text-yellow-300">AI agents should be first-class visitors,</span><br>
12-
<span class="text-yellow-300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let's give them a tailored experience.</span><br>
11+
<span class="text-purple-400">description:</span> <span class="text-zinc-400">&gt;-</span><br>
12+
<span class="text-yellow-300">&nbsp;&nbsp;AI agents should be first-class visitors,</span><br>
13+
<span class="text-yellow-300">&nbsp;&nbsp;let's give them a tailored experience.</span><br>
1314
<span class="text-purple-400">date:</span> <span class="text-yellow-300">2026-04-29</span><br>
1415
<span class="text-purple-400">author:</span> <span class="text-yellow-300">Alessio</span><br>
1516
<span class="text-purple-400">license:</span> <span class="text-yellow-300">CC-BY-4.0</span><br>
@@ -32,8 +33,9 @@
3233

3334
<div class="hidden agent:block prose prose-zinc dark:prose-invert max-w-none">
3435
<pre><code>---
35-
description: AI agents must be considered as first-class visitors,
36-
let's give them a tailored experience.
36+
description: >-
37+
AI agents must be considered as first-class visitors,
38+
let's give them a tailored experience.
3739
title: Introducing Content-md
3840
date: 2024-01-15
3941
author: Jane Smith

source/writers.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
<div class="bg-zinc-950 dark:bg-zinc-900 p-5 font-mono text-xs leading-relaxed text-zinc-100 overflow-x-auto">
6161
<span class="text-zinc-500">---</span><br>
6262
<span class="text-purple-400">title:</span> <span class="text-yellow-300">How to Set Up PostgreSQL Connection Pooling with PgBouncer</span><br>
63-
<span class="text-purple-400">description:</span> <span class="text-yellow-300">Step-by-step guide to installing and</span><br>
64-
<span class="text-yellow-300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; configuring PgBouncer for transaction-mode</span><br>
65-
<span class="text-yellow-300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pooling on Ubuntu. Covers pool_mode,</span><br>
66-
<span class="text-yellow-300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; max_client_conn, and auth_type settings.</span><br>
63+
<span class="text-purple-400">description:</span> <span class="text-zinc-400">&gt;-</span><br>
64+
<span class="text-yellow-300">&nbsp;&nbsp;Step-by-step guide to installing and configuring PgBouncer</span><br>
65+
<span class="text-yellow-300">&nbsp;&nbsp;for transaction-mode pooling on Ubuntu. Covers pool_mode,</span><br>
66+
<span class="text-yellow-300">&nbsp;&nbsp;max_client_conn, and auth_type settings.</span><br>
6767
<span class="text-purple-400">date:</span> <span class="text-yellow-300">2024-11-02</span><br>
6868
<span class="text-purple-400">author:</span> <span class="text-yellow-300">Maria López</span><br>
6969
<span class="text-purple-400">license:</span> <span class="text-yellow-300">CC-BY-4.0</span><br>

0 commit comments

Comments
 (0)