Skip to content

Commit 7593270

Browse files
committed
rename markdown tag
1 parent 3744f61 commit 7593270

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mkdocs_git_authors_plugin/git/page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def authors_summary(self):
9090
contrib
9191
))
9292
authors_summary = ', '.join(authors_summary)
93-
return "<span class='git-authors'>%s</span>" % authors_summary
93+
return "<span class='git-authors-summary'>%s</span>" % authors_summary
9494

9595
def _process_git_blame(self):
9696
"""

mkdocs_git_authors_plugin/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def on_files(self, files, config, **kwargs):
7474

7575
def on_page_content(self, html, page, config, files, **kwargs):
7676
"""
77-
Replace jinja tag {{ git_authors_list }} in HTML.
77+
Replace jinja tag {{ git_site_authors }} in HTML.
7878
7979
The page_content event is called after the Markdown text is
8080
rendered to HTML (but before being passed to a template) and
@@ -96,7 +96,7 @@ def on_page_content(self, html, page, config, files, **kwargs):
9696
str: HTML text of page as string
9797
"""
9898
list_pattern = re.compile(
99-
r"\{\{\s*git_authors_list\s*\}\}",
99+
r"\{\{\s*git_site_authors\s*\}\}",
100100
flags=re.IGNORECASE
101101
)
102102
if list_pattern.search(html):

0 commit comments

Comments
 (0)