Format challenge #87
This commit is contained in:
parent
5d018c79cd
commit
a9993b0850
2 changed files with 122 additions and 2 deletions
117
content/challenges/87.md
Normal file
117
content/challenges/87.md
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
---
|
||||||
|
japanese:
|
||||||
|
- - - pos: expression
|
||||||
|
text: さぁさ
|
||||||
|
dictionary: さあさあ
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 手: て
|
||||||
|
- pos: particle
|
||||||
|
text: を
|
||||||
|
- pos: verb
|
||||||
|
text:
|
||||||
|
- 叩: たた
|
||||||
|
- い
|
||||||
|
dictionary: 叩く
|
||||||
|
- pos: verb
|
||||||
|
text: たら
|
||||||
|
- - - pos: verb
|
||||||
|
text:
|
||||||
|
- 舞: ま
|
||||||
|
- って
|
||||||
|
dictionary: 舞う
|
||||||
|
- pos: verb
|
||||||
|
text: マワって
|
||||||
|
dictionary: 回る
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 独: ひと
|
||||||
|
- り
|
||||||
|
- 舞: ぶ
|
||||||
|
- 台: たい
|
||||||
|
dictionary: 一人舞台
|
||||||
|
- - - pos: noun
|
||||||
|
text:
|
||||||
|
- 浮: うき
|
||||||
|
- 世: よ
|
||||||
|
dictionary: 浮き世
|
||||||
|
- pos: particle
|
||||||
|
text: も
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 鬼: おに
|
||||||
|
- pos: particle
|
||||||
|
text: の
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 笑: わら
|
||||||
|
- い
|
||||||
|
- pos: particle
|
||||||
|
text: も
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 今: いま
|
||||||
|
- pos: particle
|
||||||
|
text: は
|
||||||
|
- pos: verb
|
||||||
|
text:
|
||||||
|
- 忘: わす
|
||||||
|
- れて
|
||||||
|
dictionary: 忘れる
|
||||||
|
- - - pos: noun
|
||||||
|
text:
|
||||||
|
- 季: き
|
||||||
|
- 節: せつ
|
||||||
|
- pos: particle
|
||||||
|
text: は
|
||||||
|
- pos: verb
|
||||||
|
text:
|
||||||
|
- 巡: めぐ
|
||||||
|
- る
|
||||||
|
- dictionary: ~
|
||||||
|
text: " "
|
||||||
|
- pos: adjective
|
||||||
|
text:
|
||||||
|
- 我: わ
|
||||||
|
- が
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 世: よ
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 誰: だれ
|
||||||
|
- pos: particle
|
||||||
|
text: ぞ
|
||||||
|
- pos: noun
|
||||||
|
text:
|
||||||
|
- 常: つね
|
||||||
|
dictionary: 常-1
|
||||||
|
- pos: phrase
|
||||||
|
text: ならむ
|
||||||
|
dictionary: https://en.wikipedia.org/wiki/Iroha
|
||||||
|
- - - pos: noun
|
||||||
|
text:
|
||||||
|
- 憂: うれ
|
||||||
|
- い
|
||||||
|
dictionary: 憂い-1
|
||||||
|
- dictionary: ~
|
||||||
|
text: " "
|
||||||
|
- pos: particle
|
||||||
|
text: は
|
||||||
|
- pos: particle
|
||||||
|
text: もう
|
||||||
|
- pos: adjective
|
||||||
|
text: いー
|
||||||
|
dictionary: 良い
|
||||||
|
- pos: particle
|
||||||
|
text: かい
|
||||||
|
- dictionary: ~
|
||||||
|
text: "?"
|
||||||
|
date: 2022-11-29
|
||||||
|
---
|
||||||
|
|
||||||
|
This week's challenge is from the lyrics of マイヒメ ([YouTube](https://www.youtube.com/watch?v=TaK-Rdprtnw)):
|
||||||
|
|
||||||
|
{{< youtube TaK-Rdprtnw >}}
|
||||||
|
|
||||||
|
*This challenge was suggested by **猛火妹紅(MochaMoko)** using the `-h suggest` command.*
|
|
@ -47,13 +47,16 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .dictionary -}}
|
{{ if .dictionary }}
|
||||||
{{- $.Scratch.Set "dictionary" .dictionary -}}
|
{{- $.Scratch.Set "dictionary" .dictionary -}}
|
||||||
|
{{ end }}
|
||||||
|
{{- if not (and .dictionary (hasPrefix .dictionary "http")) -}}
|
||||||
|
{{- $.Scratch.Set "dictionary" (printf "%s" ($.Scratch.Get "dictionary") | printf "%s%s" "https://jisho.org/word/" | printf "%s") -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if and (not .dictionary) (not .pos) -}}
|
{{- if and (not .dictionary) (not .pos) -}}
|
||||||
{{- $.Scratch.Get "html" | safeHTML -}}
|
{{- $.Scratch.Get "html" | safeHTML -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<a href="https://jisho.org/word/{{- $.Scratch.Get "dictionary" -}}" class="{{- .pos -}}" title="{{- .pos -}}" target="_blank">{{- $.Scratch.Get "html" | safeHTML -}}</a>
|
<a href="{{- $.Scratch.Get "dictionary" -}}" class="{{- .pos -}}" title="{{- .pos -}}" target="_blank">{{- $.Scratch.Get "html" | safeHTML -}}</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}</p>
|
{{- end -}}</p>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue