#[rustfmt::skip]
impl GitsySettingsOutputs {
- output_path_fn!(repo_list, GitObject, full_hash, false, "repos.html");
- output_path_fn!(repo_summary, GitObject, full_hash, false, "%REPO%/summary.html");
+ output_path_fn!(repo_list, GitObject, full_hash, false, "index.html");
+ output_path_fn!(repo_summary, GitObject, full_hash, false, "%REPO%/index.html");
output_path_fn!(history, GitObject, full_hash, false, "%REPO%/history%PAGE%.html");
output_path_fn!(commit, GitObject, full_hash, false, "%REPO%/commit/%ID%.html");
output_path_fn!(branches, GitObject, full_hash, false, "%REPO%/branches%PAGE%.html");
{% if repo_url -%}
<table class='tabs'>
<tr>
- <td class="tab {% block tab_summary_selected -%}{% endblock -%} "><a href='{{ repo_url | safe }}/summary.html' class="tab">summary</a></td>
+ <td class="tab {% block tab_summary_selected -%}{% endblock -%} "><a href='{{ repo_url | safe }}/index.html' class="tab">summary</a></td>
<td class="tab {% block tab_history_selected -%}{% endblock -%} "><a href='{{ repo_url | safe }}/history.html' class="tab">history</a></td>
<td class="tab {% block tab_branches_selected -%}{% endblock -%}"><a href='{{ repo_url | safe }}/branches.html' class="tab">branches</a></td>
<td class="tab {% block tab_tags_selected -%}{% endblock -%} "><a href='{{ repo_url | safe }}/tags.html' class="tab">tags</a></td>
{% block tab_files_selected -%}selected{% endblock -%}
{% block subheader -%}
-<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/repos.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="site-title">{{ name }}</span>{% endif -%} >> <span class="repo-name">{{ dir.path }}</span></div>
+<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/index.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="site-title">{{ name }}</span>{% endif -%} >> <span class="repo-name">{{ dir.path }}</span></div>
{% endblock -%}
{% block content %}
{% block tab_files_selected -%}selected{% endblock -%}
{% block subheader -%}
-<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/repos.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="site-title">{{ name }}</span>{% endif -%} >> <span class="repo-name">{{ file.path }}</span></div>
+<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/index.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="site-title">{{ name }}</span>{% endif -%} >> <span class="repo-name">{{ file.path }}</span></div>
{% endblock -%}
{% block content %}
</tr>
{% for repo in repos | sort(attribute="last_ts_utc") | reverse -%}
<tr>
- <td class="repo"><a href="{{repo.name}}/summary.html">{{ repo.name }}</a></td>
+ <td class="repo"><a href="{{repo.name}}/index.html">{{ repo.name }}</a></td>
<td class="description nosmall">{{repo.metadata.description}}</td>
<td class="website">{% if repo.metadata.website -%}<a href="{{repo.metadata.website}}">link</a>{% endif -%}</td>
<td class="date">{{ts_to_date(ts=repo.history[0].ts_utc, tz=repo.history[0].ts_offset)}}</td>
-<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/repos.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="repo-name">{{ name }}</span>{% endif -%}</div>
+<div class="breadcrumbs"><span class="site-title"><a href="{{ root_url | safe }}/index.html">{{site_name | default(value="Itsy-Gitsy") }}</a></span>{% if name -%} >> <span class="repo-name">{{ name }}</span>{% endif -%}</div>