seo
seo copied to clipboard
Pelican plugin to improve search engine optimization (SEO)
updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/psf/black: 23.7.0 → 24.4.2](https://github.com/psf/black/compare/23.7.0...24.4.2) - [github.com/PyCQA/flake8: 5.0.4 → 7.1.0](https://github.com/PyCQA/flake8/compare/5.0.4...7.1.0) - [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2) - [github.com/asottile/pyupgrade: v3.9.0 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.16.0)
I get the following error: ``` [...] File "...seo\seo_enhancer\html_enhancer\article_schema_creator.py", line 17, in __init__ self._author = author.name AttributeError: 'NoneType' object has no attribute 'name' ``` The reason for the error is:...
Regarding Structured Data / Article Schema could be useful to add :figure: field where :figure: is used instead of :image:?
Given `SITEURL = 'mysite.com/blog'` in the Pelican settings file. and a `fileurl` of 'posts/my_article/index.html` the `_create_absolute_fileurl` method in `open_graph.py` will return a `file_url` missing the `SITEURL`s subdirectory. This is due...
Google appears to prefer this format. Don't know when/if the underlying "official" schema changed but I simply matched the format shown on Schema.org.
The path to the css file may have to be interpreted by a browser on a windows machine. The hardcoded `/` characters [here](https://github.com/Sogolumbo/pelican-seo/blob/b1aadb6ab21e6fbc2bbaa08a5a5cdfff35c2d726/pelican/plugins/seo/seo_report/__init__.py#L263) cause an error: The css file can...
# Problem I see in the following line that the content of the article is used to count the h1 tags: https://github.com/pelican-plugins/seo/blob/5ab4c645441c21e1d7d4a5faa67f8aca14112ef3/pelican/plugins/seo/seo_report/seo_analyzer/__init__.py#L22 You suggest (like everyone) the following Markdown structure...
See #33 https://github.com/pelican-plugins/seo/blob/master/pelican/plugins/seo/seo_enhancer/__init__.py#L37 should not call `CanonicalURLCreator.create_url()` method in case of external canonical as the URL is already built.