File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ {{- $type := .Get 0 -}}
2+ {{- $title := .Get 1 | default $type -}}
3+ {{- $inner := .Inner | .Page.RenderString | chomp -}}
4+ {{- $icon := dict "note" "fa-sticky-note" "tip" "fa-lightbulb-o" "example" "fa-file-text" "question" "fa-question" "info" "fa-exclamation-circle" "warning" "fa-exclamation-triangle" "error" "fa-times-circle" -}}
5+ < div class ="notice {{ $type }} ">
6+ < div class ="notice-title ">
7+ < i class ="fa {{ index $icon $type }} " aria-hidden ="true "> </ i > {{ i18n $title | default $title | humanize }}
8+ </ div >
9+ < div class ="notice-content ">
10+ {{- $inner -}}
11+ </ div >
12+ </ div >
Original file line number Diff line number Diff line change 1+ - id : prev_page
2+ translation : " Edellinen"
3+
4+ - id : next_page
5+ translation : " Seuraava"
6+
7+ - id : read_time
8+ translation :
9+ one : " 1 min"
10+ other : " {{ .Count }} minuuttia"
11+
12+ - id : words
13+ translation :
14+ one : " sana"
15+ other : " {{ .Count }} sanaa"
16+
17+ - id : toc
18+ translation : " Sisällysluettelo"
19+
20+ - id : translations
21+ translation : " Käännökset"
22+
23+ - id : home
24+ translation : " Etusivu"
25+
26+ - id : edit_post
27+ translation : " Muokkaa"
28+
29+ - id : code_copy
30+ translation : " Kopioi"
31+
32+ - id : code_copied
33+ translation : " Kopioitu!"
You can’t perform that action at this time.
0 commit comments