Welcome to mirror list, hosted at ThFree Co, Russian Federation.

notice.html « shortcodes « layouts - github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d48ac25d81f0b8a80f7870f3ec1512dbcf91c94c (plain)
1
2
3
4
5
6
7
8
9
10
<div class="shortcode-notice {{ .Get 0 }}">
  <div class="shortcode-notice-title {{ .Get 0 }}">
    {{- if len .Params | eq 2 -}}
      {{ .Get 1 }}
    {{ else }}
      {{ .Get 0 }}
    {{- end -}}
  </div>
  <div class="notice-content">{{ .Inner | markdownify }}</div>
</div>