2020-12-19 19:43:21 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-02-11 06:44:09 +00:00
|
|
|
# shellcheck disable=SC1091
|
|
|
|
# shellcheck disable=SC2034
|
|
|
|
|
2020-12-19 19:43:21 +00:00
|
|
|
# TildeLog, a not-so-simple blog/gemlog/phlog system made for tilde.team
|
2021-08-24 16:39:22 +00:00
|
|
|
# By Josemar Lohn <j@lohn.in> (https://lohn.in)
|
2021-02-11 06:44:09 +00:00
|
|
|
#
|
2020-12-19 19:43:21 +00:00
|
|
|
# Heavily based on BashBlog, by Carlos Fenollosa <carlos.fenollosa@gmail.com>
|
|
|
|
|
2021-08-24 16:39:22 +00:00
|
|
|
md2html_awk=$(<deps/bin/md2html)
|
|
|
|
md2gemini_awk=$(<deps/bin/md2gemini)
|
|
|
|
md2gopher_awk=$(<deps/bin/md2gopher)
|
2020-12-19 19:43:21 +00:00
|
|
|
|
2021-02-11 06:44:09 +00:00
|
|
|
### BEGIN SOURCEFILES -> DO NOT REMOVE THIS LINE
|
2020-12-19 19:43:21 +00:00
|
|
|
source ./lib/all_posts.sh
|
|
|
|
source ./lib/all_tags.sh
|
|
|
|
source ./lib/create_css.sh
|
|
|
|
source ./lib/create_html_page.sh
|
|
|
|
source ./lib/create_includes.sh
|
|
|
|
source ./lib/date_version_detect.sh
|
|
|
|
source ./lib/delete_includes.sh
|
|
|
|
source ./lib/do_main.sh
|
|
|
|
source ./lib/edit.sh
|
|
|
|
source ./lib/get_html_file_content.sh
|
|
|
|
source ./lib/get_post_author.sh
|
|
|
|
source ./lib/get_post_title.sh
|
|
|
|
source ./lib/global_variables.sh
|
|
|
|
source ./lib/is_boilerplate_file.sh
|
|
|
|
source ./lib/list_posts.sh
|
|
|
|
source ./lib/list_tags.sh
|
|
|
|
source ./lib/make_gemini.sh
|
|
|
|
source ./lib/make_gophermap.sh
|
|
|
|
source ./lib/make_rss.sh
|
2021-02-11 06:44:09 +00:00
|
|
|
source ./lib/make_html.sh
|
2020-12-19 19:43:21 +00:00
|
|
|
source ./lib/parse_file.sh
|
|
|
|
source ./lib/posts_with_tags.sh
|
|
|
|
source ./lib/rebuild_all_entries.sh
|
|
|
|
source ./lib/rebuild_index.sh
|
|
|
|
source ./lib/rebuild_tags.sh
|
|
|
|
source ./lib/reset.sh
|
|
|
|
source ./lib/tags_in_post.sh
|
|
|
|
source ./lib/twitter_card.sh
|
|
|
|
source ./lib/usage.sh
|
|
|
|
source ./lib/write_entry.sh
|
|
|
|
|
|
|
|
### END SOURCEFILES -> DO NOT REMOVE THIS LINE
|
|
|
|
|
|
|
|
#
|
|
|
|
# MAIN
|
|
|
|
# Do not change anything here. If you want to modify the code, edit do_main()
|
|
|
|
#
|
|
|
|
do_main "$@"
|
|
|
|
|
2021-02-11 06:44:09 +00:00
|
|
|
# vim: set shiftwidth=4 tabstop=4 expandtab:
|