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

Document existence of site global function #1119

Closed
earthboundkid opened this issue Jan 23, 2020 · 4 comments
Closed

Document existence of site global function #1119

earthboundkid opened this issue Jan 23, 2020 · 4 comments

Comments

@earthboundkid
Copy link
Contributor

gohugoio/hugo#5470 is great, but AFAICT it's not documented anywhere. I was writing a partial and thinking "I thought there was some way of getting a global site function?" and I only found it by just experimenting and trying {{ site }}. Maybe I saw it in a Regis blog post at some point or something. Anyway, it should be in the list of Functions, if nothing else.

@stale
Copy link

stale bot commented May 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@earthboundkid
Copy link
Contributor Author

Documentation requests never get old.

@moorereason moorereason transferred this issue from gohugoio/hugo May 23, 2020
bep added a commit that referenced this issue May 23, 2020
Mention the site function

See #1119
@divinerites
Copy link
Contributor

@bep
Copy link
Member

bep commented Oct 31, 2020

Is this ??

It is, and I agree that we need to improve this, but that is anohter issue.

@bep bep closed this as completed Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants