feat(og-image.php): proxy open graph + meta images to mitigate cases where query params required by cdn may break requests
This commit is contained in:
parent
b6dab4831f
commit
4cefdee788
16 changed files with 59 additions and 16 deletions
|
@ -11,7 +11,7 @@ permalink: "{{ feed.permalink }}.json"
|
|||
{
|
||||
"version": "https://jsonfeed.org/version/1",
|
||||
"title": "{{ feed.title | append: " • " | append: globals.site_name }}",
|
||||
"icon": "{{ globals.url }}/assets/icons/feed.png",
|
||||
"icon": "{{ globals.url }}/og/w200/{% appVersion %}{{ globals.avatar }}",
|
||||
"home_page_url": "{{ globals.url }}",
|
||||
"feed_url": "{{ globals.url }}{{ feed.permalink }}.json",
|
||||
"items": [
|
||||
|
|
|
@ -17,7 +17,7 @@ permalink: "{{ feed.permalink }}.xml"
|
|||
<atom:link href="{{ globals.url }}{{ feed.permalink }}.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>{{ "now" | date:"%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
|
||||
<image>
|
||||
<url>{{ globals.url }}/assets/icons/feed.png</url>
|
||||
<url>{{ globals.url }}/og/w200/{% appVersion %}{{ globals.avatar }}</url>
|
||||
<title><![CDATA[{{ feed.title | append: " • " | append: globals.site_name }}]]></title>
|
||||
<link>{{ globals.url }}{{ feed.permalink }}.xml</link>
|
||||
<width>144</width>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue