Import theme
This commit is contained in:
parent
51769fa6be
commit
c59ffbfeee
127 changed files with 13611 additions and 1 deletions
9
layouts/shortcodes/loading.html
Normal file
9
layouts/shortcodes/loading.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!-- loading -->
|
||||
<div class="sk-wrapper">
|
||||
<div class="sk-fold">
|
||||
<div class="sk-fold-cube"></div>
|
||||
<div class="sk-fold-cube"></div>
|
||||
<div class="sk-fold-cube"></div>
|
||||
<div class="sk-fold-cube"></div>
|
||||
</div>
|
||||
</div>
|
||||
23
layouts/shortcodes/notice.html
Normal file
23
layouts/shortcodes/notice.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{{/* Available notice types: danger, info, update */}}
|
||||
{{- $noticeType := .Get 0 -}}
|
||||
<div
|
||||
class="notice{{ if eq $noticeType "warning" }}
|
||||
notice--warning
|
||||
{{ else if eq $noticeType "update" }}
|
||||
notice--update
|
||||
{{ end }}"
|
||||
>
|
||||
<span
|
||||
class="notice__title{{ if eq $noticeType "warning" }}
|
||||
notice__title--warning
|
||||
{{ else if eq $noticeType "update" }}
|
||||
notice__title--update
|
||||
{{ end }}"
|
||||
>
|
||||
{{- i18n $noticeType -}}
|
||||
</span>
|
||||
{{- $noteContent := (markdownify .Inner | chomp) -}}
|
||||
<div class="notice__content">
|
||||
{{ $noteContent }}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue