From a6baea06697f6c76c695dc4198099deb8ba916e0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 6 Jun 2025 15:45:11 +0200 Subject: feat(treewide): Prepare for first release This commit contains many changes, as they were developed alongside `git-bug-rs` and unfortunately not separately committed. A toplevel summary would include: - Appropriate redirects, - The templating moved to `vy` (as this works with rustfmt formatting), - Search support (via `git-bug-rs`), - And better layout in the link section. --- templates/issue.html | 74 ------------------------------------------------- templates/issues.html | 77 --------------------------------------------------- templates/repos.html | 62 ----------------------------------------- 3 files changed, 213 deletions(-) delete mode 100644 templates/issue.html delete mode 100644 templates/issues.html delete mode 100644 templates/repos.html (limited to 'templates') diff --git a/templates/issue.html b/templates/issue.html deleted file mode 100644 index c7e4efc..0000000 --- a/templates/issue.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - {{ HtmlString::from(issue.title.clone()) }} | Back - - - - -
- -
-

{{issue.title|safe}}

-
{{issue.id}}
-
-
-
- Opened by - {{issue.author.name|safe}} - <{{issue.author.email|safe}}> - at {{issue.timestamp}} -
- {{issue.message|safe}} {% if !issue.comments.is_empty() %} -
    - {% for comment in issue.comments %} -
  1. - {{comment.message|safe}} -

    - {{comment.author.name|safe}} at {{comment.timestamp}} -

    -
  2. - {% endfor %} -
- {% endif %} -
- -
- - diff --git a/templates/issues.html b/templates/issues.html deleted file mode 100644 index 564827c..0000000 --- a/templates/issues.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - Back - - - - -
-
-

{{wanted_status}} Issues

-
-
- -
    - {% for issue in issues -%} -
  1. - -

    - {{issue.title|safe}} -

    - {{issue.id}} - Opened by {{ " " }} - {{issue.author.name|safe}} - {{ " " }} - <{{issue.author.email|safe}}> - {{ "at" }} - {{issue.timestamp}} - - {% if !issue.comments.is_empty() +%} - - - {{issue.comments.len()}} - comment{{issue.comments.len()|pluralize}} - {%+ endif %} -
    -
  2. - {%- endfor %} -
-
-
- - diff --git a/templates/repos.html b/templates/repos.html deleted file mode 100644 index 8aa71c4..0000000 --- a/templates/repos.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - Back - - - - -
-
-

Repositories

-
-
- -
    - {% for repo in repos -%} -
  1. - -

    - {{repo.path}} -

    - - {{repo.description}} - {{ "-" }} - {{repo.owner}} - -
    -
  2. - {%- endfor %} -
-
-
- - -- cgit 1.4.1