Hello Hugo

Le 12/05/2021 à 00:58, Bruno P. Kinoshita a écrit :

I tried to execute the commands you sent (thanks for that!), but it didn't 
work. Are you on macos? If so, macos' find has a different, non-posix, syntax I 
believe (had a similar issue with a co-worker some years ago and learned that, 
I think BSD introduced the changes).

Yes, for the "find" command MacOS requires that we specify the base directory, which was ".". So the following command:

   find -name "static/*.html" -exec git reset '{}' \;

become:

   find . -name "static/*.html" -exec git reset '{}' \;


Anyhow, I took the longer way, and edited each file that had http-https changes 
manually by looking at the GitHub UI to see what files had changes.

I'm sorry for the extra work!


Also moved books/ to the top level of the Hugo site (won't be deployed, but 
it's available to devs as source to produce the new book I think?).

Same with templates. I've moved the files from templates/ and content/templates 
both to under /templates/. It won't be in the SIS website, but devs can be use 
it.

Let me know if it's looking better now, and if there are any changes pending.

I've squashed the commits and did a quick test with Hugo again locally, and 
found no issues.

It all sound very good for me! At a first look I don't see anything to change. I will push soon. Thanks again!

    Martin


Reply via email to