Closed AudioLotus closed 9 months ago
Thanks, will take a look to it this week
Can i get one of the original file, so I can try to check / differenciate with the plugin and the blog.
Hm, it seems that your website not initialize search correctly :
I don't know if this is the cause of the bug
Thanks for the update on this!
Here is one of the main pages with links to internal pages and anchor links as well (those didn't seem to be working at the time).
As far as the search goes, I set it to enabled: false
in the .yml file, not realizing it wouldn't actually remove the bar hahaha. I'll get on fixing that soon, but that shouldn't be related to the issue itself. If you'd like, I can re-enable it for testing.
Okay, so I found some bugs with my javascript. But, also in Mkdocs.
Like the linkt to 5 - Riven of a Thousand Voices
that leads to an incorrect path (give a 404 even without my JS) and I don't know why.
The most funny is that the bug disappear when using wikilinks. Maybe it's a mkdocs issue?
At last, I advice you to use wikilinks in your configuration, and the javascript will be updated asap. You will need to just wait to the cdn to be propaged.
So I re-uploaded all my notes after switching off the conversion toggle for wikilinks in the plugin in obsidian but I'm still unable to click on the links both on mobile and desktop.
However I discovered something interesting.
On mobile, if I press hold the links and select "open in new tab", the pages open.
Even more interesting, the anchor links are now clickable.
The screenshots above show how things look in my obsidian and repo for one of the links in the index to show they're both set up wiki link style.
Do you think that will be fixed with the js update?
Thanks!
Yes, it will. I tested with cloning and testing your repository. After locally updating the JS, the links are not greyed (when switched to wikilinks)
Ah awesome! Thank you so much for all of your hard work on this!
Material General discussion
Error
Bug description
Links are unable to be clicked on the published GH Page.
Steps to reproduce
Initial Steps
relative path to file
turned onInternal links
andWikilinks to MD Links
When using filenames with a "." this initially cause additional entities to appear in the html such as
%2520
, which caused errors. The issue happened after changing the links to pure markdown[]()
, as well as after changing the filenames to include "-" instead.Expected behavior
The links from various pages should send me to the proper page. I'll use an example of just one page to make things easier though.
Here's one of the pages with a link that doesn't work and what it looks like HTML wise in the inspector:
Here is the page that link is supposed to go to:
https://audiolotus.github.io/FlwrzD2/Raids/Last%20Wish/Morgeth/
Screenshots
In case it's relevant:
Additional context
This is in reference to the bug I initially filed over in the plugin repo: https://github.com/ObsidianPublisher/obsidian-github-publisher/issues/304 in case it helps provide any additional help.
The errors listed above are from the inspector in FireFox when viewing this specific page
I've tried naming the files different things with no success.
For example This page has been called:
3. Morgeth, the Spirekeeper 3 - Morgeth, the Spirekeeper 3 - Morgeth the Spirekeeper and now, just "Morgeth"
Changing the naming to remove spaces / punctuation did not work in any form. I will note that in the GH Repo itself, the internal links work.
Here is a link to the repo: https://github.com/AudioLotus/FlwrzD2
To the main site itself: https://audiolotus.github.io/FlwrzD2
(Pardon the mess, just wanted to get things set up before I work on formatting and customizing haha)
Thanks again for everything!
Requirements
Mkdocs.yml