-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add more i18n options and update templates
- Loading branch information
Showing
15 changed files
with
125 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: "このサイトについて" | ||
toc: false | ||
--- | ||
|
||
Hextraは、現代的な静的ウェブサイトを構築するためのシンプルで高速で柔軟なテーマとして設計されています。特にドキュメンテーションウェブサイトに適していますが、ブログ、ポートフォリオなどのさまざまなタイプのサイトにも使用できます。 | ||
|
||
Hugoは、Jekyllと同様に静的サイトジェネレーターです。Hugoの特徴は、単一のバイナリであることで、さまざまなプラットフォームで簡単にインストールして実行できることです。また、数千ページのサイトをミリ秒単位でレンダリングできるほど非常に高速で信頼性があります。 | ||
|
||
Hextraは、最小限のフットプリントに焦点を当てた考え方で構築されています。始めるためには、Node.jsのような追加の依存関係は必要ありません。必要なのは、単一のYAML設定ファイルと、Markdownのコンテンツだけです。そのため、ツールのセットアップではなく、質の高いコンテンツの作成に集中できます。 | ||
|
||
## クレジット | ||
|
||
Hextraをビルドするには、次のツールとインスピレーションが必要です: | ||
|
||
- [Hugo](https://gohugo.io/) | ||
- [Tailwind CSS](https://tailwindcss.com/) | ||
- [Heroicons](https://heroicons.com/) | ||
- [Nextra](https://nextra.vercel.app/) | ||
- [Next.js](https://nextjs.org/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
article: | ||
on_this_page: "On this page" | ||
edit_this_page: "Edit this page on GitHub →" | ||
onThisPage: "On this page" | ||
editThisPage: "Edit this page on GitHub →" | ||
lastUpdated: "Last updated on" | ||
|
||
footer: | ||
copyright: "© 2023 Hextra Project." | ||
copyright: "© 2023 Hextra Project." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
# Navbar | ||
documentation: "ドキュメンテーション" | ||
blog: "ブログ" | ||
about: "このサイトについて" | ||
|
||
search_placeholder: "検索ドキュメント..." | ||
more: "もっと" | ||
hugoDocs: "Hugoドキュメント ↗" | ||
|
||
article: | ||
on_this_page: "このページでは" | ||
searchPlaceholder: "検索ドキュメント..." | ||
noResultsFound: "検索結果が見つかりませんでした" | ||
|
||
onThisPage: "このページでは" | ||
editThisPage: "このページをGitHubで編集する →" | ||
lastUpdated: "最終更新日" | ||
|
||
copyright: "© 2023 Hextra Project." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<div class="mt-1.5 flex items-center gap-1 overflow-hidden text-sm text-gray-500 dark:text-gray-400 contrast-more:text-current"> | ||
{{ range .Ancestors.Reverse }} | ||
{{ if not .IsHome }} | ||
{{- range .Ancestors.Reverse }} | ||
{{- if not .IsHome }} | ||
<div class="whitespace-nowrap transition-colors min-w-[24px] overflow-hidden text-ellipsis hover:text-gray-900 dark:hover:text-gray-100"> | ||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a> | ||
</div> | ||
{{ partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"w-3.5 shrink-0\"") }} | ||
{{ end }} | ||
{{ end }} | ||
{{- partial "utils/icon.html" (dict "name" "chevron-right" "attributes" "class=\"w-3.5 shrink-0\"") -}} | ||
{{ end -}} | ||
{{ end -}} | ||
<div class="whitespace-nowrap transition-colors font-medium text-gray-700 contrast-more:font-bold contrast-more:text-current dark:text-gray-100 contrast-more:dark:text-current"> | ||
{{ .LinkTitle }} | ||
{{- .LinkTitle -}} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{{ if site.Params.displayUpdatedDate }} | ||
{{- $lastUpdated := (T "lastUpdated") | default "Last updated on" -}} | ||
|
||
{{- if site.Params.displayUpdatedDate -}} | ||
{{- with .Lastmod -}} | ||
{{ $datetime := (time.Format "2006-01-02T15:04:05.000Z" .) }} | ||
<div class="mt-12 mb-8 block text-xs text-gray-500 ltr:text-right rtl:text-left dark:text-gray-400">Last updated on <time datetime="{{ $datetime }}">{{ partial "utils/format-date" . }}</time></div> | ||
<div class="mt-12 mb-8 block text-xs text-gray-500 ltr:text-right rtl:text-left dark:text-gray-400">{{ $lastUpdated }} <time datetime="{{ $datetime }}">{{ partial "utils/format-date" . }}</time></div> | ||
{{- else -}} | ||
<div class="mt-16"></div> | ||
{{- end -}} | ||
{{ else }} | ||
{{- else -}} | ||
<div class="mt-16"></div> | ||
{{ end }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters