Releases: WaylonWalker/markata
v0.9.0.dev5
Markata Changelog
0.9.0
- Feat: add skip plugin
- Fix: wikilinks uses a faster and more robust link lookup
- Feat: most plugins now only do work on posts not marked as skip
- Fix: wikilinks now give good error messages to show you which article is throwing the warning
Performance Improvements
Core Optimizations
- Added map cache with statistics tracking in Markata core
- Optimized template rendering with bytecode caching
- Parallelized markdown rendering and file loading
- Added configurable cache expiration times for different components
Component-specific Optimizations
- Updated auto_description to use markdown-it for better performance
- Improved date parsing with dateparser fallback
- Optimized post loading with bulk processing
- Modernized pydantic validators to use new field_validator syntax
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl ...
v0.9.0.dev4
Markata Changelog
0.10.0
Performance Improvements
Core Optimizations
- Added map cache with statistics tracking in Markata core
- Optimized template rendering with bytecode caching
- Parallelized markdown rendering and file loading
- Added configurable cache expiration times for different components
Component-specific Optimizations
- Updated auto_description to use markdown-it for better performance
- Improved date parsing with dateparser fallback
- Optimized post loading with bulk processing
- Modernized pydantic validators to use new field_validator syntax
0.9.0
- Feat: add skip plugin
- Fix: wikilinks uses a faster and more robust link lookup
- Feat: most plugins now only do work on posts not marked as skip
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ ...
v0.9.0.dev3
Markata Changelog
0.9.0
- Feat: add skip plugin
- Fix: wikilinks uses a faster and more robust link lookup
- Feat: most plugins now only do work on posts not marked as skip
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date ...
v0.9.0.dev2
Markata Changelog
0.9.0
- Feat: add skip plugin
- Fix: wikilinks uses a faster and more robust link lookup
- Feat: most plugins now only do work on posts not marked as skip
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date ...
v0.9.0.dev1
Markata Changelog
0.9.0
- Feat: add skip plugin
- Fix: wikilinks uses a faster and more robust link lookup
- Feat: most plugins now only do work on posts not marked as skip
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date ...
v0.8.2.dev1
Markata Changelog
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True ...
v0.8.2
Markata Changelog
0.8.2
- Fix: markata installs setuptools required by one dependency
- Fix: cleaup cli output
- Fix: speed up cli starup with some lazy imports
- Fix: all cache.adds were replaced with cache.set
- Fix: Updated to new typer format requiring name=
- Fix: teardown only runs if a the build process was started, i.e. some clis
will not need to teardown
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True ...
v0.8.1
Markata Changelog
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_tem...
v0.8.1.dev12
Markata Changelog
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_tem...
v0.8.1.dev11
Markata Changelog
0.8.1
Feeds have partials
The feeds
plugin now has configurable partial_template
that can be used to
render only the inside of the feeds page. This is indended to allow you to
load small feeds into a page with htmx.
Better Jinja Templates
Markata now fully supports jinja templates with a loader that will load from
your templates directory, the markata built-in templates, and from a
dynamically generated templates directory in your .markata.cache directory.
cli
You can list out your templates and configuration with the following command
markata templates show
Variables
The following variables are available within jinja templates for post
templates. This is now consistent accross all three built in plugins that
render jinja templates.
post_template
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configbody
- the body of the postpost
- the current post object
feeds
Similarly from within rendering feeds.
__version__
- the version of markatamarkata
- the markata instanceconfig
- the markata configposts
- the list of postspost
- a pseudo post object with title, slug, description, and date for template consistencyfeed
- the current feed object
jinja_md
Similar to posts from within jinja_md to render a markdown post as a template.
__version__
- the version of markatamarkata
- the markata instancebody
- the body of the postconfig
- the markata configpost
- the current post object
Feeds cli
The feeds cli will help show which templates each feed will be using.
❯ markata feeds show
Feeds 6
┏━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Feed ┃ posts ┃ config ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ project_gallery │ 2 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Project Gallery │
│ │ │ slug: project-gallery │
│ │ │ name: project_gallery │
│ │ │ filter: 'project-gallery' in str(path) │
│ │ │ sort: title │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ docs │ 10 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Documentation │
│ │ │ slug: docs │
│ │ │ name: docs │
│ │ │ filter: "markata" not in slug and "tests" not in slug and ... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ autodoc │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: AutoDoc Python Modules. │
│ │ │ slug: autodoc │
│ │ │ name: autodoc │
│ │ │ filter: "markata" in slug and "plugin" not in slug and "te... │
│ │ │ sort: slug │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ all │ 73 │ DEFAULT_TITLE: All Posts │
│ │ │ title: All Markata Modules │
│ │ │ slug: all │
│ │ │ name: all │
│ │ │ filter: True │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ core_modules │ 17 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Core Modules │
│ │ │ slug: core_modules │
│ │ │ name: core_modules │
│ │ │ filter: 'plugin' not in slug and 'test' not in slug and ti... │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_template: rss.xml │
│ │ │ sitemap_template: sitemap.xml │
│ │ │ xsl_template: rss.xsl │
│ │ │ │
│ plugins │ 42 │ DEFAULT_TITLE: All Posts │
│ │ │ title: Markata Plugins │
│ │ │ slug: plugins │
│ │ │ name: plugins │
│ │ │ filter: 'plugin' in slug and 'test' not in slug │
│ │ │ sort: date │
│ │ │ reverse: False │
│ │ │ rss: True │
│ │ │ sitemap: True │
│ │ │ card_template: card.html │
│ │ │ template: feed.html │
│ │ │ rss_tem...