gopp/testdata/cat.jpg.tpp

10 lines
220 B
C++
Raw Permalink Normal View History

{{
// The example shows the way to write
// binary files
// so it makes possible to make templates
// for them or for dynamic content.
os := import("os")
bts := os.read_file("tests/cat.webp")
pp.write_raw(bts)
}}