Skip to content

Commit b11e8fc

Browse files
committed
Update homepage YAML and HTML for improved content presentation and localization
1 parent 7c03fac commit b11e8fc

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

data/homepage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ banner:
66
image : "images/about/book.png"
77
content : "近年の技術の発展により、画像生成技術はますます身近になっています。本書は、画像生成について実践的に学べるように、Pythonを使った実装を示しています。"
88
price : "3,850円"
9-
breakdown: "(本体3,500円+税10%)"
9+
breakdown: "本体3,500円+税10%"
1010

1111
######################## Book Preview ##########################
1212
preview:

themes/influencer-hugo/layouts/index.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,21 @@
99
<div class="col-lg-7 col-md-8">
1010
<div class="main-banner">
1111
<span class="text-color font-weight-bold">{{ .writer | markdownify }}</span>
12-
<h1 class="mb-3 mt-2">{{ .title | markdownify }}</h1>
12+
<h1 class="mb-3 mt-2"><budoux-ja>{{ .title | markdownify }}</budoux-ja></h1>
1313

1414
<div class="mb-4">
15-
<h4>Price :- <span class="text-color">${{ .price }}</span></h4>
15+
<h4>
16+
<span class="text-color">{{ .price }}</span>
17+
<span class="mb-4">({{ .breakdown }})</span>
18+
</h4>
1619
</div>
17-
<p class="mb-4">{{ .content | markdownify }}</p>
20+
<p>
21+
<budoux-ja class="mb-4">{{ .content | markdownify }}</budoux-ja>
22+
</p>
1823
<button class="snipcart-add-item btn btn-main mt-2" data-item-id="1"
1924
data-item-name="{{ .title | markdownify }}" data-item-image="{{ .image | absURL }}"
2025
data-item-price="{{ .price }}" data-item-url="/">
21-
Purchase now <i class="ti-angle-right ml-3"></i>
26+
購入はこちら<i class="ti-angle-right ml-3"></i>
2227
</button>
2328
</div>
2429
</div>

0 commit comments

Comments
 (0)