fix quote bug

main
Antonin 3 years ago
parent 4873b6788d
commit d6e061c981
  1. 6
      layouts/partials/sidebar/left.html
  2. 10
      resources/_gen/assets/scss/scss/style.scss_48b060fe05b0a273d182ef83c0605941.content
  3. 1
      resources/_gen/assets/scss/scss/style.scss_48b060fe05b0a273d182ef83c0605941.json
  4. BIN
      resources/_gen/images/avatar_hu0425aced773cbd1bd9e02d90851fd492_30130_300x0_resize_box_3.png
  5. 2
      theme.toml

@ -42,7 +42,7 @@
{{ range . }} {{ range . }}
<li> <li>
<a href='{{ .URL }}' {{ if eq (default true .Params.newTab) true }}target="_blank" {{ end }} {{ with .Name <a href='{{ .URL }}' {{ if eq (default true .Params.newTab) true }}target="_blank" {{ end }} {{ with .Name
}}title="{{ . }}" {{ end }}> }} title="{{ . }}" {{ end }}>
{{ $icon := default "link" .Params.Icon }} {{ $icon := default "link" .Params.Icon }}
{{ with $icon }} {{ with $icon }}
{{ partial "helper/icon" . }} {{ partial "helper/icon" . }}
@ -63,8 +63,8 @@
<a href='{{ .URL | relLangURL }}' {{ if eq .Params.newTab true }}target="_blank" {{ end }}> <a href='{{ .URL | relLangURL }}' {{ if eq .Params.newTab true }}target="_blank" {{ end }}>
{{ $icon := default .Pre .Params.Icon }} {{ $icon := default .Pre .Params.Icon }}
{{ if .Pre }} {{ if .Pre }}
{{ errorf "Menu item [%s] is using [pre] field to set icon, please use [params.icon] instead.\nMore {{ errorf "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 }} "information: https://docs.stack.jimmycai.com/configuration/custom-menu.html" .URL }}
{{ end }} {{ end }}
{{ with $icon }} {{ with $icon }}
{{ partial "helper/icon" . }} {{ partial "helper/icon" . }}

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
{"Target":"scss/style.min.0cfee510287a83e3c80511584be679ce173fc6c3f16717916c19a19f5e015715.css","MediaType":"text/css","Data":{"Integrity":"sha256-DP7lECh6g+PIBRFYS+Z5zhc/xsPxZxeRbBmhn14BVxU="}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

@ -19,7 +19,7 @@ features = [
"search", "search",
] ]
min_version = "0.87.0" min_version = "0.89.4"
[author] [author]
name = "Jimmy Cai" name = "Jimmy Cai"

Loading…
Cancel
Save