Skip to content

Commit 76a8fdd

Browse files
committed
fix failing htmlproofer
- replace old luce scholars link - corrects failure for link rel=canonical on new pages
1 parent d09116d commit 76a8fdd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
- name: Check html
4343
uses: chabad360/htmlproofer@master
4444
with:
45-
directory: "./_site"
4645
# The directory to scan
47-
arguments: --no-enforce-https --allow_hash_href --ignore-missing-alt --assume_extension - ./_site --ignore-urls '/http:\/\/www.hluce.org/' --ignore-files '/.+\/assets\/.+/'
48-
# The arguments to pass to HTMLProofer
46+
directory: "./_site"
47+
# The arguments to pass to HTMLProofer. swap-urls is because of this issue: https://github.com/gjtorikian/html-proofer/issues/170 and basically turns all absolute links from our site that point to our site into relative
48+
arguments: --no-enforce-https --allow_hash_href --ignore-missing-alt --assume_extension - ./_site --ignore-files '/.+\/assets\/.+/' --swap-urls "https?\:\/\/(localhost\:4000|neurorse\.flatironinstitute\.org):"
4949
- name: Upload artifact
5050
uses: actions/upload-pages-artifact@v2
5151

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ source: site
2222
title: NeuroRSE
2323
description: >- # this means to ignore newlines until "baseurl:"
2424
baseurl: ""
25-
url: "https://neurorse.flatironinstitute.org/" # the base hostname & protocol for your site, e.g. http://example.com
25+
url: "https://neurorse.flatironinstitute.org" # the base hostname & protocol for your site, e.g. http://example.com
2626

2727
# Build settings
2828
plugins:

site/_people/broderick.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ external_url: https://wfbroderick.com
55
picture: /assets/billy.jpg
66
job: Associate Research Scientist, CCN
77
---
8-
Billy Broderick received his Ph.D. from NYU's Center for Neural Science, where he was advised by Eero Simoncelli and Jon Winawer. During his Ph.D., he studied how vision changes across the visual field using fMRI, psychophysics, and computational models. Before that, he worked as a research assistant at Duke University, spent a year at South China Normal University in Guangzhou, China as a [Luce Scholar](http://www.hluce.org/lsprogram.aspx), and got his B.A. in neuroscience and mathematics at Oberlin College
8+
Billy Broderick received his Ph.D. from NYU's Center for Neural Science, where he was advised by Eero Simoncelli and Jon Winawer. During his Ph.D., he studied how vision changes across the visual field using fMRI, psychophysics, and computational models. Before that, he worked as a research assistant at Duke University, spent a year at South China Normal University in Guangzhou, China as a [Luce Scholar](https://lucescholars.org/), and got his B.A. in neuroscience and mathematics at Oberlin College

0 commit comments

Comments
 (0)