by
3 5
0
3
2,418
0
Top 1% !
Famous
Specified
Popularity: 6092nd place
Created
Modified Oct 21, 2015
No tags for this snippet yet.
LanguageMarkdown
SourceGitHub

Programmatically handle relative links in Jekyll using Liquid templating syntax

Programmatically handle relative links in Jekyll using Liquid templating syntax: 
jekyll_links_liquid_syntax.md
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/716609/Programmatically-handle-relative-links-i?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
```markdown {% comment %} source: http://stackoverflow.com/questions/4629675/jekyll-markdown-internal-links code snippet author: http://stackoverflow.com/users/399105/bmaupin {% endcomment %} {% for page in site.pages %} {% if page.url == '/path/to/page.html' %} [{{ page.title }}]({{ page.url }}) {% endif %} {% endfor %} ```
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus