feat: separate emoji file

This commit is contained in:
2026-05-05 20:10:01 +02:00
parent 206d9a650d
commit 3105c83290
11 changed files with 951 additions and 868 deletions

View File

@@ -38,11 +38,9 @@ first_heading_from_markdown() {
grep -m 1 '^# ' "$1" | sed 's/^# *//; s/ *$//'
}
markdown_title_from_file() {
markdown_title_from_loaded_file() {
_title_file="$1"
_title_default="$2"
parse_frontmatter "$_title_file"
markdown_title="$fm_title"
if [ -z "$markdown_title" ]; then
@@ -62,6 +60,13 @@ markdown_title_from_file() {
fi
}
markdown_title_from_file() {
_title_file="$1"
_title_default="$2"
parse_frontmatter "$_title_file"
markdown_title_from_loaded_file "$_title_file" "$_title_default"
}
set_post_datetime() {
_raw_date="$1"
_fallback_name="$2"