Skip to content

Commit e6937ea

Browse files
author
Phil Hawksworth
committed
initial data passthrough to cloudinary
1 parent b10ba3c commit e6937ea

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
status = 301
3737

3838
[[redirects]]
39-
from = "/og/glossary/:term/:summary"
39+
from = "/img/og/glossary/:term/:summary"
4040
to = "https://res.cloudinary.com/netlify/image/fetch/l_text:Roboto_65_bold::term,co_rgb:FFFFFF,g_north_west,y_128,x_88/l_text:Roboto_34_light::summary,co_rgb:FFFFFF,g_north_west,y_245,x_149/https://jamstack.org/img/og/glossary-card-bg.png"
4141
status = 302
4242

src/site/glossary-pages.njk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ layout: layouts/base.njk
1010
eleventyComputed:
1111
title: "{{ item.term }}"
1212
description: "What is {{ item.term }}? {{ item.definition }}"
13+
ogimage: "/img/og/glossary/{{ item.term }}/{{ item.definition }}"
14+
1315
---
1416

1517

0 commit comments

Comments
 (0)