TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Jekyll Data Files

39 pointsby AJAlabsover 11 years ago

5 comments

swansonover 11 years ago
Hi - I wrote the docs for this. It is a really awesome feature, but be aware that it is targeted at Jekyll 1.3 - which is not quite released yet (<a href="https://github.com/mojombo/jekyll/issues?milestone=14&amp;state=open" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mojombo&#x2F;jekyll&#x2F;issues?milestone=14&amp;state=...</a>), nor deployed to GitHub Pages yet :)<p>You can check here: <a href="https://github.com/github/pages-gem/blob/master/github-pages.gemspec" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;github&#x2F;pages-gem&#x2F;blob&#x2F;master&#x2F;github-pages...</a> to find out when Pages will be updated to 1.3.X
paultover 11 years ago
Also works in middleman if you don&#x27;t need a blog baked in: <a href="http://middlemanapp.com/advanced/local-data/" rel="nofollow">http:&#x2F;&#x2F;middlemanapp.com&#x2F;advanced&#x2F;local-data&#x2F;</a>
评论 #6636676 未加载
kevinSuttleover 11 years ago
Mixture handles this in a slightly more elegant and flexible way via models and collections.<p><a href="http://mixture.io" rel="nofollow">http:&#x2F;&#x2F;mixture.io</a> <a href="https://github.com/teammixture/mixture-collections" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;teammixture&#x2F;mixture-collections</a><p>As mentioned, Middleman can use JSON or YML. <a href="http://middlemanapp.com/advanced/local-data/" rel="nofollow">http:&#x2F;&#x2F;middlemanapp.com&#x2F;advanced&#x2F;local-data&#x2F;</a>
philip1209over 11 years ago
This is great. I&#x27;ve found myself frustrated by the Liquid templating system, though. For instance, the print was inserting a line break that was messing with meta tags on my website.
评论 #6637396 未加载
评论 #6637597 未加载
avolcanoover 11 years ago
Not sure why OP linked to the Github file instead of the file on the site (w&#x2F; syntax highlighting, etc.): <a href="http://jekyllrb.com/docs/datafiles/" rel="nofollow">http:&#x2F;&#x2F;jekyllrb.com&#x2F;docs&#x2F;datafiles&#x2F;</a><p>It&#x27;s also worth noting that you could already do this in _config.yml, this just lets you split that up.