diff options
author | EuAndreh <eu@euandre.org> | 2022-09-02 13:23:11 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-09-02 13:23:11 -0300 |
commit | 31f457fb4f3ca8826c50775101813f069d0eb7b0 (patch) | |
tree | dd048be3a346eb0b417fc50a3956d0f02494af5b /v2/src/development/genhtml.sh | |
parent | v2/src/development/genhtml.sh: Get content from *.entry-content (diff) | |
download | euandre.org-31f457fb4f3ca8826c50775101813f069d0eb7b0.tar.gz euandre.org-31f457fb4f3ca8826c50775101813f069d0eb7b0.tar.xz |
v2/src/bin/extract: Include preamble when extracting
Diffstat (limited to 'v2/src/development/genhtml.sh')
-rwxr-xr-x | v2/src/development/genhtml.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/v2/src/development/genhtml.sh b/v2/src/development/genhtml.sh index f1ccf43..4c10703 100755 --- a/v2/src/development/genhtml.sh +++ b/v2/src/development/genhtml.sh @@ -105,10 +105,6 @@ slugify_once() { fi } -add_preamble() { - printf '%s\n%s\n' "$PREAMBLE" "$(cat -)" -} - markdown_to_html() { md2html } @@ -204,7 +200,6 @@ add_headings_anchors() { emit_body() { cat "${FILENAME%.md}.entry-content" | - add_preamble | markdown_to_html | extract_plaintext_snippets | add_line_numbers | |