Skip to content

Commit 3da24a5

Browse files
Fix base URL and update links (#155)
1 parent 26595fe commit 3da24a5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.redirect-template.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<html lang="en-GB">
33
<meta charset="utf-8">
44
<title>Redirecting&hellip;</title>
5-
<link rel="canonical" href="DESTINATION">
6-
<script>location="DESTINATION"</script>
7-
<meta http-equiv="refresh" content="0; url=DESTINATION">
5+
<link rel="canonical" href="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/">
6+
<script>location="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/"</script>
7+
<meta http-equiv="refresh" content="0; url={{ config.html_theme_options.baseurl }}/{{ env.docname }}/">
88
<meta name="robots" content="noindex">
99
<h1>Redirecting&hellip;</h1>
10-
<a href="DESTINATION">Click here if you are not redirected.</a>
10+
<a href="{{ config.html_theme_options.baseurl }}/{{ env.docname }}/">Click here if you are not redirected.</a>
1111
</html>

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository:
99
only_build_toc_files: true
1010
exclude_patterns: [.github/*]
1111
html:
12-
baseurl: http://localhost:8000
12+
baseurl: https://book.premai.io/state-of-open-source-ai
1313
favicon: assets/favicon.ico
1414
use_edit_page_button: true
1515
use_repository_button: true

0 commit comments

Comments
 (0)