diff --git a/README.md b/README.md index a4c10f1..2e21407 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,7 @@ and for formatting dates are shown below for different systems: * mdBook ```markdown -##### {{date_format "%c" (created)}} - *{{id}}* +##### {{date_format "%c" created}} - *{{id}}* {{#each tags}}| [{{this}}]({{this}}.md) {{#if @last}}|{{/if}}{{/each}} @@ -283,7 +283,7 @@ hierarchy (`hierarchy = ["tag"]`). ```markdown ### {{id}} -Created: {{date_format "%c" (created)}} Tags: {{#each tags}}#{{this}}{{#unless @last}}, {{/unless}}{{/each}} +Created: {{date_format "%c" created}} Tags: {{#each tags}}#{{this}}{{#unless @last}}, {{/unless}}{{/each}} {{#each highlight}}> {{this}}{{/each}} diff --git a/src/configuration.rs b/src/configuration.rs index d5943a4..86e93e4 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -20,7 +20,7 @@ pub static DEFAULT_NESTED_TAG: &str = "/"; pub static DEFAULT_ANNOTATION_TEMPLATE: &str = r#" ### {{id}} -Created: {{date_format "%c" (created)}} +Created: {{date_format "%c" created}} Tags: {{#each tags}}{{this}}{{#unless @last}}, {{/unless}}{{/each}} {{#each highlight}}> {{this}}{{/each}}