Hello, is there any setting I have to make in the front matter to make a page searchable.
I have a directory xyz under pages which has sub directories… ABC and def. These sib directories ABC and def have its corresponding md files and slug a-b-c and d-e-f respectively.
I am trying to find the page ABC by doing page.find (’/xyx/a-b-c’) and trying to access the front matter of that page. But, somehow I don’t get that page.
Side note: my first blog posts with Grav took hours to get published.
I was only able to fix it when the Admin plugin was made available and I noticed that the default Server Time was PST (I think) which explained the discrepancy with my posts’ actual creation timestamp in my time zone.
@minu can you confirm what you get back from the fine with something like:
{{ dump(page.find('/xyz/a-b-c')) }}
Turn on the Grav debugger and look in the first messages panel. You should be able to expand the variable if it exists, or if it doesn’t find it, there will be a null printed.