Pedro M Regular
@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation
Badges
Recent posts
-
Running Grav into home/public_html folder
· 5 years ago
Hi @Karmalakas I'm using the Apache 2 and PHP provided by my Linux distribution, not XAMPP. I have this configuration in a /etc/apache2/sites-enabled/es-grav.local: <VirtualHost *> Document
-
Running Grav into home/public_html folder
· 5 years ago
I've probed to delete .htaccess but it doesn't work. I'll see some information about Apache Server configuration.
-
Running Grav into home/public_html folder
· 5 years ago
Hi. This is the error: 500 " Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webm
-
Running Grav into home/public_html folder
· 5 years ago
Hello there. Is possible run Grav into home/public_html folder??. I've configured Apache Userdir module, and I can load html sites, but not Grav. What can I do to configure this? Thanks
-
Custom classes in archives plugin
· 5 years ago
Ok. I've found the solution: First, in blog.html.twig I have defined one variable: {% set taxonomy_color = page.header.content.taxonomy_color %}. In the same file, I've include the archives.html.twig
-
Custom classes in archives plugin
· 5 years ago
Hi. I would like to use a custom class in the archives plugin, specifically the following: \<span class = "{{taxonomy_color}}"> And in blog.html.twig: {% set taxonomy_color = page.header.content
-
Using loop for with slice to show elements in two columns
· 5 years ago
Thanks, this is correct code line. Finally the code would be: <ul class = "divided icons col-6 col-12-mobile"> {% for item in theme_config.social%} <li class="icon brands fa-{{item.icon}}
-
Using loop for with slice to show elements in two columns
· 5 years ago
Hi @Karmalakas Thanks so much for your help. This works perfectly but I get an error with === in loop. So, the final code is: <ul class = "divided icons col-6 col-12-mobile"> {% for item in them
-
Using loop for with slice to show elements in two columns
· 5 years ago
Hi. I would like to display three social icon elements divided into two columns with a for statement. The HTML output should look like this: <ul class = "divided icons col-6 col-12-mobile"> <
-
Two additional <p> tags generated in content
· 5 years ago
Definitely the best option is to wrap the content in a div tag. The markdown filter does not remove the p tag from the content.