Skip to content

Commit 10ba13d

Browse files
committed
main.py: clean-up
1 parent b68a775 commit 10ba13d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def include_file(filename, start_line=0, end_line=None, glue=''):
4545
def cards(pages, columns=1, style="cards", force_version=False):
4646
current_page = env.variables.page
4747
absolute_url = current_page.abs_url
48-
canonical = current_page.canonical_url
4948
url_parts = re.search("^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/", absolute_url)
5049
(project, edition, language, version) = url_parts.groups()
5150
version = force_version or version
@@ -81,7 +80,6 @@ def cards(pages, columns=1, style="cards", force_version=False):
8180
)),
8281
doc_meta['short'] or doc_meta['title'],
8382
doc_meta['description'] or " "
84-
# site_url
8583
)
8684
)
8785

0 commit comments

Comments
 (0)