modified element page

This commit is contained in:
somrat 2019-12-15 10:41:28 +06:00
parent 94d0294ef6
commit 0427e200be
4 changed files with 11 additions and 6 deletions

View file

@ -94,19 +94,19 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Quam nihil enim maxime
#### Tab
{{% tabs %}}
{{< tabs >}}
{{% tab "first" %}}
This is first tab
{{% /tab %}}
{{%/ tab %}}
{{% tab "second" %}}
this is second tab
{{% /tab %}}
{{%/ tab %}}
{{% tab "third" %}}
this is third tab
{{% /tab %}}
{{% tabs %}}
{{%/ tab %}}
{{</ tabs >}}
<hr>

View file

@ -1 +1,2 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}><p>{{ .Inner }}</p></div>

View file

@ -1,3 +1,5 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="tab-pane" title="{{ .Get 0 }}">
{{ .Inner }}
</div>

View file

@ -1,4 +1,6 @@
<div class='code-tabs'>
{{ $_hugo_config := `{ "version": 1 }` }}
<div class="code-tabs">
<ul class="nav nav-tabs"></ul>
<div class="tab-content">{{ .Inner }}</div>
</div>