Add config to toggle html extension in links
This commit is contained in:
@@ -4,4 +4,4 @@ title: Consistency is key
|
||||
|
||||
Show up. Do the work. Be consistent.
|
||||
|
||||
Then go take a look at the [first note](/your-first-note){: .internal-link}.
|
||||
Then go take a look at the [[Your first note|first note]].
|
||||
|
||||
@@ -23,6 +23,8 @@ Since the Web is all about HTML, you can always use plain HTML if you want, like
|
||||
|
||||
Of course, you can also link to external websites, like this: [this is a link to Wikipedia](https://wikipedia.org/). Again, you can use plain HTML if you prefer.
|
||||
|
||||
**Note about static hosts**: if you use a static host that doesn't support URLs that don't end with `.html` (such as Neocities), try changing the `use_html_extension` value to `true` in the `_config.yml` file and restart the Jekyll server (or re-build the site). This adds a `.html` extension to note URLs and may resolve issues with links. If you're still having trouble, I recommend using Netlify to host your digital garden: it's free, easy to use, and fully supports this template's features out of the box.
|
||||
|
||||
### Automatic bi-directional links
|
||||
|
||||
Notice in the "Notes mentioning this note" section that there is another note linking to this note. This is a bi-directional link, and those are automatically created when you create links to other notes.
|
||||
|
||||
Reference in New Issue
Block a user