Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Get collection into javascript
· 9 years ago
Use the plugin I linked to above and you can return the page data as json.
-
Get collection into javascript
· 9 years ago
Hi, what I need is to be able to get a page's collection into a Javascript array of objects. Say I have a page with a collection of blog posts. What I want is to be able to get into a JS script on thi
-
Get collection into javascript
· 9 years ago
You could use this grav plugin and then pull the data using AJAX. I'm not sure what all you need, but I've used that plugin before for working with the page data and it works great.
-
Get collection into javascript
· 9 years ago
Hi, I'm trying to get data from a page's collection into Javascript (for use with a data-visualization library). Is there any elegant way to do this ? Right now I'm doing something like this : <scr
-
Trying to modify fields of default page blueprint
· 9 years ago
I'll try. .thanks
-
Trying to modify fields of default page blueprint
· 9 years ago
Feel free to provide some examples in the cookbook via a pull request in the docs. That way more users will have some examples of achieving complex blueprints.
-
Trying to modify fields of default page blueprint
· 9 years ago
ok. finally it worked. Thanks for the feedback. I wish the manual gets more informative on yaml 'sensitivities' :-)
-
Trying to modify fields of default page blueprint
· 9 years ago
I did another test. And it seems that yaml in grav wont accept key:value without spaces after ':" .
-
Trying to modify fields of default page blueprint
· 9 years ago
I found one mistake. Although in my pasted example i had: active: 1 infact (strangely) i really had: active:1 and it seems that yaml dont like the closeness :-)
-
Trying to modify fields of default page blueprint
· 9 years ago
I wish there was a faster way to learn that. One drawback to yaml blueprints it how sensitive they are to tabs accidentaly inserted. Sth that my emacs do after hitting return to change line.