Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Paul Hibbitts Regular
@paulhibbitts · Joined 9 years ago · 458 posts · 2 topics · 108 reputation
Badges
Recent posts
-
Call to site.yaml from an .md file
· 8 years ago
Hi @duceduc, if you enable Twig processing on each page then something like this should be possible: {{ config.site.yourvariablename }} https://learn.getgrav.org/content/headers#process
-
Inserting two line breaks in Markdown
· 8 years ago
That is a really great tip @iusvar, I did not know you could do that!
-
Inserting two line breaks in Markdown
· 9 years ago
OH! Well, I do not think you could do that via frontmatter (I was assuming you meant in Markdown, but now that I see the theme I know otherwise🙂). One possible alternative is to add the <br> tag
-
Inserting two line breaks in Markdown
· 9 years ago
That's unusual, what theme are you using? For what you describe I use the <br> tag within Markdown.
-
Displaying text in menu bar
· 9 years ago
Hi @lewissn, here is one way: In your site config file add a menu entry without a URL, like this: - text: Subscribe link: "#subscribe" - text: 123-456-7890 link: "" Then fi
-
New to Grav: Want to Know More About Grav
· 9 years ago
Hi @Mujji, I am a non-dev myself and only knew HTML and some CSS before discovering Grav and have found it a great fit for someone who wants to customize things without needing any PHP (Grav uses Twi
-
Add extra page headers automatically to every page
· 9 years ago
Looks like you are making progress @rvreugde! You should be able to define the default right in that Blueprint you are editing, at least I would think so. More info here : https://learn.getgrav.org/f
-
Add extra page headers automatically to every page
· 9 years ago
I've looked into this a bit more and while I was hoping a Blueprint change would do what you want it does not look like page access items are there by default. A custom Blueprint might still be an opt
-
Add extra page headers automatically to every page
· 9 years ago
Do you mean when a Page is added via the Admin Panel? With a custom Blueprint I think you should be able to set defaults for those values: https://learn.getgrav.org/forms/blueprints/example-page-bluep
-
How to render data from footer.md when it's included as a partial?
· 9 years ago
Here is one of my favorite ways: {% set content = pages.find('/footer').content %} {% if content %} {{ content }} {% endif %} This should work for Partials too...