Skip to content

Commit

Permalink
Merge pull request Uberspace#1225 from Uberspace/remove-html-from-link
Browse files Browse the repository at this point in the history
[meta] remove .html from URLs
  • Loading branch information
noave authored Apr 13, 2022
2 parents a9abeb1 + a9b3500 commit bb836e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build]
publish = "build/dirhtml"
command = "make dirhtml"

[[redirects]]
from = "/en/*"
to = "/:splat"
6 changes: 3 additions & 3 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
# By setting an empty string as the second tuple element, the display text
# is the same as the target by default.
extlinks = {
"manual": ("https://manual.uberspace.de/%s.html", ""),
"manual": ("https://manual.uberspace.de/%s", ""),
"manual_anchor": ("https://manual.uberspace.de/%s", ""),
"lab": ("%s.html", ""),
"lab_anchor": ("%s", ""),
"lab": ("/%s", ""),
"lab_anchor": ("/%s", ""),
}


Expand Down

0 comments on commit bb836e9

Please sign in to comment.