Replies: 2 comments
-
Update. I made the href field in beginning of the header.html file blank. (See below.) That fixed it, although it doesn't seem like the ideal fix. (Perhaps I should mention that I'm not super familiar with Jekyll or programming in general.)
|
Beta Was this translation helpful? Give feedback.
-
While I'm on this topic, I'll also mention that made the 'curriculum vitae' navigation link go straight to the pdf by putting this in the header.html file:
Using the href="{{ '/assets/pdf/johnson-cv.pdf' | prepend: site.url }}" created the same issue that I had with the site title's link. It was http://localhost:4000/assets/pdf/johnson-cv.pdf even when the site was uploaded on github. So, anyway, if using "relative url" isn't the best way to do it, I'd be interested to know how it should be done. Alternatively, if this is suitable and anyone else wants to use it, just put it in your header.html file between the code for the about page and the code for other pages. |
Beta Was this translation helpful? Give feedback.
-
Hi. The "First name Last name" link (in the navigation bar when I'm not on the "about" page) is localhost:4000, not https://site.github.io. How do I fix that?
The url and baseurl are set this way in the _config.yml file:
url: https://loighic.github.io
baseurl:
thanks.
Beta Was this translation helpful? Give feedback.
All reactions