-
Notifications
You must be signed in to change notification settings - Fork 13
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
multilang and footer blocks #19
Comments
The theme doen't have 'BLOG.ITEM.CONTINUE_READING' in footer or in language file. You may need to add that string to the theme's language file by yourself. |
i have put language file from antimatter, |
Could you post your current language file here? Thanks! |
its defailt from antimatter |
or maybe you can upload skeleton with example somewhere? |
There is no problems with your language file and I can print out 'BLOG.ITEM.CONTINUE_READING in the footer. Are you using |
yes, i'm using i was used theme's footer column 1 |
I understand your problem now. You added that line of code to the theme's configuration instead of the theme's Twig file. Twig code is not proceeded in this case. You need to put the text "Continue reading..." instead. If you need to use Twig, you need to put it right in user/themes/x-corporation/templates/partials/footer.html.twig. |
ok, how to use footer blocks in multilang site? |
The theme and Grav don't support those right now. The only solution is customizing the code of the theme, instead of getting the footer blocks from theme's configuration, it gets those info from a page. |
Hi, i want to rtanslate some strings in the footer blocks.
as test i have put {{ 'BLOG.ITEM.CONTINUE_READING'|t }} to the 1st footer block.
the output wasnt processed.
where did i get wrong?
The text was updated successfully, but these errors were encountered: