diff --git a/.githooks/social-cards-zola b/.githooks/social-cards-zola index bd92625..35cfb45 100755 --- a/.githooks/social-cards-zola +++ b/.githooks/social-cards-zola @@ -176,7 +176,7 @@ function update_front_matter { mv "$temp_awk" "$md_file_path" } -function main() { +function social-cards-zola() { while [[ "$#" -gt 0 ]]; do case "$1" in -h|--help) @@ -224,5 +224,3 @@ function main() { echo "$image_filename" fi } - -main "$@" \ No newline at end of file