mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 23:05:00 +00:00
Use highlight as og:image if present
This commit is contained in:
parent
eab864c518
commit
64938eafee
3 changed files with 9 additions and 2 deletions
|
@ -4,7 +4,11 @@
|
|||
<meta charset="UTF-8">
|
||||
|
||||
{% seo %}
|
||||
{% if post.highlight_image %}
|
||||
<meta property="og:image" content="{{ site.url }}/assets/aider.jpg">
|
||||
{% else %}
|
||||
<meta property="og:image" content="{{ site.baseurl }}{{ post.highlight_image }}">
|
||||
{% endif %}
|
||||
<meta property="twitter:image" content="{{ site.url }}/assets/aider-square.jpg">
|
||||
<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>
|
||||
|
|
BIN
assets/leaderboard.jpg
Normal file
BIN
assets/leaderboard.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 344 KiB |
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
highlight_image: /assets/leaderboard.jpg
|
||||
---
|
||||
|
||||
# Aider LLM leaderboards
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue