Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Dimitri Longo Regular
ModSquad Team Member
Grav Forum Moderators
@dimitrilongo · Joined 9 years ago · 119 posts · 6 topics · 40 reputation
Badges
Recent posts
-
Embed SVG inline
· 9 years ago
I use that script : this will turn your image into an inline SVG including all attributes, like IDs, classes, width and height which you can now easily target using CSS It works very well, i use it i
-
Adding image to twig template from variable
· 9 years ago
good catch, that's why it works in my test i have same filename ;-) and not in @Usk70 example
-
Adding image to twig template from variable
· 9 years ago
is that right ? It works for me
-
Adding image to twig template from variable
· 9 years ago
it works, what is your folder structure ? Just tested with Antimatter
-
List of available template properties?
· 9 years ago
i'm not familiar with antimatter, but just test menu it works fine see doc in Repo By default, Grav generates the menu from the page structure. However, there are times when you may want to add custo
-
List of available template properties?
· 9 years ago
Some docs useful : TWIG FILTERS & FUNCTIONS THEME VARIABLES Twig Official
-
Frontend From File Upload
· 9 years ago
@david-bettondesign: destination: 'self@/files' did you try another folder, check permissions ?
-
Adding image to twig template from variable
· 9 years ago
slide1: myimage1.png slide2: myimage2.png slide3: myimage3.png --- slide1 is header.slide1 <img src="{{ page.media[page.header.slide1].url }}" alt="MyPassion" />
-
File field frontmatter format
· 9 years ago
quick workaround, not tested {% for image in page.header.gallery %} {% for thumb in image.upload %} <img src="{{ page.media[thumb.name].url }}"></img> {% endfor %} {% endfor %}
-
How to conditionally load external stylesheet on one page?
· 9 years ago
If you serve font-awesome/4.7.0/css/font-awesome.css from your server you can set css_pipeline: true