File tree 3 files changed +20
-4
lines changed
3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- Title : Learn Playwright & Puppeteer
3
- description :
2
+ title : Learn Playwright & Puppeteer Browser Automation Frameworks
3
+ displayTitle : Learn Playwright & Puppeteer
4
+ description : Learn more about Playwright & Puppeteer with Checkly. Explore how to automate your web with a reliable, programmable monitoring workflow.
5
+ displayDescription :
4
6
Learn more about Playwright & Puppeteer with Checkly. Explore how to automate your web with a reliable, programmable monitoring workflow.
5
7
metatags :
6
8
title : Learn Playwright & Puppeteer - Browser Automation Frameworks
Original file line number Diff line number Diff line change 8
8
< img src ="/images/icons/toc-icon.svg " alt ="table of contents " width ="14 " height ="12 " /> Table of contents
9
9
</ div >
10
10
</ div >
11
- < h1 > {{ .Title }}</ h1 >
11
+ < h1 >
12
+ {{ if .Params.displayTitle}}
13
+ {{.Params.displayTitle}}
14
+ {{else}}
15
+ {{.Title}}
16
+ {{end}}
17
+ </ h1 >
12
18
< div class ="learn-toc-mobile mb-5 pt-3 ">
13
19
< div class ="learn-toc-header mb-3 pt-3 "> On this page</ div >
14
20
{{ .Page.TableOfContents }}
Original file line number Diff line number Diff line change 1
1
< head >
2
- < title > {{ if .IsHome }}{{ .Site.Title }}{{ else if .Params.head.title }}{{ .Params.head.title }}{{ else }}{{ .Title }} | Checkly {{ end }}</ title >
2
+ < title >
3
+ {{$title := "Checkly Documentation"}}
4
+ {{ if .IsHome }}{{ $title = .Site.Title }}{{ else if .Params.head.title }}{{ $title =.Params.head.title }}{{ else }}{{ $title = .Title }}{{ end }}
5
+ {{$titleLength := $title | len}}
6
+ {{if lt $titleLength 50}}
7
+ {{$title}} | Checkly
8
+ {{else}}
9
+ {{$title}}
10
+ {{end}}</ title >
3
11
< meta charset ="utf-8 " />
4
12
< meta name ="description " content ="{{ with .Description }}{{ . | markdownify }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . | markdownify}}{{ end }}{{ end }}{{ end }} " />
5
13
< meta name ="viewport " content ="width=device-width " initial-scale ="1 " maximum-scale ="1 " />
You can’t perform that action at this time.
0 commit comments