Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andis-sprinkis authored Mar 5, 2024
1 parent 4399777 commit c035a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ or run the `build` script.

The tparts script is for building a set of plain text files – documents, in their target directories, from reusable, hierarchically-inheritant parts – the template value files, prefixed by `_inline_`, `_block_`, `_pre_`.

In the example project it means creating the HTML documents, supplementary files like `manifest.webmanifest`, `robots.txt`, `sitemap.xml` from the globally defined and the document specific values in the available template value files. And copying the static assets to their document directories.
In the example project it means creating the HTML documents, the supplementary files, like `manifest.webmanifest`, `robots.txt`, `sitemap.xml`, from the globally defined and the document specific values in the available template value files. And also copying the static asset files, like style sheets and images, to their document directories.

In value files, the template value placeholders to be subsituted are the other value file names wrapped in HTML comment syntax, e.g. `<-- _inline_lastmod -->` is to be subsituted in place with contents of a file `_inline_lastmod`. The substitution process is recursive, exhausiting the names of known value files.

Expand Down

0 comments on commit c035a7d

Please sign in to comment.