Skip to content
Grav 2.0 is officially stable. Read the announcement →

Pedro M Regular

@pmoreno · Joined 6 years ago · 412 posts · 108 topics · 102 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Bottom position footer in Gantry · 4 years ago

    It isn't an old thread. Have you read the gantry 5 documentation about this? https://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet You'll need to import _dependencies.scss into your cu

  • Bottom position footer in Gantry · 4 years ago

    Hi. The custom.scss file is in: user/data/gantry5/themes/yourtheme/scss Replace "yourtheme" to your theme name (g5_hydrogen, g5_hydrogen_child, etc)

  • Excluding item from collection using categories · 4 years ago

    Hi. The pages are already filtered before the lines you propose. I have tried with @ self-siblings on the line: items: { '@self.siblings': filter.categories | split (' ') }, and I have obtained the d

  • Excluding item from collection using categories · 4 years ago

    I am using a Gantry particle to display content from Grav. The particle specific code to define the page collection is this: {% set attr_extra = particle.extra | attribute_array %} {% set article_sett

  • Excluding item from collection using categories · 4 years ago

    Hi. It is possible to show a certain number of posts, according to their category, in a given post, not including the one being viewed. Example: Thanks

  • Remove first line in summary with twig · 4 years ago

    I've found a simple solution. I've modified the default.html.twig adding the page.title like a separated element: {% block content %} <h2>{{page.title|raw}}</h2> {{ page.content|ra

  • Remove first line in summary with twig · 4 years ago

    ok I have in main page several cards that show some articles in a specific category, and they show the summary of the page. When you click in some card it shows the whole page. For example: The page

  • Remove first line in summary with twig · 4 years ago

    Hi. The first line means up to the first line break, regardless of the characters that line has.

  • Remove first line in summary with twig · 4 years ago

    Hi. Is possible to remove the first line in the summary text with some twig filter??. Example: First line (this would be deleted) "Rest of the summary text ......" Thanks.

  • Running Grav into home/public_html folder · 5 years ago

    Well. Finally, I've got to setup correctly my apache configuration to work fine with user_dir module. In my **/etc/apache2/mods-enabled, I've commented these lines: #<IfModule mod_userdir.c> #