-
Notifications
You must be signed in to change notification settings - Fork 525
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
unable to insert raw html to the posts #584
Comments
Thank you! |
I have the same problem |
Hey @luojing94 ! You can try the possible solution that grojar propossed: Raw html short code Here is a live example:
|
@dacanizares Thank you very much |
@dacanizares hello ,Sorry for bothering you |
Hi @luojing94 ! Sorry for the delay. Here is the button: https://github.com/TheScienceOfCode/hugo-tranquilpeak-theme/blob/0eae7fa35a095271d12723edf9dcc57d405727a8/layouts/partials/lang_translations.html Also check my site config: https://github.com/TheScienceOfCode/thescienceofcode.github.io/blob/dev/config.toml And finally, just create the posts as here: https://github.com/TheScienceOfCode/thescienceofcode.github.io/tree/dev/content/post Regarding your layout, here you can find config files for internationalization: https://github.com/TheScienceOfCode/hugo-tranquilpeak-theme/tree/0eae7fa35a095271d12723edf9dcc57d405727a8/i18n Good luck! |
@dacanizares But I'm going to use your method instead because it's something I really want to master and is better at. Thank you very much! I wish you all the best~ |
Hey @luojing94 ! You can double-check the official Hugo documentation regarding i18n: https://gohugo.io/content-management/multilingual/ Good luck! |
Configuration
Issue: I tried to get some stuff in the posts using HTML tags directly in the .md files, but i was unable to do it.
I don't know if this is a general problem, some people's problem, or just me, but I'd be very pleased it if you would allow me to share a possible solution for those who might be affected by this issue.
Possible solution: (shortcodes)
In this webpage you can find the steps to do it.
I apologize if this post was created in the wrong place.
My best,
Pablo
The text was updated successfully, but these errors were encountered: