Skip to content

Commit e975a4d

Browse files
authored
Improve authors and share spacing (#131)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
1 parent 4898399 commit e975a4d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

plugin/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ def on_post_page(self, output, page, config):
347347
created_ago, created_date = calculate_time_difference(git_info["creation_date"])
348348
updated_ago, updated_date = calculate_time_difference(git_info["last_modified_date"])
349349

350-
div = f"""<div class="git-info">
350+
div = f"""<br><br>
351+
<div class="git-info">
351352
<div class="dates-container">
352353
<span class="date-item" title="This page was first created on {created_date}">
353354
<span class="hover-item">📅</span> Created {created_ago} ago
@@ -390,6 +391,7 @@ def on_post_page(self, output, page, config):
390391
<i class="fa-brands fa-linkedin-in"></i> Share
391392
</button>
392393
</div>
394+
<br>
393395
"""
394396
share_buttons = BeautifulSoup(share_buttons, "html.parser")
395397
self.insert_content(soup, share_buttons)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ build-backend = "setuptools.build_meta"
2424

2525
[project]
2626
name = "mkdocs-ultralytics-plugin"
27-
version = "0.1.17"
27+
version = "0.1.18"
2828
description = "An MkDocs plugin that provides Ultralytics Docs customizations at https://docs.ultralytics.com."
2929
readme = "README.md"
3030
requires-python = ">=3.8"

0 commit comments

Comments
 (0)