From 12920848fcc3bff0300ba1edba3090275359d090 Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Sat, 1 Mar 2025 22:34:44 +0900 Subject: [PATCH 1/5] Add external CSS and JS plugins for enhanced functionality --- config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 73d2651..311a2d5 100644 --- a/config.toml +++ b/config.toml @@ -18,6 +18,8 @@ URL = "plugins/slick/slick.css" URL = "plugins/themify-icons/themify-icons.css" [[params.plugins.css]] URL = "plugins/magnific-popup/magnific-popup.css" +[[params.plugins.css]] +URL = "https://cdn.jsdelivr.net/npm/line-seed-jp@0.0.5/line-seed-jp.min.css" # JS Plugins [[params.plugins.js]] @@ -28,7 +30,8 @@ URL = "plugins/bootstrap/bootstrap.min.js" URL = "plugins/slick/slick.min.js" [[params.plugins.js]] URL = "plugins/magnific-popup/magnific-popup.min.js" - +[[params.plugins.js]] +URL = "https://unpkg.com/budoux/bundle/budoux-ja.min.js" ############################## navigation ############################### [menu] From 17060cf9b1f55daa97dd784566bd0bda369bd15f Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Sat, 1 Mar 2025 22:34:55 +0900 Subject: [PATCH 2/5] Update banner details with new writer, title, content, and price --- data/homepage.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/homepage.yml b/data/homepage.yml index d281b9a..818be5a 100644 --- a/data/homepage.yml +++ b/data/homepage.yml @@ -1,12 +1,12 @@ ########################## Banner ############################# banner: enable : true - writer : "George Stewart" - title : "The Man in the
Glass House" + writer : "北田俊輔(著)" + title : "Pythonで学ぶ画像生成" image : "images/about/book.png" - content : "We work with our partners to streamline project plans that don’t just deliver on - product perfection, but also delivers on time." - price : "14.99" + content : "近年の技術の発展により、画像生成技術はますます身近になっています。本書は、画像生成について実践的に学べるように、Pythonを使った実装を示しています。" + price : "3,850円" + breakdown: "(本体3,500円+税10%)" ######################## Book Preview ########################## preview: From 7c03fac85e800a24ff3952f4f8825dc6d8669b7d Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Sat, 1 Mar 2025 22:35:07 +0900 Subject: [PATCH 3/5] Refactor SCSS variables for improved readability and update primary font --- themes/influencer-hugo/assets/scss/_variables.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/influencer-hugo/assets/scss/_variables.scss b/themes/influencer-hugo/assets/scss/_variables.scss index 39f0fff..38bc3c2 100644 --- a/themes/influencer-hugo/assets/scss/_variables.scss +++ b/themes/influencer-hugo/assets/scss/_variables.scss @@ -1,10 +1,10 @@ $light: #fff; -$primary-color:#cc302b; +$primary-color: #cc302b; $secondary-color: #385777; $black: #222; $black-light: #3f4451; $black-lighter: #888; -$border-color:#eee; -$primary-font: 'Lora', serif; -$secondary-font:'Open Sans', sans-serif; +$border-color: #eee; +$primary-font: 'LINE Seed JP', serif; +$secondary-font: 'Open Sans', sans-serif; $gray : #f7fdfc; From b11e8fca4360625461c43968b9383f64f98210b5 Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Sat, 1 Mar 2025 22:36:18 +0900 Subject: [PATCH 4/5] Update homepage YAML and HTML for improved content presentation and localization --- data/homepage.yml | 2 +- themes/influencer-hugo/layouts/index.html | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/data/homepage.yml b/data/homepage.yml index 818be5a..f7af44b 100644 --- a/data/homepage.yml +++ b/data/homepage.yml @@ -6,7 +6,7 @@ banner: image : "images/about/book.png" content : "近年の技術の発展により、画像生成技術はますます身近になっています。本書は、画像生成について実践的に学べるように、Pythonを使った実装を示しています。" price : "3,850円" - breakdown: "(本体3,500円+税10%)" + breakdown: "本体3,500円+税10%" ######################## Book Preview ########################## preview: diff --git a/themes/influencer-hugo/layouts/index.html b/themes/influencer-hugo/layouts/index.html index a576989..73a4159 100644 --- a/themes/influencer-hugo/layouts/index.html +++ b/themes/influencer-hugo/layouts/index.html @@ -9,16 +9,21 @@
{{ .writer | markdownify }} -

{{ .title | markdownify }}

+

{{ .title | markdownify }}

-

Price :- ${{ .price }}

+

+ {{ .price }} + ({{ .breakdown }}) +

-

{{ .content | markdownify }}

+

+ {{ .content | markdownify }} +

From c902ccf95405007754a7a526d2c07f42d472c8b3 Mon Sep 17 00:00:00 2001 From: Shunsuke KITADA Date: Sat, 1 Mar 2025 22:36:27 +0900 Subject: [PATCH 5/5] Update purchase button text to Japanese for localization --- themes/influencer-hugo/layouts/partials/header.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/themes/influencer-hugo/layouts/partials/header.html b/themes/influencer-hugo/layouts/partials/header.html index 161ce50..f725979 100644 --- a/themes/influencer-hugo/layouts/partials/header.html +++ b/themes/influencer-hugo/layouts/partials/header.html @@ -37,12 +37,14 @@

{{ .Site.Title }}

{{ if .Site.Params.navButton.enable }} {{ "" | safeHTML }} - {{ end }} - \ No newline at end of file +