Open plzmsu opened 3 years ago
@billspat I just made the first minor edit for AlanRobock in /authors/AlanRobock/index.md directly on the GitHub website. I committed it but it hasn't updated online in 10 mins. Any ideas? Do I have to do this all via GitHub Desktop or RStudio or something? Update: I also made a minor change via GitHub desktop and committed and pushed. Still nothing is changing. sorry if i'm totally missing a step here.
You are committing to Github correctly - you can edit and commit however you like. However when I look, Netlify says both the builds failed, probably because of a syntax problem. Per the readme I edit on my laptop, then run the hugo serve
command in the folder to build the site and check for errors on https://localhost:1313 (or whichever number hugo
says it's using). The error in this case is
Error building site: "srm-ecology-website/content/authors/AlanRobock/_index.md:18:1": failed to unmarshal YAML: yaml: line 16: could not find expected ':'
which I can see if run hugo serve
on my laptop or in the Netlify build logs. I think it's better to edit on your computer, check for errors, edit some more, then commit, rather edit on github, commit, then check netlify for errors but if you want to also check on Netlify, create an account (I did via github) and I can add you to the "team" there so you can see if it built ok.
the fix for this is to put the organization "name" field all on one line, separated by a comma. For this fieldd in YAML I can't figure out how to add a line break (if it's even possible).
organizations:
- name: Rutgers University
url: "http://envsci.rutgers.edu/index.php"
- name: Department of Environmental Sciences, Rutgers University, Rutgers Impact Studies of Climate Intervention (RISCI) Lab
url: "https://sites.rutgers.edu/risci-lab/"
the good news is, if there is an error, it doesn't take the site down, it just doesn't update it.
Thanks @billspat ! I got it fixed. I've been able to make all above changes except:
On https://www.climateinterventionbiology.org/author/alan-robock/ , make my name a link to my home page, http://people.envsci.rutgers.edu/robock
Related to this, there's nowhere to add people's lab website links. Maybe I should just add the title of the Lab or something as another affiliation and link that? Alan is right that people will want to click on your name and get to you.
I looked into this. It would take time to get this to work as the people names are the "title" of the page which is never a link. I don't have time for a while to hack this template.
One quick option is to have an additional entry ( in the font matter) before institution, like
or say "Personal website" or even the website address for the "name. " The link would then display just below their name. Not as good a a link on the name, but for this may be acceptable.
On May 6, 2021, at 10:29 PM, Phoebe Zarnetske @.***> wrote:
Related to this, there's nowhere to add people's lab website links. Maybe I should just add the title of the Lab or something as another affiliation and link that? Alan is right that people will want to click on your name and get to you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Department of Environmental Sciences, Rutgers University Rutgers Impact Studies of Climate Intervention (RISCI) lab
On https://www.climateinterventionbiology.org/author/alan-robock/ , make my name a link to my home page, http://people.envsci.rutgers.edu/robock
On https://www.climateinterventionbiology.org/author/alan-robock/ , change Rutgers University to Department of Environmental Sciences, Rutgers University, and make the link to http://envsci.rutgers.edu/index.php
On https://www.climateinterventionbiology.org/author/alan-robock/ , under Interests, capitalize Nuclear and capitalize Volcanic
Thanks.
Alan