+[2019-03-19T19:22:57Z]enginpostI am familiar with how to template HTML in Jekyll liquid using includes but I am looking to understand how to create a customizable block that can also take parameter inputs. If I can post some stuff, would anyone be able to take a look and give me some quick advice? +[2019-03-19T19:23:53Z]enginpostfor example with my include, the markup looks like...{% include tag.popup.html hypertext="click here" caption="Results" callback="modalLookup" target="" %} +[2019-03-19T19:25:52Z]enginpostbut I would prefer it look more like {% popup {"caption":"The Results","callback":"modalLookup, "target":""} %}click here {% endpopup %} +[2019-03-19T19:26:46Z]enginpostdoes anyone have experience with creating ruby liquid::block modules? +[2019-03-19T19:58:45Z]enginposthow do I pass a custom parameter/token to a custom Jekyll::block like {% popup_block class="someClass" %}click here{% endpopup_block%}
Jaybe: what I ended up doing was creating a frontmatter that held a shortUrl value
+[2019-03-20T10:14:43Z]aamirmHi. I'm trying to use a jekyll with a template but the 'jekyll build' command keeps giving me error ''cannot load such file -- rouge", even though it is installed. +[2019-03-21T05:25:55Z]kaokao If I pulled a github Jekyll site to a local repo, how do I use it? +[2019-03-21T05:26:04Z]kaokaoWhen I try to run I get "Could not locate Gemfile or .bundle/ directory" +[2019-03-21T05:53:49Z]jaybekaokao https://jekyllrb.com/docs/installation/ +[2019-03-21T05:56:32Z]kaokaoI figured it out