Skip to content

Commit 818431f

Browse files
committed
add hero image
1 parent 7280fbe commit 818431f

File tree

10 files changed

+41
-22
lines changed

10 files changed

+41
-22
lines changed

_site/404/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<meta name="twitter:description" content="">
1515
<meta name="description" content="">
1616
<meta property="og:description" content="">
17-
17+
18+
19+
1820

1921
<style>
2022
*,

_site/about/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<meta name="twitter:description" content="">
1515
<meta name="description" content="">
1616
<meta property="og:description" content="">
17-
17+
18+
19+
1820

1921
<style>
2022
*,

_site/flexbox-image-gallery/index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@
1111

1212

1313

14-
<meta name="twitter:description" content="">
15-
<meta name="description" content="">
16-
<meta property="og:description" content="">
17-
14+
<meta name="twitter:description" content="How to build a full-bleed Image Gallery with flexbox.">
15+
<meta name="description" content="How to build a full-bleed Image Gallery with flexbox.">
16+
<meta property="og:description" content="How to build a full-bleed Image Gallery with flexbox.">
17+
18+
19+
20+
<meta name="twitter:image" content="hero.jpg">
21+
<meta name="image" content="hero.jpg">
22+
<meta property="og:image" content="hero.jpg">
23+
1824

1925
<style>
2026
*,
@@ -588,7 +594,7 @@
588594
<h1 class="post-title">Exploiting flex-grow for an Image Gallery</h1>
589595
<div class="post-time">
590596
<time datetime="">
591-
Fri, Sep 12, 2025
597+
Sat, Sep 13, 2025
592598
</time>
593599
</div>
594600
</header>

_site/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<meta name="twitter:description" content="">
1515
<meta name="description" content="">
1616
<meta property="og:description" content="">
17-
17+
18+
19+
1820

1921
<style>
2022
*,
@@ -590,11 +592,11 @@
590592
<a href="/flexbox-image-gallery/">
591593
<h3 class="article-title">Exploiting flex-grow for an Image Gallery</h3>
592594
<div class="article-time">
593-
<time datetime="Fri Sep 12 2025 20:38:20 GMT-0700 (Pacific Daylight Time)">
594-
Fri, Sep 12, 2025
595+
<time datetime="Sat Sep 13 2025 10:49:35 GMT-0700 (Pacific Daylight Time)">
596+
Sat, Sep 13, 2025
595597
</time>
596598
</div>
597-
<p class="article-description"></p>
599+
<p class="article-description">How to build a full-bleed Image Gallery with flexbox.</p>
598600
</a>
599601
</li>
600602

_site/rss.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link href="rss.xml" rel="self" />
66
<link href="https://bfgeek.com/" />
77
<updated>
8-
2025-09-13T03:38:20Z
8+
2025-09-13T17:49:35Z
99
</updated>
1010
<id>https://bfgeek.com/</id>
1111
<author>
@@ -14,7 +14,7 @@
1414
<entry>
1515
<title>Exploiting flex-grow for an Image Gallery</title>
1616
<link href="/flexbox-image-gallery/" />
17-
<updated>2025-09-13T03:38:20Z</updated>
17+
<updated>2025-09-13T17:49:35Z</updated>
1818
<id>/flexbox-image-gallery/</id>
1919
<content xml:lang="" type="html">
2020
<img src="hero.jpg" width="1706" height="1350">

_site/sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<url>
55
<loc>https://bfgeek.com//flexbox-image-gallery/</loc>
6-
<lastmod>2025-09-12</lastmod>
6+
<lastmod>2025-09-13</lastmod>
77
</url>
88

99
</urlset>

_site/tags/software/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<meta name="twitter:description" content="">
1515
<meta name="description" content="">
1616
<meta property="og:description" content="">
17-
17+
18+
19+
1820

1921
<style>
2022
*,
@@ -593,11 +595,11 @@ <h1>Tagged “software”</h1>
593595
<a href="/flexbox-image-gallery/">
594596
<h3 class="article-title">Exploiting flex-grow for an Image Gallery</h3>
595597
<div class="article-time">
596-
<time datetime="Fri Sep 12 2025 20:38:20 GMT-0700 (Pacific Daylight Time)">
597-
Fri, Sep 12, 2025
598+
<time datetime="Sat Sep 13 2025 10:49:35 GMT-0700 (Pacific Daylight Time)">
599+
Sat, Sep 13, 2025
598600
</time>
599601
</div>
600-
<p class="article-description"></p>
602+
<p class="article-description">How to build a full-bleed Image Gallery with flexbox.</p>
601603
</a>
602604
</li>
603605

index.html

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/_includes/layouts/default.liquid

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@
2222
<meta name="twitter:description" content="{{ site.description }}" />
2323
<meta name="description" content="{{ site.description }}" />
2424
<meta property="og:description" content="{{ site.description }}" />
25-
{% endif %}
25+
{% endif %}
26+
27+
{% if hero %}
28+
<meta name="twitter:image" content="{{ hero }}" />
29+
<meta name="image" content="{{ hero }}" />
30+
<meta property="og:image" content="{{ hero }}" />
31+
{% endif %}
2632

2733
{% include "css/reset.liquid" %}
2834
{% include "css/prism.liquid" %}

src/posts/flexbox-image-gallery.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Exploiting flex-grow for an Image Gallery
3-
description:
3+
description: How to build a full-bleed Image Gallery with flexbox.
4+
hero: hero.jpg
45
tags:
56
- software
67
---

0 commit comments

Comments
 (0)