Implement firebase
Some checks are pending
Build and Publish Docker Image / build (push) Waiting to run
Some checks are pending
Build and Publish Docker Image / build (push) Waiting to run
This commit is contained in:
23
layouts/partials/meta/mood.html
Normal file
23
layouts/partials/meta/mood.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{- $mood := .Params.mood | default "" -}}
|
||||
{{- if $mood -}}
|
||||
{{- $moods := dict
|
||||
"happy" "😊"
|
||||
"sad" "😢"
|
||||
"neutral" "😐"
|
||||
"excited" "🤩"
|
||||
"thoughtful" "🤔"
|
||||
"angry" "😠"
|
||||
"love" "😍"
|
||||
"surprised" "😮"
|
||||
"confused" "😕"
|
||||
"tired" "😴"
|
||||
"laughing" "😂"
|
||||
"cool" "😎"
|
||||
"crazy" "🤪"
|
||||
"silly" "😜"
|
||||
"worried" "😰"
|
||||
"party" "🥳"
|
||||
-}}
|
||||
{{- $emoji := index $moods $mood | default "😐" -}}
|
||||
<span class="inline-flex items-center gap-1 text-2xl" role="img" aria-label="{{ $mood }} mood">{{ $emoji }}</span>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user