Last active
April 26, 2018 18:42
-
-
Save royashbrook/a4ddefc439e578792dceecae59bc0234 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ | |
--/assets | |
----/page1 | |
------20180101-Some Document Title-t0.pdf | |
------20180102-Some Document Title-t0.pdf | |
------20180104-Some Document Title-t1.pdf | |
page1.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: page1 | |
--- | |
# {{page.title}} | |
{% assign fs = site.static_files | where_exp: "f","f.path contains 'page1'" %} | |
{% for f in fs %} | |
{% assign g = f.basename | split: '-' %} | |
- [{{g[1]}}]({{ f.path }}) | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment