It is already deprecated and displayed as it inside the Kestra UI, see https://preview-oss.kestra.io/ui/plugins/io.kestra.core.models.conditions.types.FlowCondition



![Image](https://github.com/kestra-io/kestra/assets/1819009/84bccd8e-1621-4bf3-a016-aca9459e03d3)



But for an unknown reason, on the website the deprecated icon is not shown, see https://kestra.io/plugins/core/conditions/io.kestra.core.models.conditions.types.flowcondition



![Image](https://github.com/kestra-io/kestra/assets/1819009/7f08e0a0-e371-4258-8c79-55623f7374a8)


 Ey! So far in my findings I see that the website FE is taking the title `.md` tag value so in this example it'll only show "FlowCondition" instead of "FlowCondition- 🔒 Deprecated".

```
---
title: FlowCondition
editLink: false

description: "Condition for a specific flow. Note that this condition is deprecated, use `ExecutionFlowCondition` instead."

icon: PHN2Zy...
---


<h1>
    <img width="25" src="..." alt="FlowCondition" /> FlowCondition- 🔒 Deprecated
</h1>
```

So title should have the same content as the h1. Thanks, it explains the behavior, on our side, we didn't add the 'deprecated' flag on the MD title.
I'll have a look.
Mark FlowCondition as deprecated.
### Feature description

Deprecate https://kestra.io/plugins/core/conditions/io.kestra.core.models.conditions.types.flowcondition

preferred option: https://kestra.io/plugins/core/conditions/io.kestra.core.models.conditions.types.executionflowcondition
core/src/main/resources/docs/task.hbs
core/src/main/resources/docs/task.hbs
diff --git a/core/src/main/resources/docs/task.hbs b/core/src/main/resources/docs/task.hbs
index 042d0b91db..e07e06666d 100644
--- a/core/src/main/resources/docs/task.hbs
+++ b/core/src/main/resources/docs/task.hbs
@@ -1,5 +1,5 @@
 ---
-title: {{shortName}}
+title: {{shortName}} {{~#if deprecated }} - 🔒 Deprecated{{~/if}}
 editLink: false
 {{#if docDescription}}
 description: {{ json docDescription }}
@@ -109,7 +109,7 @@ icon: {{ icon }}
 {{~/inline~}}
 {{!-- {{                 Main doc                 }} --}}
 <h1>
-    {{#if icon ~}}<img width="25" src="data:image/svg+xml;base64,{{icon}}" alt="{{shortName}}" />{{/if }} {{shortName}} {{~#if deprecated }}- 🔒 Deprecated{{~/if}}
+    {{#if icon ~}}<img width="25" src="data:image/svg+xml;base64,{{icon}}" alt="{{shortName}}" />{{/if }} {{shortName}} {{~#if deprecated }} - 🔒 Deprecated{{~/if}}
 </h1>
 
 ```yaml
