Openscapes / series

Lesson series for the Openscapes Champions program
http://openscapes.github.io/series
Creative Commons Attribution 4.0 International
10 stars 14 forks source link

Fix aliases for mindset, better-science #26

Closed jules32 closed 1 year ago

jules32 commented 1 year ago

Today @stefaniebutland and I noticed the aliases for mindset & better-science pages aren't working. This means the links are broken from the table on https://openscapes.github.io/series/#cohort-calls.

We'll figure out what we need to do here, so we can continue on with team-culture and data-strategies and others.

See #19 #21

jules32 commented 1 year ago

Fixed mindset and better-science aliases: https://github.com/Openscapes/series/commit/72b3d38f96e29a13352935844b350262fd6c4f6b and https://github.com/Openscapes/series/commit/63552ba65d0f6639b90fa8cf06af81aff1b42e42

From Charles Teague (thank you Charles!):

now that you’ve moved the qmd into a folder, you actually want to write:

aliases: 
  - ../mindset.html

which will make the mindset.html file one level up from the core-lessons folder.

So you’ll end up with:

root/
    mindset.html (points to core-lessons/mindset.html)
    core-lessons/
          mindset.html (with the actual content)

Julie confirms seeing _site/mindset.html which is a small file with only the redirect to core-lessons/mindset.html. The _site/ folder isn't pushed to github but rebuilt via GitHub Actions ( it's included in the .gitignore)