Skip to content

Commit

Permalink
Revert "Better way to determine releases to list."
Browse files Browse the repository at this point in the history
This reverts commit 6e949da.
  • Loading branch information
dalito committed Sep 2, 2023
1 parent 6e949da commit d6f44ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

New features:

- Add creation of an index-page for the root of gh-pages. #160, #165, #169
- Add creation of an index-page for the root of gh-pages. #160, #165

Changes:

Expand Down
2 changes: 1 addition & 1 deletion src/voc4cat/gh_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _make_versions(self):
return self._load_template("vocabularies.html").render(
tags=sorted(self.tags, reverse=True),
vocabularies=self.vocab_data,
has_releases=bool(self.vocab_data),
has_releases=bool(self.tags),
)

def _make_document(self):
Expand Down

0 comments on commit d6f44ec

Please sign in to comment.