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

unable to insert raw html to the posts #584

Open
grojar opened this issue Feb 17, 2023 · 8 comments
Open

unable to insert raw html to the posts #584

grojar opened this issue Feb 17, 2023 · 8 comments

Comments

@grojar
Copy link

grojar commented Feb 17, 2023

Configuration

  • Operating system with its version: Windows 11 Home
  • Browser with its version: Chrome 110.0.5481.77 / FireFox 108.0.2 (64-bit)
  • Hugo version: hugo v0.100.1-0afb4866e345d31cbbcbab4349e43f1d36122806+extended windows/amd64 BuildDate=2022-06-01T10:11:48Z VendorInfo=gohugoio
  • Tranquilpeak version: 0.5.3-BETA
  • Do you reproduce on https://tranquilpeak.kakawait.com demo?: No

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

@dacanizares
Copy link

Thank you!

@luojing94
Copy link

I have the same problem

@dacanizares
Copy link

@luojing94
Copy link

@dacanizares Thank you very much
I solved it according to your method.
Good luck to U!

@luojing94
Copy link

@dacanizares hello ,Sorry for bothering you
I have a problem with switching languages. In your example, you have a button that switches between English and Spanish. Can I ask how you do that?

@luojing94
Copy link

luojing94 commented May 12, 2024

@dacanizares
Thank you!
I have found another way these days, but it takes up a lot of space, which is to combine the same blogs in two languages.
The reference is https://saltyleo.com/en/1448.html

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~

@dacanizares
Copy link

Hey @luojing94 !

You can double-check the official Hugo documentation regarding i18n: https://gohugo.io/content-management/multilingual/

Good luck!

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

3 participants