Skip to content

Expose page aliases to templates#3170

Open
chatman-media wants to merge 1 commit into
getzola:masterfrom
chatman-media:codex/zola-page-aliases-template
Open

Expose page aliases to templates#3170
chatman-media wants to merge 1 commit into
getzola:masterfrom
chatman-media:codex/zola-page-aliases-template

Conversation

@chatman-media

Copy link
Copy Markdown

Summary

  • serialize page aliases so templates can access page.aliases
  • document the new Page variable
  • add unit and integration coverage

Closes #3167

Checks

  • cargo fmt --all --check
  • cargo test -p content -p zola page_serialization_includes_aliases
  • cargo test -p site -p zola can_build_site_without_live_reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Question/Help] Can I access the aliases of a page in a template?

1 participant