Skip to content

Commit

Permalink
Small formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anteru committed Dec 17, 2023
1 parent 0901876 commit c892aa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion liara/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class Liara:
__redirections: List[Dict[str, str]]
__log = logging.getLogger('liara')
__cache: Cache
__document_post_processors: List[Callable]
# When running using 'serve', this will be set to the local URL
__base_url_override: Optional[str] = None
__registered_plugins: Dict[object, object] = dict()
Expand Down
1 change: 1 addition & 0 deletions liara/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def generate(self):
url.append(E.lastmod(node.metadata['date'].isoformat()))
else:
url.append(E.lastmod(now.isoformat()))

if node.kind == NodeKind.Index:
# This is machine generated, so reduce priority
url.append(E.priority('0'))
Expand Down

0 comments on commit c892aa0

Please sign in to comment.