Skip to content

Commit dca190e

Browse files
committed
change header links to the new file structure without pages/...
1 parent e1aa571 commit dca190e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pelicanconf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737

3838
# Links in header
3939
HEADER_LINKS = (
40-
("About", "/pages/about.html"),
41-
("Publications", "/pages/publications.html"),
42-
("Previous Projects", "/pages/previous-projects.html"),
43-
("Blog", "/blog/index.html"),
44-
("Book List", "/pages/books.html"),
40+
("About", "/about.html"),
41+
("Publications", "/publications.html"),
42+
("Previous Projects", "/previous-projects.html"),
43+
("Blog", "/index.html"),
44+
("Book List", "/books.html"),
4545
)
4646

4747
# Blogroll

replace_index_with_redirect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<!DOCTYPE html>
99
<html>
1010
<head>
11-
<meta http-equiv="refresh" content="0; url=/pages/publications.html">
11+
<meta http-equiv="refresh" content="0; url=/publications.html">
1212
<title>Redirecting...</title>
1313
</head>
1414
<body>
15-
<p>If you are not redirected, <a href="/pages/publications.html">click here</a>.</p>
15+
<p>If you are not redirected, <a href="/publications.html">click here</a>.</p>
1616
</body>
1717
</html>
1818
"""

0 commit comments

Comments
 (0)