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

[example] simulate Hugo i18n shortcode #257

Closed
CarsonSlovoka opened this issue May 27, 2021 · 1 comment
Closed

[example] simulate Hugo i18n shortcode #257

CarsonSlovoka opened this issue May 27, 2021 · 1 comment

Comments

@CarsonSlovoka
Copy link

What is Hugo i18n shortcode

https://gohugo.io/functions/i18n/

What do I want?

I want to provide an example that is similar to Hugo.i18n too.

Actually, I'm not sure what exactly the implemented way that Hugo does.

but I think it can inspire.

Related issue

  • example ? #27 (comment)

    It mentions

    "T": i18n.IdentityTfunc

    In fact, this is what I want, but I can't find where i18n.IdentityTfuncis. (even reading V2 #92 after(maybe I am missing something.)

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

No branches or pull requests

1 participant