Skip to content

Generate Image Metadata Tag #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
{% if page.featured-image %}<meta property="og:image" content="{{ page.featured-image | absolute_url }}">{% endif %}

<div class="page__inner-wrap">
{% unless page.header.overlay_color or page.header.overlay_image %}
Expand Down
4 changes: 2 additions & 2 deletions _posts/2024-07-24-adam-li-interview.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ categories:
- Team
tags:
- Open Source
featured-image: adam-li-interview.png
featured-image: /assets/images/posts_images/adam-li-interview.png

postauthors:
- name: Reshama Shaikh
Expand All @@ -17,7 +17,7 @@ postauthors:
---

<div>
<img src="/assets/images/posts_images/{{ page.featured-image }}" alt="">
<img src="{{ page.featured-image }}" alt="">
{% include postauthor.html %}
</div>

Expand Down