Skip to content

Commit

Permalink
fix: robots disallow gtm proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Sep 25, 2024
1 parent 3e9f461 commit 5efd849
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion mkdocs_nype/plugins/nype_tweaks/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,14 @@ def on_post_build(self, *, config: MkDocsConfig) -> None:
"\n".join(
[
"User-agent: *",
"Allow: /",
"Disallow: /ggl-db/",
"Disallow: /ggl-ggl/",
"Disallow: /ggl-tdb/",
"Disallow: /ggl-syn/",
"Disallow: /ggl-tm/",
"Disallow: /ggl-as2-str/",
"Disallow: /ggl-a2-/",
"Disallow: /ggl-a-/",
"",
f"Sitemap: {sitemap_xml}",
]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "hatchling.build"

[project]
name = "mkdocs-nype"
version = "0.16.3"
version = "0.16.4"
description = "MkDocs theme for Nype MkDocs projects, extends the Material for MkDocs theme"
authors = [
{ name = "Kamil Krzyśków", email = "[email protected]" }
Expand Down

0 comments on commit 5efd849

Please sign in to comment.