Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
JSON Question
· 11 years ago
what happens if you set cache: true or remove that bit? I don't think Grav has anything to do with this checksum data appended after the .json part.
-
JSON Question
· 11 years ago
page = portfolio
-
JSON Question
· 11 years ago
i call it via the data-json="portfolio.json" attribute in the html code. i dont se markdown at all. in the js i use ---js if( $('.page').length ) { var pageJSON = $('.page[data-json]'); var pageData =
-
JSON Question
· 11 years ago
how are you calling the page via javascript? Can you paste a sample of that code? Also can you please include your code snippets in markdown backticks? or code blocks? (see the question mark in top r
-
JSON Question
· 11 years ago
hi all, for automatically loading items via the page.children i created an page.json.twig template. if i call the file directly via "http://server.com/page.json" the *.json file is parsed like it shou
-
Steps to a theme for a blog site
· 11 years ago
I strongly suggest downloading and looking over some of the existing themes that have blog views in them. Antimatter (Blog Skeleton) Bootstrap Afterburner2 SoraArticle Notepad Mediator Hpstr Proba
-
Steps to a theme for a blog site
· 11 years ago
I would like to develop / design a theme for a blog site. But I have no idea where to start.... maybe a guideline would be great ! thanks !
-
Multiple Assets Named
· 11 years ago
The addJs() and addCss() methods actually call the add() method for named collections because you can have a mix of CSS and JS files in the collection. If you wanted to define a collection via the sy
-
Multiple Assets Named
· 11 years ago
Thank you for your quick response! How can I declare my css and js in the system.yaml file? I don't want to have a plugin as some of the css files wouldn't be called on every page. I'd rather it be in
-
Multiple Assets Named
· 11 years ago
Sure it can take an array of both js and css assets. You can see this in the bootstrapper plugin where we are building an array based on some config options. https://github.com/getgrav/grav-plugin-bo