diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-08 09:33:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-08 09:37:21 +0300 |
commit | f30f28037928be75405a84addd9a9bd3242ee15e (patch) | |
tree | 9defe8213c416e8f48ba96ad7cf62acff3ffec5f /src/template.rs | |
parent | fc917bf829c8a7cbf950754abc7085ffb00dbf17 (diff) | |
download | jt2-f30f28037928be75405a84addd9a9bd3242ee15e.tar.gz |
feat: add a timestamp to the default template
Diffstat (limited to 'src/template.rs')
-rw-r--r-- | src/template.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.rs b/src/template.rs index 1ad8a54..89c1a15 100644 --- a/src/template.rs +++ b/src/template.rs @@ -3,6 +3,7 @@ use std::path::Path; use tera::{Context, Tera}; const NEW_ENTRY: &str = r#"[[!meta title="{{ title }}"]] +[[!meta date="{{ date }}"]] This is the default template. "#; |