contact default case added, library version up

mermaid 8.4.4 -> 8.4.6
wavedrom 2.1.6 -> 2.3.0
This commit is contained in:
zzossig 2020-01-29 17:45:29 +09:00
parent 05d80f34c1
commit 84ba3fa835
4 changed files with 18 additions and 16 deletions

View File

@ -456,7 +456,7 @@ root
## Contact Page
현재 이용 가능한 서비스: [formspree]. 다른 서비스를 이용하고 싶으시면 새 이슈를 만들어주세요.
현재 이용 가능한 서비스: [formspree]. 다른 서비스를 이용하고 싶으시면 새 이슈를 만들어주세요. 서비스 파라미터를 빈값으로 설정하면 마크다운으로 해당 페이지를 채울 수 있습니다.
1. 파일을 다음 경로에 만들어줍니다. root/contact/index.md

View File

@ -446,7 +446,7 @@ root
## Contact Page
Currently available service: [formspree]. Open an issue if you need another service vendor.
Currently available service: [formspree]. Open an issue if you need another service vendor. If you want just a blank page and use a markdown, set the service param empty.
1. Make a file at root/contact/index.md

View File

@ -1,7 +1,7 @@
# js
[js.mermaid]
sri = "sha256-JEqEejGt4tR35L0a1zodzsV0/PJ6GIf7J4yDtywdrH8="
url = "https://cdn.jsdelivr.net/npm/mermaid@8.4.4/dist/mermaid.min.js"
sri = "sha256-wV/0jM5E/0V+KqyxUio2Ve5OAC/gweTTqdbnRX1fgAE="
url = "https://cdn.jsdelivr.net/npm/mermaid@8.4.6/dist/mermaid.min.js"
[js.katex]
sri = "sha256-F/Xda58SPdcUCr+xhSGz9MA2zQBPb0ASEYKohl8UCHc="
@ -43,12 +43,12 @@
url = "https://cdn.jsdelivr.net/npm/chart.js@2.9.3/dist/Chart.min.js"
[js.wavedrom]
sri = "sha256-IDuClDzRPosOM4bqD2e6ANDjqDwqNJrQxvXvegg47eI="
url = "https://cdn.jsdelivr.net/npm/wavedrom@2.1.6/wavedrom.min.js"
sri = "sha256-Gvxb3h9f9p1eiyr59LuWSLX/tWVncuDrHgLF9+rwkw8="
url = "https://cdn.jsdelivr.net/npm/wavedrom@2.3.0/wavedrom.min.js"
[js.wavedrom_skin]
sri = "sha256-AcH/tECvCrfgPUHK98GALAPyAE7XpAYyEsbpmQrniFo="
url = "https://cdn.jsdelivr.net/npm/wavedrom@2.1.6/skins/default.js"
url = "https://cdn.jsdelivr.net/npm/wavedrom@2.3.0/skins/default.js"
[js.viz]
sri = "" # no sri

View File

@ -6,13 +6,15 @@
</header>
<main class="main">
<div class="contact">
{{ if eq .Params.service "formspree" }}
<article class="single__contents contact__desc">
{{ .Content }}
</article>
{{ if eq .Params.service "formspree" }}
{{ partial "contact/formspree" . }}
{{ else }}
{{ partial "contact/formspree" . }}
<article class="single__contents contact__desc">
{{ .Content }}
</article>
{{ end }}
</div>
</main>