Skip to content

Commit 7536033

Browse files
committed
seo pass + update faq
1 parent 38d5e0b commit 7536033

File tree

19 files changed

+808
-54
lines changed

19 files changed

+808
-54
lines changed

_includes/head.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,25 @@
2828
<meta property="og:type" content="article">
2929
{% seo %}
3030

31+
{% if page.url == "/" %}
32+
<script type="application/ld+json">
33+
{
34+
"@context": "https://schema.org",
35+
"@type": "WebAPI",
36+
"name": "HTML/CSS to Image API",
37+
"description": "API for generating high quality images from HTML and CSS. Supports PNG, JPG, WebP, and PDF output.",
38+
"url": "https://hcti.io/v1/image",
39+
"documentation": "https://docs.htmlcsstoimage.com",
40+
"termsOfService": "https://htmlcsstoimage.com/terms",
41+
"provider": {
42+
"@type": "Organization",
43+
"name": "HTML/CSS to Image",
44+
"url": "https://htmlcsstoimage.com"
45+
}
46+
}
47+
</script>
48+
{% endif %}
49+
3150
{% include head_custom.html %}
3251

3352
</head>

example-code/go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
layout: page
3-
title: GoLang
3+
title: Go - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/go/
66
description: >-
7-
Convert HTML to an image (png, jpg or webp) with GoLang + the HTML/CSS to Image
7+
Convert HTML to an image (png, jpg or webp) with Go + the HTML/CSS to Image
88
API. Renders exactly like Google Chrome.
99
---
1010
{% include intro.md language="GoLang" %}

example-code/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ title: Example code
44
permalink: /example-code/
55
nav_order: 4
66
has_children: true
7+
description: >-
8+
HTML to Image code examples for Python, PHP, JavaScript, Ruby, Go, C#, TypeScript, and more. Copy-paste ready API integration code.
79
---
810
# Example code
911
{: .no_toc }

example-code/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: JavaScript
3+
title: JavaScript - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/javascript/
66
description: >-

example-code/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: PHP
3+
title: PHP - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/php/
66
description: >-

example-code/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: Python
3+
title: Python - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/python/
66
description: >-

example-code/ruby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: Ruby
3+
title: Ruby - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/ruby/
66
description: >-

example-code/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: TypeScript
3+
title: TypeScript - HTML to Image Example
44
parent: Example code
55
permalink: /example-code/typescript/
66
description: >-

faq.md

Lines changed: 345 additions & 39 deletions
Large diffs are not rendered by default.

getting-started/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ permalink: /getting-started/
55
nav_order: 2
66
expanded: true
77
has_children: true
8+
description: >-
9+
Get started with the HTML/CSS to Image API. Quick start guide with examples for Python, PHP, JavaScript, Ruby, and Go.
810
---
911
# Getting started
1012
{: .no_toc }

0 commit comments

Comments
 (0)