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/bin | |
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/bin')
-rwxr-xr-x | v2/src/bin/extract | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v2/src/bin/extract b/v2/src/bin/extract index a086264..7bbcba7 100755 --- a/v2/src/bin/extract +++ b/v2/src/bin/extract @@ -81,6 +81,8 @@ eval "$(assert-arg "$TYPE" '-t TYPE')" case "$TYPE" in content) + . "${FILENAME%.md}.entry-env" + printf '%s\n' "$PREAMBLE" awk ' separator >= 2 /^---$/ { separator++ } |