Browse Source

✏️ Fix typo in mkdocs_hooks.py comment: matadata -> metadata

pull/14457/head
hi 8 months ago
parent
commit
48620ae30f
  1. 2
      scripts/mkdocs_hooks.py

2
scripts/mkdocs_hooks.py

@ -132,7 +132,7 @@ def on_pre_page(page: Page, *, config: MkDocsConfig, files: Files) -> Page:
def on_page_markdown(
markdown: str, *, page: Page, config: MkDocsConfig, files: Files
) -> str:
# Set matadata["social"]["cards_layout_options"]["title"] to clean title (without
# Set metadata["social"]["cards_layout_options"]["title"] to clean title (without
# permalink)
title = page.title
clean_title = title.split("{ #")[0]

Loading…
Cancel
Save