Sometimes you want to add a link in your hexo pages, and you want that link to take you to another page, or even another website.
External Links
if you add a full url into your text, for example:
- http://puzzlenewsnetwork.com/
- http://puzzlenewsnetwork.com/2023/07/01/Introduction-to-Word-Search-Puzzles.html
- https://www.marklandcentral.com/wikiview/home/home
It will create a link that opens a new tab.
There’s a second format of a link if you want to provide a link that has friendly text. Add brackets around the friendly text and parens around the url.
For example [George Oakes - Advanced FileSystemWatcher - Code Project - 21 Sep 2006](http://www.codeproject.com/Articles/15656/Advanced-FileSystemWatcher)
Produces George Oakes - Advanced FileSystemWatcher - Code Project - 21 Sep 2006
When you click that link, a new tab will be opened with the link you are referencing
Internal Links
use the post_link function.
Here are some samples
* Cat School - 4 year coursework for a well-educated feline friend. {% post_link CatUniversity %}
* {% post_link Dream-Computer-Lab-Technician 'Computer Lab Technician' %}
where
- Post_Link - is the command to setup a link
- CatUniversity - is the name of the file that you see on the directory (without extension).
- ‘Computer Lab Technician’ is optional - it’s a title.