diff --git a/config.toml b/config.toml index 8046dff..9d2d744 100644 --- a/config.toml +++ b/config.toml @@ -442,8 +442,8 @@ error = "404.html" ############################################################################### [gitsy_outputs] path = "rendered/" -repo_list = "repos.html" -repo_summary = "%REPO%/summary.html" +repo_list = "index.html" +repo_summary = "%REPO%/index.html" history = "%REPO%/history%PAGE%.html" commit = "%REPO%/commit/%ID%.html" branches = "%REPO%/branches%PAGE%.html" diff --git a/src/settings.rs b/src/settings.rs index de50a6d..648efec 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -198,8 +198,8 @@ macro_rules! output_path_fn { #[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"); diff --git a/templates/base.html b/templates/base.html index f729531..2644b21 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,7 +40,7 @@ {% if repo_url -%}
| summary | +summary | history | branches | tags | diff --git a/templates/dir.html b/templates/dir.html index 94f51f3..2d69fbb 100644 --- a/templates/dir.html +++ b/templates/dir.html @@ -3,7 +3,7 @@ {% block tab_files_selected -%}selected{% endblock -%} {% block subheader -%} - + {% endblock -%} {% block content %} diff --git a/templates/file.html b/templates/file.html index 2d4e6e5..0ac4511 100644 --- a/templates/file.html +++ b/templates/file.html @@ -7,7 +7,7 @@ {% block tab_files_selected -%}selected{% endblock -%} {% block subheader -%} - + {% endblock -%} {% block content %} diff --git a/templates/repos.html b/templates/repos.html index e70105b..a1cff45 100644 --- a/templates/repos.html +++ b/templates/repos.html @@ -16,7 +16,7 @@
| {{ repo.name }} | +{{ repo.name }} | {{repo.metadata.description}} | {% if repo.metadata.website -%}link{% endif -%} | {{ts_to_date(ts=repo.history[0].ts_utc, tz=repo.history[0].ts_offset)}} | diff --git a/templates/subheader.html b/templates/subheader.html index b7d0936..9b7f4b5 100644 --- a/templates/subheader.html +++ b/templates/subheader.html @@ -1 +1 @@ - +