Skip to content

Commit

Permalink
Fix base URL and update links (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroMicagni authored Jan 16, 2025
1 parent 26595fe commit 3da24a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .redirect-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<html lang="en-GB">
<meta charset="utf-8">
<title>Redirecting&hellip;</title>
<link rel="canonical" href="DESTINATION">
<script>location="DESTINATION"</script>
<meta http-equiv="refresh" content="0; url=DESTINATION">
<link rel="canonical" href="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/">
<script>location="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/"</script>
<meta http-equiv="refresh" content="0; url={{ config.html_theme_options.baseurl }}/{{ env.docname }}/">
<meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1>
<a href="DESTINATION">Click here if you are not redirected.</a>
<a href="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/">Click here if you are not redirected.</a>
</html>
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository:
only_build_toc_files: true
exclude_patterns: [.github/*]
html:
baseurl: http://localhost:8000
baseurl: https://book.premai.io/state-of-open-source-ai
favicon: assets/favicon.ico
use_edit_page_button: true
use_repository_button: true
Expand Down

0 comments on commit 3da24a5

Please sign in to comment.