Compare commits

..

No commits in common. "fddab053628070668cd9c9eb0b96d9a6246fcc71" and "23607527e4bde0a289094ddc863f64381d9b01d7" have entirely different histories.

10 changed files with 8 additions and 47 deletions

View File

@ -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/guide/).
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/).
- type: textarea
id: what-happened
attributes:

View File

@ -222,28 +222,6 @@
margin-inline-start: calc((var(--card-padding)) * -1);
padding-inline-start: calc(var(--card-padding) - var(--heading-border-size));
border-inline-start: var(--heading-border-size) solid var(--accent-color);
position: relative;
a.header-anchor {
transition: opacity 0.3s ease;
opacity: 0;
position: absolute;
left: 0;
width: var(--card-padding);
text-align: center;
color: var(--accent-color);
&:before {
content: "#";
}
}
&:hover,
&:focus {
a.header-anchor {
opacity: 1;
}
}
}
figure {

View File

@ -212,7 +212,7 @@
}
}
.menu-social {
.social-menu {
list-style: none;
padding: 0;
margin: 0;

View File

@ -28,7 +28,6 @@ params:
src: img/avatar.png
article:
headingAnchor: false
math: false
toc: true
readingTime: true

View File

@ -203,7 +203,7 @@ params:
enabled: true
### Custom menu
### See https://stack.jimmycai.com/config/menu
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
menu:
main: []

View File

@ -4,16 +4,6 @@ toggleMenu:
darkMode:
other: ダークモード
list:
page:
other: "{{ .Count }} ページ目"
section:
other: セクション
subsection:
other: サブセクション
article:
back:
other: 前のページ
@ -64,7 +54,7 @@ search:
footer:
builtWith:
other: "{{ .Generator }} で構築されています。"
other: Built with {{ .Generator }}
designedBy:
other: テーマ {{ .Theme }} は {{ .DesignedBy }} によって設計されています。

View File

@ -1,6 +0,0 @@
<h{{ .Level }} id="{{ .Anchor }}">
{{- if site.Params.Article.HeadingAnchor -}}
<a href="#{{ .Anchor }}" class="header-anchor"></a>
{{- end -}}
{{ .Text | safeHTML }}
</h{{ .Level }}>

View File

@ -1,7 +1,7 @@
{{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}
<script>
window.addEventListener("DOMContentLoaded", () => {
renderMathInElement(document.body, {
renderMathInElement(document.querySelector(`.article-content`), {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },

View File

@ -1,4 +1,4 @@
{{- $ThemeVersion := "3.26.0" -}}
{{- $ThemeVersion := "3.24.2" -}}
<footer class="site-footer">
<section class="copyright">
&copy;

View File

@ -38,7 +38,7 @@
</header>
{{- with .Site.Menus.social -}}
<ol class="menu-social">
<ol class="social-menu">
{{ range . }}
<li>
<a
@ -65,7 +65,7 @@
<a href='{{ .URL }}' {{ if eq .Params.newTab true }}target="_blank"{{ end }}>
{{ $icon := default .Pre .Params.Icon }}
{{ if .Pre }}
{{ warnf "Menu item [%s] is using [pre] field to set icon, please use [params.icon] instead.\nMore information: https://stack.jimmycai.com/config/menu" .URL }}
{{ warnf "Menu item [%s] is using [pre] field to set icon, please use [params.icon] instead.\nMore information: https://docs.stack.jimmycai.com/configuration/custom-menu.html" .URL }}
{{ end }}
{{ with $icon }}
{{ partial "helper/icon" . }}