Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
PHP code in .md files
· 10 years ago
ok I have solution, just put this at the beginning of .md file: title: Some Title ... process: twig: true and then the usual {{ whatever }}
-
PHP code in .md files
· 10 years ago
You can put Twig in markdown however to perform ‘logic’. How can I do that? I have some data in twig_vars and I'd like to present them in .md file
-
PHP code in .md files
· 12 years ago
You might be better off creating a Grav plugin that loads the directory and stores the results as a variable in the Twig environment. Then you can simply loop over the results in that variable in the
-
PHP code in .md files
· 12 years ago
I assume I need to add them manually in Markdown.
-
PHP code in .md files
· 12 years ago
What I rly want, is directory content as links, not necessarily via .PHP :)
-
PHP code in .md files
· 12 years ago
You can't put PHP in markdown files, that's simply not allowed. You can put Twig in markdown however to perform 'logic'. If you REALLY wanted PHP in Twig, you could install a Twig extension that pro
-
PHP code in .md files
· 12 years ago
Hello (it's me again), how do I use (implement?) php scypts to my pages? I'd like to add simple script (to blog item) that reads directory and displays it's content as links. Do I need a extension for
-
Display the Taxonomy in the Title of the blog page
· 10 years ago
can you provide the twig code you are working with?
-
Display the Taxonomy in the Title of the blog page
· 10 years ago
I currently have a "blog" page that I am using to display specific taxonomies. I am trying to display the current taxonomy:value in the breadcrumbs, but it appears that when I specify the Title: on t
-
Php and yaml files in copied theme
· 10 years ago
There's no performance issue, they are loaded as needed.