Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete output for get_taxonomy in the documentation #2204

Merged
merged 1 commit into from
May 3, 2023
Merged

Complete output for get_taxonomy in the documentation #2204

merged 1 commit into from
May 3, 2023

Conversation

XavierBeguin
Copy link
Contributor

The current documentation on the tera function get_taxonomy does not mention either lang or permalink fields, that are nonetheless returned by the function as the following template extract shows:

{%- set taxonomy_config = get_taxonomy(kind="tags", lang="en") %}
<ul>
    <li>taxonomy_config.lang = {{ taxonomy_config.lang }}</li>
    <li>taxonomy_config.kind = {{ taxonomy_config.kind }}</li>
    <li>taxonomy_config.permalink = {{ taxonomy_config.permalink }}</li>
    <li>taxonomy_config.items = {{ taxonomy_config.items }}</li>
</ul>

This PR simply adds the two fields to the type of output for get_taxonomy in the documentation.

Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.
@Keats Keats merged commit 7b095e4 into getzola:master May 3, 2023
@Keats
Copy link
Collaborator

Keats commented May 3, 2023

Thanks!

theowenyoung added a commit to theowenyoung/zola that referenced this pull request Jun 4, 2023
* 'master' of https://github.com/getzola/zola:
  Using cargo install (getzola#2218)
  Documented CNAME file for custom domains (getzola#2219)
  Clarifying documentation around themes. (getzola#1541)
  remove libsass from build instructions (getzola#2217)
  Add gburghoorn example to EXAMPLES.md (getzola#2212)
  Complete output for get_taxonomy in the documentation (getzola#2204)
  Update themes gallery (getzola#2203)
  Fix typo in page.md (getzola#2192)
  docs: update expired Documents  documentation (getzola#2185)
  Update themes gallery (getzola#2180)
  Update deploy action to the latest version and make version consistant (getzola#2173)
  Update docs
  Update snap
  minor updates to overview docs (getzola#2158)
  Update documentation for multilingual use of taxonomies (getzola#2157)
  Update Metainfo (getzola#2148)
biodranik pushed a commit to biodranik/zola that referenced this pull request Sep 12, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
technimad pushed a commit to technimad/zola that referenced this pull request Sep 30, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
Drodt pushed a commit to DerDrodt/zola that referenced this pull request Oct 10, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
fredr pushed a commit to fredr/zola that referenced this pull request Oct 21, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
selfisekai pushed a commit to selfisekai/zola that referenced this pull request Nov 3, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
Newbytee pushed a commit to Newbytee/zola that referenced this pull request Dec 19, 2023
Complete the documentation for the output of the tera function
`get_taxonomy` to include the `lang` and `permalink` overlooked fields.

Co-authored-by: Xavier B <>
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.

2 participants