Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b14b758
fix(code): :wrench: prevent code overflows when small display
htnabe Jul 31, 2026
b599149
Merge pull request #203 from htnabe/fix/prevent-inline-code-overflows
htnabe Jul 31, 2026
ca2d822
fix(thumbnail): :wrench: tweak margin when not showing thumbnail
htnabe Jul 31, 2026
d3486af
fix: :wrench: margin of the main section and articles
htnabe Jul 31, 2026
9a84dfe
feat(toc): added translation of toc
htnabe Jul 31, 2026
31c0af6
Merge pull request #204 from htnabe/feat/article-thumbnail
htnabe Jul 31, 2026
31e5cee
Merge pull request #205 from htnabe/feat/localize-toc-label
htnabe Jul 31, 2026
b14606c
chore(deps): bump instantsearch.js from 4.106.0 to 4.108.0
dependabot[bot] Aug 1, 2026
b2ffb4c
chore(deps-dev): bump lint-staged from 17.0.8 to 17.2.0
dependabot[bot] Aug 1, 2026
9b22652
chore(deps-dev): bump @playwright/test from 1.61.1 to 1.62.0
dependabot[bot] Aug 1, 2026
5ba1e1c
Merge pull request #210 from htnabe/dependabot/npm_and_yarn/dev/playw…
htnabe Aug 5, 2026
46251bf
Merge pull request #208 from htnabe/dependabot/npm_and_yarn/dev/lint-…
htnabe Aug 5, 2026
7e6557f
chore(deps-dev): bump prettier from 3.9.5 to 3.9.6
dependabot[bot] Aug 5, 2026
4dea7d4
chore(deps-dev): bump postcss from 8.5.19 to 8.5.24
dependabot[bot] Aug 5, 2026
2b50d9d
Merge pull request #209 from htnabe/dependabot/npm_and_yarn/dev/postc…
htnabe Aug 7, 2026
a7a2c18
Merge pull request #207 from htnabe/dependabot/npm_and_yarn/dev/insta…
htnabe Aug 7, 2026
ea807b4
Merge pull request #206 from htnabe/dependabot/npm_and_yarn/dev/prett…
htnabe Aug 7, 2026
9c041a2
chore(deps-dev): bump npm-check-updates from 22.2.9 to 23.0.0
dependabot[bot] Aug 8, 2026
b2847d7
chore(deps-dev): bump @playwright/test from 1.62.0 to 1.62.1
dependabot[bot] Aug 8, 2026
ce769a7
Merge pull request #213 from htnabe/dependabot/npm_and_yarn/dev/npm-c…
htnabe Aug 14, 2026
4351aed
chore(deps-dev): bump lint-staged from 17.2.0 to 17.3.0
dependabot[bot] Aug 14, 2026
a524424
chore(deps-dev): bump postcss from 8.5.24 to 8.5.26
dependabot[bot] Aug 14, 2026
6cf2250
Merge pull request #212 from htnabe/dependabot/npm_and_yarn/dev/lint-…
htnabe Aug 14, 2026
cf9b0aa
Merge pull request #214 from htnabe/dependabot/npm_and_yarn/dev/playw…
htnabe Aug 14, 2026
df831ba
Merge pull request #216 from htnabe/dependabot/npm_and_yarn/dev/postc…
htnabe Aug 14, 2026
aafe531
chore(deps-dev): bump jsdom from 29.1.1 to 30.0.1
dependabot[bot] Aug 14, 2026
0b558ec
Merge pull request #215 from htnabe/dependabot/npm_and_yarn/dev/jsdom…
htnabe Aug 14, 2026
b743207
chore(deps): update dependencies and npm settings
htnabe Aug 14, 2026
185c73d
Merge pull request #217 from htnabe/chore/prepare-release
htnabe Aug 14, 2026
6d19fc4
chore(release): prepare v2.0.4
htnabe Aug 14, 2026
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
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ updates:
cooldown:
default-days: 7
target-branch: "dev"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
target-branch: "dev"
5 changes: 4 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
ignore-scripts=true
progress=false
loglevel=error
maxsockets=50
install-strategy=hoisted
1 change: 0 additions & 1 deletion assets/css/widgets/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ article.card-wrapper pre {
article.card-wrapper p code {
margin: 0 0.25rem;
padding: 0.375rem;
white-space: nowrap;
}
8 changes: 0 additions & 8 deletions assets/css/widgets/toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
overflow-y: auto;
}

nav > ul::before {
content: "目次";
font-size: 120%;
font-weight: 600;
display: block;
margin: 0.4rem 0;
}

ul {
> li {
font-weight: 520;
Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/ja/posts/daily/protect-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "環境を守ろう"
date: 2024-08-19T21:51:19+09:00
draft: false
show_thumb_post: false
toc: true
tags: [環境, 保全, environment]
categories: [Daily]
Expand Down
14 changes: 10 additions & 4 deletions exampleSite/hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@
"card-wrapper",
"col",
"col-2",
"col-6",
"col-auto",
"col-lg-3",
"col-lg-6",
"col-lg-9",
"col-md-4",
"col-md-6",
Expand Down Expand Up @@ -141,7 +142,9 @@
"fw-medium",
"fw-semibold",
"g-0",
"g-2",
"gap-2",
"gy-3",
"h2",
"h5",
"height-100px",
Expand All @@ -159,6 +162,7 @@
"m-1",
"m-auto",
"mb-0",
"mb-1",
"mb-2",
"mb-3",
"mb-4",
Expand All @@ -179,13 +183,15 @@
"mt-0",
"mt-1",
"mt-2",
"mt-4",
"mt-3",
"mt-auto",
"mt-sm-2",
"mx-0",
"mx-1",
"mx-auto",
"my-0",
"my-2",
"my-3",
"my-4",
"nav-item",
"nav-link",
Expand Down Expand Up @@ -225,9 +231,7 @@
"py-1",
"py-2",
"py-3",
"py-4",
"py-5",
"py-md-5",
"rounded",
"rounded-1",
"rounded-circle",
Expand All @@ -249,6 +253,7 @@
"skill-chart-rows",
"skill-chart-scroll",
"skill-chart-track",
"sm-mt-2",
"sticky",
"summary-header",
"table",
Expand All @@ -274,6 +279,7 @@
"timeline-title",
"timeline-year",
"toc",
"toc-title",
"top-0",
"visually-hidden",
"w-100",
Expand Down
2 changes: 2 additions & 0 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: Kategorien
toc:
other: Inhaltsverzeichnis
author:
other: AUTOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: Categories
toc:
other: Table of Contents
author:
other: AUTHOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: Categorías
toc:
other: Índice
author:
other: AUTOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: Catégories
toc:
other: Table des matières
author:
other: AUTEUR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/hi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: श्रेणियां
toc:
other: विषय सूची
author:
other: AUTHOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: カテゴリー
toc:
other: 目次
author:
other: AUTHOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: 카테고리
toc:
other: 목차
author:
other: AUTHOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/zh-cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: 分类
toc:
other: 目录
author:
other: AUTHOR
support:
Expand Down
2 changes: 2 additions & 0 deletions i18n/zh-tw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ footer:
sidebar:
categories:
other: 分類
toc:
other: 目錄
author:
other: AUTHOR
support:
Expand Down
2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ define "main" }}
<section
class="container py-3 py-md-5 min-vh-100 d-flex justify-content-center align-items-center bg-body"
class="container py-3 my-3 min-vh-100 d-flex justify-content-center align-items-center bg-body"
>
<div class="text-center">
<h2 class="d-flex justify-content-center align-items-center gap-2 mb-4">
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</header>

<div class="container-xl">
<main class="px-0 py-4 m-auto">
<main class="px-0 py-3 m-auto">
<div class="row justify-content-md-center">
<div class="col-lg-9">
{{ block "main" . }}{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ .Render "summary" }}

{{ if .Page.Params.PostsPage | default true }}
<div class="row">
<div class="row gy-3">
<div class="col-md-6">
<header class="mb-2">{{ T "article.next" }}</header>
{{ with .NextInSection }}
Expand Down
3 changes: 2 additions & 1 deletion layouts/_default/summary.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<article class="card-wrapper mb-4 mt-4 p-0">
<article class="card-wrapper mb-4 p-0">
<div class="card border-0">
{{ $showThumb := .Page.Params.show_thumb_post | default true }}
{{- $thumbnail := .Page.Params.thumbnail | default .Site.Params.defaultThumbnailUrl -}}
Expand Down Expand Up @@ -70,6 +70,7 @@ <h1 class="card-title fw-bold mt-2 mb-2">{{ .Title }}</h1>

{{ if .Params.toc }}
<div class="toc d-block d-lg-none">
<p class="mb-0">{{ i18n "sidebar.toc" }}</p>
{{ .TableOfContents }}
</div>
{{ end }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/categories.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{{ with .Site.Taxonomies.categories }}
<section class="sidebar mb-3 pt-2 pt-1">
<section class="sidebar mb-3">
<header class="px-2 pt-2 pb-3 m-auto text-start fw-bold">
{{ T "sidebar.categories" }}
</header>
<div class="container text-center">
<div class="row justify-content-center row-gap-1">
{{ range $key, $value := first 10 .ByCount }}
<span class="col-6 g-0">
<span class="col-auto g-2">
{{ $taxonomyLink := printf "categories/%s/" (.Name | urlize) | relLangURL }}
{{ with .Page }}
{{ $taxonomyLink = .RelPermalink }}
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/sidebar-toc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{ if .Params.toc }}
{{/* NOTE: Hidden below the lg breakpoint. */}}
<div class="toc d-none d-lg-block text-decoration-none overflow-auto">
<p class="mb-0">{{ i18n "sidebar.toc" }}</p>
{{ .TableOfContents }}
</div>
{{ end }}
Loading
Loading