liquid
How to pass a variable into a custom tag in Liquid?
I have written a custom tag in liquid, and I\'d like to pass a variable to it. Liquid tags will turn any parameter into a string.[详细]
2023-04-10 18:12 分类:问答How to access global Sinatra configs inside custom Liquid template tags?
I\'m trying to create a custom Liquid template tag like this: class ScriptLoader < Liquid::Tag def initialize(tag_name, filename, tokens)[详细]
2023-04-09 14:04 分类:问答How do I detect the current page in a Jekyll tag plugin?
I have a Jekyll (Liquid) block plugin and I\'d like to detect what the current page is. I see that a context is passed into render, and that I can retrieve the current site object as context.registers[详细]
2023-04-06 13:16 分类:问答Jekyll, Liquid, Random numbers
I would like to have a set of links <li> <h2>Random Articles</h2> <ul> <li><a href=\"#\">Old 开发者_JAVA技巧article 1</a></li>[详细]
2023-04-06 09:19 分类:问答Resolve liquid variable inside liquid tag
I\'m using Octopress, which is a framework for Jekyll to render my site. I\'m using a plugin which wraps the ruby-aaws gem, allowing queries 开发者_运维百科to Amazon using Amazon\'s product identifier[详细]
2023-04-01 06:23 分类:问答Comparing dates in liquid
I\'m using Liquid with Jekyll to post dates on my band\'s website (http://longislandsound.com.au) What I want is to automatically hide old dates, so I don\'t have to go in and delete them again. I th[详细]
2023-03-29 02:38 分类:问答Shopify - host multiple themes at the same time
So, I\'m selling some products on shopify. Let\'s say coffee. I\'m working with a new group that wants to sell my coffee, have a separate brand, have a branded website. Is there an easy way to do thi[详细]
2023-03-28 01:18 分类:问答How to use Loop in Jekyll
Suppose I have a directory and file structure as shown below in the jekyll for creating the static site. In this case how can I make a loop for the dev directory so that each time i can get the conten[详细]
2023-03-25 02:39 分类:问答Jekyll/Liquid - how to add large blocks of text to YAML front matter?
I\'m trying to implement a service catalog in Jekyll, in which each of 20 or 30 pages will contain a 7x2 table.The left column will hold labels, e.g. Overview, Available To, etc, while the right colum[详细]
2023-03-20 21:49 分类:问答dynamically change css for site using liquid template language vars in rails app
So i have a rails 3 sort of site builder app and i am using liquid language so site owners can customize their own site.[详细]
2023-03-14 14:38 分类:问答