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

Please document .GetTerms #1639

Closed
okaestne opened this issue Jan 30, 2022 · 1 comment · Fixed by #2296
Closed

Please document .GetTerms #1639

okaestne opened this issue Jan 30, 2022 · 1 comment · Fixed by #2296

Comments

@okaestne
Copy link

.GetTerms is not listed in the page variables, only in an example snippet on the Taxonomy Templates doc page.

Can you please document it?

@jmooring
Copy link
Member

Yes, we will do this, but where we do it is another question.

  1. We currently list several page methods (e.g., .GetPage, .RenderString) in the functions section, which to me seems wrong.
  2. The list of page variables is really just a list of page methods. But they are immutable, not variable, and this has occasionally caused confusion. Perhaps we were concerned that "method" was too technical.

So it seems like page methods that return a thing are "page variables," and page methods that do a thing are "functions." Sort of.

If I were starting from scratch I would do it differently.

jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 15, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 16, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 19, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 19, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 20, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 24, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 27, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Oct 30, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 1, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 2, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 3, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 4, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 4, 2023
jmooring added a commit to jmooring/hugo-docs that referenced this issue Nov 5, 2023
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 a pull request may close this issue.

2 participants