| layout | page |
|---|---|
| title | get page url |
| excerpt | How to get the url of an intern page without markdown native link mechanism |
This Jekyll pluging provides a tag page_url that takes a reference to an internal page and resolves the final url in the static website. This feature is useful when you can not directly use the markdown link mechanism.
{% page_url _collection/dummy.md %}
Add this line to your Gemfile:
group :jekyll_plugins do
gem "jekyll-pageurl"
endAnd then execute:
bundle installAlternatively install the gem yourself as:
gem install jekyll-pageurland put this in your _config.yml
plugins:
- jekyll-pageurl- Initial version, facilitate the resolution of intern site's links