Skip to content

Commit 8ad799c

Browse files
committed
INFRA: add redirect infra and custom 404
1 parent 7ba0518 commit 8ad799c

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

404.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: splash
3+
permalink: /404.html
4+
title: Oops! I couldn't find the page that you want. Page Not Found
5+
feature_404:
6+
- title: "Oopsies"
7+
excerpt: "Oopsies"
8+
---
9+
10+
## Are you looking for any of the following:
11+
12+
* [our package guide](https://www.pyopensci.org/python-package-guide)
13+
* [our peer review guide](https://www.pyopensci.org/peer-review-guide)
14+
15+
If not, please try to use the top navigation to get to the right spot.
16+
If you think there is an error on our site - [please open an issue here](https://github.com/pyOpenSci/pyopensci.github.io/issues).
17+

_config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ reCaptcha:
7171
secret :
7272
atom_feed:
7373
path : # blank (default) uses feed.xml
74-
search : # true, false (default)
74+
search : true # true, false (default)
7575
search_full_content : # true, false (default)
7676
search_provider : # lunr (default), algolia, google
7777
algolia:
@@ -114,7 +114,7 @@ analytics:
114114
# Site Author
115115
author:
116116
name : "pyOpenSci"
117-
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
117+
avatar : "/images/logo.png" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
118118
bio : "pyOpenSci promotes open and reproducible research through peer-review of well-documented and tested scientific Python packages."
119119
location : "Global"
120120
email :
@@ -240,6 +240,7 @@ plugins:
240240
- jekyll-feed
241241
- jemoji
242242
- jekyll-include-cache
243+
- jekyll-redirect-from
243244

244245
# mimic GitHub Pages with --safe
245246
whitelist:
@@ -249,6 +250,8 @@ whitelist:
249250
- jekyll-feed
250251
- jemoji
251252
- jekyll-include-cache
253+
- jekyll-redirect-from
254+
252255

253256
collections:
254257
packages:

0 commit comments

Comments
 (0)