fixed faq shortcode issue

This commit is contained in:
somratpro 2020-09-24 09:20:37 +06:00
parent c8a06545f1
commit 2de0d11a7e
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ title: "Frequently Asked Questions"
draft: false draft: false
--- ---
{{< faq "Will updates also be free?" >}} {{< faq "Will updates / also be free?" >}}
Lorem, [link](https://examplesite.com) _ipsum_ dolor sit amet consectetur adipisicing elit. Cumque praesentium nisi officiis maiores quia sapiente totam omnis vel sequi corporis ipsa incidunt reprehenderit recusandae maxime perspiciatis iste placeat architecto, mollitia delectus ut ab quibusdam. Magnam cumque numquam tempore reprehenderit illo, unde cum omnis vel sed temporibus, repudiandae impedit nam ad enim porro, qui labore fugiat quod suscipit fuga necessitatibus. Perferendis, ipsum? Cum, reprehenderit. Sapiente atque quam vitae, magnam dolore consequatur temporibus harum odit ab id quo qui aspernatur aliquid officiis sit error asperiores eveniet quibusdam, accusantium enim recusandae quas ea est! Quaerat omnis, placeat vitae laboriosam doloremque recusandae mollitia minima! Lorem, [link](https://examplesite.com) _ipsum_ dolor sit amet consectetur adipisicing elit. Cumque praesentium nisi officiis maiores quia sapiente totam omnis vel sequi corporis ipsa incidunt reprehenderit recusandae maxime perspiciatis iste placeat architecto, mollitia delectus ut ab quibusdam. Magnam cumque numquam tempore reprehenderit illo, unde cum omnis vel sed temporibus, repudiandae impedit nam ad enim porro, qui labore fugiat quod suscipit fuga necessitatibus. Perferendis, ipsum? Cum, reprehenderit. Sapiente atque quam vitae, magnam dolore consequatur temporibus harum odit ab id quo qui aspernatur aliquid officiis sit error asperiores eveniet quibusdam, accusantium enim recusandae quas ea est! Quaerat omnis, placeat vitae laboriosam doloremque recusandae mollitia minima!
{{</ faq >}} {{</ faq >}}

View file

@ -2,11 +2,11 @@
<div class="card mb-4 rounded-0 shadow border-0"> <div class="card mb-4 rounded-0 shadow border-0">
<div class="card-header rounded-0 bg-white border p-0 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 | urlize }}"> <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> <span>{{ .Get 0 | markdownify }}</span> <i class="ti-plus text-primary text-right"></i>
</a> </a>
</div> </div>
<div id="{{ .Get 0 | urlize }}" class="collapse" data-parent="#accordion"> <div id="{{ .Get 0 | anchorize }}" class="collapse" data-parent="#accordion">
<div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div> <div class="card-body font-secondary text-color">{{ .Inner | markdownify }}</div>
</div> </div>
</div> </div>