diff options
Diffstat (limited to '')
-rwxr-xr-x | v2/src/development/genhtml.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/v2/src/development/genhtml.sh b/v2/src/development/genhtml.sh index e4c6d1a..f1ccf43 100755 --- a/v2/src/development/genhtml.sh +++ b/v2/src/development/genhtml.sh @@ -105,13 +105,6 @@ slugify_once() { fi } -extract_content() { - awk ' - separator >= 2 - /^---$/ { separator++ } - ' -} - add_preamble() { printf '%s\n%s\n' "$PREAMBLE" "$(cat -)" } @@ -210,8 +203,7 @@ add_headings_anchors() { } emit_body() { - cat "$FILENAME" | - extract_content | + cat "${FILENAME%.md}.entry-content" | add_preamble | markdown_to_html | extract_plaintext_snippets | |