Skip to content
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

add logic for wiki style links functionality #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tarpdalton
Copy link

@tarpdalton tarpdalton commented Nov 13, 2020

This adds a feature where you can link to any page in site.Pages by just using [[page_you_want_to_link]].

  • It will use the first match it finds, so you cannot have pages with the same Params.title
  • It might affect build performance if there is a huge number of pages and wikilinks

These types of links are getting more popular with tools like roam, foam, obsidian, etc.

gohugoio/hugo#3606

@mo-nonym
Copy link

I guess a workaround would be to implement a CI pipeline which executes this python script on the content folder before building a page.

maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants