Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Mick Member
Grav Forum Moderators
@unmick · Joined 8 years ago · 26 posts · 5 topics · 5 reputation
Badges
Recent posts
-
Access to .yaml in a .js
· 8 years ago
i got it so i share it : <script type="text/javascript"> var test= '{{ config.site.test.alert }}'; alert(drole); </script>
-
Access to .yaml in a .js
· 8 years ago
Hi All, My need is quite simple but i can't figure it out . i am using {% do assets.addJs('theme://js/mynice.js') %} and it's well working. I would like to use in my .js my configuration setting. How
-
Site.yaml with image
· 8 years ago
Hello ! In the gateway theme, i have got in the site.yaml : header: title: 'The beautiful title' background: thebackground.jpg in order to make it easily "customisable" , i have added in the user/blue
-
Form contact in mache template
· 8 years ago
I am not sure that is the right way but to share one solution, i have had in the form.html.twig : "{% if theme_config.default_background_image|length > 0 %} {% for item in theme_config.default_back
-
Form contact in mache template
· 8 years ago
Hi All, I don't get something related to the form. I take the mache template which seems pretty good. In the skeleton provided , there is a modular page with in it a subpage template contact. I would