diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 07743e1..81f8833 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -4,7 +4,7 @@ body: - type: markdown attributes: value: | - Thanks for taking the time to fill out this bug report! Please provide as much information as possible and make sure you have checked the [documentation](https://stack.jimmycai.com/). + Thanks for taking the time to fill out this bug report! Please provide as much information as possible and make sure you have checked the [documentation](https://stack.jimmycai.com/guide/). - type: textarea id: what-happened attributes: diff --git a/assets/scss/partials/menu.scss b/assets/scss/partials/menu.scss index 19476ac..5b6be17 100644 --- a/assets/scss/partials/menu.scss +++ b/assets/scss/partials/menu.scss @@ -212,7 +212,7 @@ } } -.social-menu { +.menu-social { list-style: none; padding: 0; margin: 0; diff --git a/exampleSite/config/_default/menu.yaml b/exampleSite/config/_default/menu.yaml index 4cfd6c3..811ff41 100644 --- a/exampleSite/config/_default/menu.yaml +++ b/exampleSite/config/_default/menu.yaml @@ -1,5 +1,5 @@ ### Custom menu -### See https://docs.stack.jimmycai.com/configuration/custom-menu.html +### See https://stack.jimmycai.com/config/menu ### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter main: [] social: diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 83c0885..677b5c8 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -2,6 +2,11 @@ toggleMenu: メニューを開く・閉じる darkMode: ダークモード +list: + page: "{{ .Count }} ページ目" + section: セクション + subsection: サブセクション + article: back: 前のページ tableOfContents: 目次 @@ -24,5 +29,5 @@ search: resultTitle: "#PAGES_COUNT 件 (#TIME_SECONDS 秒)" footer: - builtWith: Built with {{ .Generator }} + builtWith: "{{ .Generator }} で構築されています。" designedBy: テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。 diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..aa12d7d --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,4 @@ + + # + {{ .Text | safeHTML }} + \ No newline at end of file diff --git a/layouts/partials/article/components/links.html b/layouts/partials/article/components/links.html index 118dbb3..a2ac26c 100644 --- a/layouts/partials/article/components/links.html +++ b/layouts/partials/article/components/links.html @@ -16,8 +16,12 @@ {{ with $link.image }} + {{ $permalink := . }} + {{ with ($.Resources.GetMatch (printf "%s" (. | safeURL))) }} + {{ $permalink = .RelPermalink }} + {{ end }}
- +
{{ end }} diff --git a/layouts/partials/article/components/math.html b/layouts/partials/article/components/math.html index 8e62151..bd1a7f8 100644 --- a/layouts/partials/article/components/math.html +++ b/layouts/partials/article/components/math.html @@ -1,7 +1,7 @@ {{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}