Skip to content

Commit

Permalink
improve template
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubblbu committed Mar 27, 2020
1 parent fd1c110 commit 2a1b91d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ author: {{ author }}
| Creators | {{ creator }} |
| Citekey | {{ citekey }} |
| Type | {{ type }} |
| DOI | [{{ doi }}](https://doi.org/{{ doi }}) |
| DOI | {% if doi %} [{{ doi }}](https://doi.org/{{ doi }}) {% else %} {% endif %} |
| Date | {{ date }} |

*Keywords*:
Expand Down
5 changes: 5 additions & 0 deletions zotnote/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ def config():
Configuration().create_config()


@click.command(help="Update templates in local app data storage")
def update_templates():
Configuration.copy_templates()


@click.command(help="Create a small, basic report based on the notes")
def report():
click.echo("Not implemented yet.")
Expand Down

0 comments on commit 2a1b91d

Please sign in to comment.