diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | lib/template.source.sh | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -127,7 +127,7 @@ Welcome to this capsule! ... results into the following `index.gmi` after running `./gemtexter --generate` (or `./gemtexter --template`, which instructs to do only template processing and nothing else): ``` -# Hallo world +# Hello world > This site was generated at 2023-03-15T19:07:59+02:00 by `Gemtexter` diff --git a/lib/template.source.sh b/lib/template.source.sh index 197caa5..c1487ba 100644 --- a/lib/template.source.sh +++ b/lib/template.source.sh @@ -48,7 +48,7 @@ $line" '<< '*) template::_line "$line" ;; - '<<<') + '<<<'*) is_block=yes ;; *) @@ -92,7 +92,7 @@ Just so that you know' local -r template3='<<< foo=baz >>> -<<< +<<<bash echo $foo >>>' assert::equals "$(template::_generate <<< "$template3")" baz |
