diff options
Diffstat (limited to 'templates/overview.md')
| -rw-r--r-- | templates/overview.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/overview.md b/templates/overview.md new file mode 100644 index 0000000..5b93863 --- /dev/null +++ b/templates/overview.md @@ -0,0 +1,19 @@ +{% include '_head.md' %} + +{% if branches %} +| Branch | Commit | Date | +|--------|--------|------| +{%- for branch in branches %} +| {{ branch.name }} | [{{ branch.commit.summary }}](/{{ content_subdir }}/{{ branch.commit.hexsha }}) | {{ branch.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +{% else %} +No branches found. +{% endif %} + +{% if tags %} +| Tag | Commit | Date | +|-----|--------|------| +{%- for tag in tags %} +| {{ tag.name }} | [{{ tag.commit.summary }}](/{{ content_subdir }}/{{ tag.commit.hexsha }}) | {{ tag.commit.committed_datetime.strftime('%Y-%m-%d %H:%M:%S') }} |{% endfor %} +{% else %} +No tags found. +{% endif %} |