From 6e15a0232d2c7d9398c7a1e68affa4ffe3c1aa95 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Mon, 8 Jan 2024 00:05:11 +0900 Subject: [PATCH] =?UTF-8?q?update:=20decoding=20async=E3=82=92=E6=B6=88?= =?UTF-8?q?=E3=81=97=E3=80=81loading=E3=82=82=E6=9C=80=E5=88=9D=E3=81=AB?= =?UTF-8?q?=E8=A6=8B=E3=81=88=E3=82=8B=E5=88=86=E3=81=AFeager=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eleventy.js | 2 +- src/site/_includes/layouts/main.njk | 4 ++-- src/site/_includes/layouts/partials/feed-item.njk | 4 ++-- src/site/_includes/layouts/partials/top-section.njk | 6 +++--- src/site/blog-feed.njk | 4 ++-- src/site/blogs.njk | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 1e878bc7ed2b..8996d837ae30 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -44,7 +44,7 @@ const imageShortcode = async (src, alt, pathPrefix = '') => { } catch (e) { // エラーが起きたら代替画像にする console.log('[image-short-code] error', src); - return `${alt}` + return `${alt}` } return Image.generateHTML(metadata, { diff --git a/src/site/_includes/layouts/main.njk b/src/site/_includes/layouts/main.njk index f917929c0d18..2c6ad68166ad 100644 --- a/src/site/_includes/layouts/main.njk +++ b/src/site/_includes/layouts/main.njk @@ -65,11 +65,11 @@
diff --git a/src/site/_includes/layouts/partials/feed-item.njk b/src/site/_includes/layouts/partials/feed-item.njk index 3db6f1e58e26..e04e18ce8ade 100644 --- a/src/site/_includes/layouts/partials/feed-item.njk +++ b/src/site/_includes/layouts/partials/feed-item.njk @@ -3,14 +3,14 @@ {% if feedItem.image %} {% image feedItem.image.url, '記事のアイキャッチ画像', page.url | relativeUrl %} {% else %} - 記事のアイキャッチ画像 + 記事のアイキャッチ画像 {% endif %}
{{ feedItem._custom.originalTitle }} {% if feedItem._custom.hatenaCount > 0 %}
- はてなブックマークアイコン + はてなブックマークアイコン {{ feedItem._custom.hatenaCount }}
{% endif %} diff --git a/src/site/_includes/layouts/partials/top-section.njk b/src/site/_includes/layouts/partials/top-section.njk index 4ab53a4168f6..8b4754969dc7 100644 --- a/src/site/_includes/layouts/partials/top-section.njk +++ b/src/site/_includes/layouts/partials/top-section.njk @@ -7,7 +7,7 @@
@@ -22,10 +22,10 @@
diff --git a/src/site/blog-feed.njk b/src/site/blog-feed.njk index c48db85dc12e..48d9448c5174 100644 --- a/src/site/blog-feed.njk +++ b/src/site/blog-feed.njk @@ -31,14 +31,14 @@ permalink: "blogs/{{ blogFeed.linkMd5Hash }}/" {% if feedItem.ogImageUrl %} {% image feedItem.ogImageUrl, '記事のアイキャッチ画像', page.url | relativeUrl %} {% else %} - 記事のアイキャッチ画像 + 記事のアイキャッチ画像 {% endif %}
{{ feedItem.title }} {% if feedItem.hatenaCount > 0 %}
- はてなブックマークアイコン + はてなブックマークアイコン {{ feedItem.hatenaCount }}
{% endif %} diff --git a/src/site/blogs.njk b/src/site/blogs.njk index bcf14fc78bcb..cb33ad731021 100644 --- a/src/site/blogs.njk +++ b/src/site/blogs.njk @@ -17,7 +17,7 @@ eleventyComputed: {% if blogFeed.ogImageUrl %} {% image blogFeed.ogImageUrl, 'ブログのアイキャッチ画像', '../' %} {% else %} - 記事のアイキャッチ画像 + 記事のアイキャッチ画像 {% endif %}