-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
basic jekyll question #179
Comments
to start hinting at an answer to myself, i think all the magic is on https://github.com/maximevaillancourt/digital-garden-jekyll-template/blob/main/_plugins/bidirectional_links_generator.rb |
Your last comment is correct:
The above works because I defined a collection named digital-garden-jekyll-template/_config.yml Lines 30 to 33 in 40101f0
If you want to add a collection named
Then, in all_notes = site.collections['notes'].docs + site.collections['datbase'].docs Good luck! |
Hey Maxime, I am not quite familiar with Ruby syntax and I've been trying to implement my backlinks algorithm in JS.
Afterwards, you write it to that note's frontmatter with: current_note.data['backlinks'] = notes_linking_to_current_note Am I correct? Thanks in advance! |
this is me not knowing enough about jekyll.
I have made a new collection named
_database
where i will host several pages. Now they are linked using the[[ ]]
technique, which works just fine on obsidian, but the problem is... they don't work on the live website!I've added the collection on
_config.yml
as such:but still no good. they just show up as
[[ not linked yeah? ]]
with the brackets showing! (ugly much).I've experimented enough (naively so, perhaps) to know that if I just make it a category, as in make the pages inside a
database
folder instead of a_database
folder, it just works. 🤯Now the problem is that I do need the collection feature because I want to be able to iterate through its items...
Sorry for noise. I appreciate if someone who knows their way around jekyll and this template could help me 🙏
Best,
The text was updated successfully, but these errors were encountered: