+ [2014-07-21T20:12:01Z] bretolius jbfavre easy… either define them in the front matter of any page/post or in _config….. I think there is even a _data file now too
+ [2014-07-21T20:12:14Z] bretolius then you just reference them in any processed post: {{ page.var }}
+ [2014-07-21T20:12:38Z] bretolius or {{ site.var }} if defined in the _config file
+ [2014-07-21T20:13:05Z] bretolius so you could prefix links with {{ site.url1 }}/link/to/file
+ [2014-07-21T20:14:05Z] bretolius that, plus anything fancy you can do with your webserver rules you can serve things up in interesting ways

message no. 31496

Posted by bretolius in #jekyll at 2014-07-21T20:08:14Z

ya
+ [2014-07-22T01:35:00Z] kvda How would you go about having a 'front-matter' ie just a yaml file that can be accessed by multiple pages/posts?
+ [2014-07-22T01:35:54Z] bretolius kvda your _config file can provide that via {{ site.var }}
+ [2014-07-22T01:36:14Z] jaybe kvda, there's also _data files which are globally accessible
+ [2014-07-22T01:36:16Z] bretolius kvda also http://jekyllrb.com/docs/datafiles/
+ [2014-07-22T01:36:17Z] kvda thanks bretolius, i'll look into that