Skip to content

add logic for wiki style links functionality - #469

Open
tarpdalton wants to merge 1 commit into
matcornic:masterfrom
tarpdalton:patch-1
Open

add logic for wiki style links functionality#469
tarpdalton wants to merge 1 commit into
matcornic:masterfrom
tarpdalton:patch-1

Conversation

@tarpdalton

@tarpdalton tarpdalton commented Nov 13, 2020

Copy link
Copy Markdown

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
Copy Markdown

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.

2 participants