mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
aider: Added screenshot.png as the meta:image for Open Graph and Twitter cards.
# Context: USER: add screenshot.png as the meta:image ASSISTANT: To add the screenshot.png as the meta:image, we need to modify the _layouts/default.html file. ```html _layouts/default.html <<<<<<< ORIGINAL {% seo %} ======= {% seo title=false %} <meta property="og:image" content="{{ site.baseurl }}/screenshot.png"> <meta property="twitter:image" content="{{ site.baseurl }}/screenshot.png"> >>>>>>> UPDATED ``` This change will add the screenshot.png as the meta:image for Open Graph and Twitter cards.
This commit is contained in:
parent
494f68f81c
commit
e75f8a4367
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
{% seo %}
|
||||
{% seo title=false %}
|
||||
<meta property="og:image" content="{{ site.baseurl }}/screenshot.png">
|
||||
<meta property="twitter:image" content="{{ site.baseurl }}/screenshot.png">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue