I would like to generate .php file extension for all files. I use this in config.yaml (wegben 0.5.11): default_meta_info: Page: output_path_style: [:parent, :basename, [''.'', :lang], ''.php''] This worked in previous versions of webgen, but now it outputs an error for extensions different than ''.html'' In the page file index.page: [Link to]({relocatable: b.html}) The error message ... ERROR -- Could not resolve path ''b.php'' in </index.en.html> ... although b.php is present. Michael
> In the page file index.page: > > [Link to]({relocatable: b.html}) > > The error message ... > > ERROR -- Could not resolve path ''b.php'' in </index.en.html> > > ... although b.php is present.This most probably comes from the fact that the kramdown processor automatically uses the relocatable tag internally to resolve all paths. Since you explicitly use the relocatable tag, it correctly resolves the `b.html` path to `b.php` which then is tried to be resolved again when kramdown converts the page to HTML - and naturally can''t be resolved. I suggest either not using the relocatable tag or setting the option `contentprocessor.kramdown.handle_links` to `false`. -- Thomas