3737from mkdocs_rss_plugin .integrations .theme_material_social_plugin import (
3838 IntegrationMaterialSocialCards ,
3939)
40- from mkdocs_rss_plugin .models import PageInformation , RssFeedBase
40+ from mkdocs_rss_plugin .models import MkdocsPageSubset , PageInformation , RssFeedBase
4141from mkdocs_rss_plugin .util import Util
4242
4343# ############################################################################
@@ -347,6 +347,7 @@ def on_page_content(
347347 updated = page_dates [1 ],
348348 url_comments = page_url_comments ,
349349 url_full = page_url_full ,
350+ _mkdocs_page_ref = MkdocsPageSubset .from_page (page ),
350351 )
351352 )
352353
@@ -385,7 +386,7 @@ def on_post_build(self, config: config_options.Config) -> None:
385386 self .feed_created .entries .extend (
386387 self .util .filter_pages (
387388 pages = self .pages_to_filter ,
388- attribute = "created" ,
389+ filter_attribute = "created" ,
389390 length = self .config .length ,
390391 )
391392 )
@@ -394,7 +395,7 @@ def on_post_build(self, config: config_options.Config) -> None:
394395 self .feed_updated .entries .extend (
395396 self .util .filter_pages (
396397 pages = self .pages_to_filter ,
397- attribute = "updated" ,
398+ filter_attribute = "updated" ,
398399 length = self .config .length ,
399400 )
400401 )
0 commit comments