spanezz / staticsite

Static site generator
GNU General Public License v3.0
46 stars 7 forks source link

page.meta.site_name not set while template_title and co are compiled for tag feeds #51

Closed DonKult closed 3 years ago

DonKult commented 4 years ago

See e.g. the pdo tag feed from your own site:

<title>: posts with tag pdo</title>
<description>: most recent posts with tag pdo</description>

Given the settings page.meta.site_name should have been before the : in both. The value is shown in ssite dump_meta and if used directly in the template its printed just fine, so I guess it is a matter of loading/setting order.

spanezz commented 3 years ago

I see the template usees page.meta.title and it is filled by template_title in the .taxonomy file. I agree that it looks like at that stage, page.meta.site_name is not filled. Let's dig...

spanezz commented 3 years ago

Fixed in 06836f1365d8ac91d6572d3eed63d01e9bda2a04