diff --git a/templates/default_dark/branches.html b/templates/default_dark/branches.html index 1e4c620..6860399 100644 --- a/templates/default_dark/branches.html +++ b/templates/default_dark/branches.html @@ -19,7 +19,7 @@ Author Date - {% for entry in branches -%} + {% for entry in branches | sort(attribute="ts_utc") | reverse -%} {{entry.ref_name}} {{entry.short_hash}} diff --git a/templates/default_dark/tags.html b/templates/default_dark/tags.html index b959d1a..f779183 100644 --- a/templates/default_dark/tags.html +++ b/templates/default_dark/tags.html @@ -19,7 +19,7 @@ Author Date - {% for entry in tags -%} + {% for entry in tags | sort(attribute="ts_utc") | reverse -%} {{entry.ref_name}} {{entry.short_hash}} diff --git a/templates/default_light/branches.html b/templates/default_light/branches.html index 1e4c620..6860399 100644 --- a/templates/default_light/branches.html +++ b/templates/default_light/branches.html @@ -19,7 +19,7 @@ Author Date - {% for entry in branches -%} + {% for entry in branches | sort(attribute="ts_utc") | reverse -%} {{entry.ref_name}} {{entry.short_hash}} diff --git a/templates/default_light/tags.html b/templates/default_light/tags.html index b959d1a..f779183 100644 --- a/templates/default_light/tags.html +++ b/templates/default_light/tags.html @@ -19,7 +19,7 @@ Author Date - {% for entry in tags -%} + {% for entry in tags | sort(attribute="ts_utc") | reverse -%} {{entry.ref_name}} {{entry.short_hash}}