feat: separate emoji file
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user