Skip to content

Commit b2f1197

Browse files
authored
Update the website metatitle (#585)
1 parent 22e9edd commit b2f1197

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎content/_index.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: index
33
header: dark
44
footer: light
55
title: Haystack
6+
meta_title: "Haystack | Open-Source AI Framework for Production-Grade Agents"
67
description: Create agentic, context engineered AI systems using Haystack’s modular and customizable building blocks, built for real-world, production-ready applications.
78

89
launch_week_summary:

‎themes/haystack/layouts/partials/head.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<meta name="viewport" content="width=device-width,initial-scale=1" />
44

55
<title>
6-
{{ if eq .Params.layout "integration" }}
6+
{{ if .Params.meta_title }}
7+
{{ .Params.meta_title | plainify }}
8+
{{ else if eq .Params.layout "integration" }}
79
{{ .Params.Name | plainify }} | {{ .Site.Title }}
810
{{ else }}
911
{{ .Title | plainify }} | {{ .Site.Title }}

‎themes/haystack/layouts/partials/opengraph.html‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
*/}}
55

66

7-
{{ if eq .Params.layout "integration" }}
7+
{{ if .Params.meta_title }}
8+
<meta property="og:title" content="{{ .Params.meta_title }}" />
9+
{{ else if eq .Params.layout "integration" }}
810
<meta property="og:title" content="{{ .Params.Name }} | Haystack" />
911
{{ else }}
1012
<meta property="og:title" content="{{ .Title }} | Haystack" />
@@ -32,7 +34,9 @@
3234
<meta name="twitter:creator" content="@haystack_ai" />
3335
<meta name="twitter:site" content="@haystack_ai" />
3436

35-
{{ if eq .Params.layout "integration" }}
37+
{{ if .Params.meta_title }}
38+
<meta name="twitter:title" content="{{ .Params.meta_title }}" />
39+
{{ else if eq .Params.layout "integration" }}
3640
<meta name="twitter:title" content="{{ .Params.Name }} | Haystack" />
3741
{{ else }}
3842
<meta name="twitter:title" content="{{ .Title }} | Haystack" />

0 commit comments

Comments
 (0)