forked from TrueCloudLab/dot-hugo
turkish character bug fix on faq shortcode
This commit is contained in:
parent
05956a30fd
commit
4319d68ad6
1 changed files with 25 additions and 8 deletions
|
@ -1,12 +1,29 @@
|
||||||
{{ $_hugo_config := `{ "version": 1 }` }}
|
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||||
|
|
||||||
<div class="card mb-4 rounded-0 shadow border-0">
|
{{ if .Get 1 }}
|
||||||
<div class="card-header rounded-0 bg-white border p-0 border-0">
|
<div class="card mb-4 rounded-0 shadow border-0">
|
||||||
<a class="card-link h4 d-flex tex-dark mb-0 py-3 px-4 justify-content-between" data-toggle="collapse" href="#{{ .Get 0 | anchorize }}">
|
<div class="card-header rounded-0 bg-white border p-0 border-0">
|
||||||
<span>{{ .Get 0 | markdownify }}</span> <i class="ti-plus text-primary text-right"></i>
|
<a class="card-link h4 d-flex tex-dark mb-0 py-3 px-4 justify-content-between" data-toggle="collapse"
|
||||||
</a>
|
href="#{{ .Get 1 }}">
|
||||||
|
<span>{{ .Get 0 | markdownify }}</span> <i class="ti-plus text-primary text-right"></i>
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="{{ .Get 1 }}" class="collapse" data-parent="#accordion">
|
||||||
|
<div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="{{ .Get 0 | anchorize }}" class="collapse" data-parent="#accordion">
|
{{else}}
|
||||||
<div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div>
|
<div class="card mb-4 rounded-0 shadow border-0">
|
||||||
|
<div class="card-header rounded-0 bg-white border p-0 border-0">
|
||||||
|
<a class="card-link h4 d-flex tex-dark mb-0 py-3 px-4 justify-content-between" data-toggle="collapse"
|
||||||
|
href="#{{ .Get 0 | anchorize }}">
|
||||||
|
<span>{{ .Get 0 | markdownify }}</span> <i class="ti-plus text-primary text-right"></i>
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="{{ .Get 0 | anchorize }}" class="collapse" data-parent="#accordion">
|
||||||
|
<div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{{end}}
|
Loading…
Reference in a new issue