nixentric / Lowkey-Hugo-Theme

A Simple & Humble Hugo Themes
https://lowkey-demo.pages.dev/
MIT License
154 stars 48 forks source link

Sorry to bother you #9

Closed treasunew closed 1 year ago

treasunew commented 1 year ago

What is the reason why the images I inserted did not work when using your theme, like this one: image image

I looked at your post and used the same syntax but it threw an error image image image image

nixentric commented 1 year ago

can you share your image (.jpg) file?

& are you using Hugo Extended Version? or not?

treasunew commented 1 year ago

none

treasunew commented 1 year ago

can you share your image (.jpg) file?

& are you using Hugo Extended Version? or not?

environment image

yes, i'm using Hugo Extended Version header the original url : http://gd-hbimg.huaban.com/ba964987def008e18f66b3bf89d73a6b94fc8532144c7f-yDphSc

nixentric commented 1 year ago

It seems the issue is your .md file.

The file:

B:\Coding\Hugowebsite\blog\content\posts\瞒折腾\ 随折腾.md

Should be in this format:

B:\Coding\Hugowebsite\blog\content\posts\瞒折腾\ index.md

Please give it a try! 😃

treasunew commented 1 year ago

It seems the issue is your .md file.

The file:

B:\Coding\Hugowebsite\blog\content\posts\瞒折腾\ 随折腾.md

Should be in this format:

B:\Coding\Hugowebsite\blog\content\posts\瞒折腾\ index.md

Please give it a try! 😃

thank you so much, i'll try it

nixentric commented 1 year ago

Sure, let me know if you're still facing any issues or if you've succeeded

treasunew commented 1 year ago

Sure, let me know if you're still facing any issues or if you've succeeded

yes, it works. thank you sho much btw, can't i use HTML tags?

treasunew commented 1 year ago

Sure, let me know if you're still facing any issues or if you've succeeded

yes, it works. thank you sho much btw, can't i use HTML tags?

sorry, i got it , thank you so much

nixentric commented 1 year ago

To insert HTML into Markdown in Hugo, you need to create a new shortcode:

You can read about it here: https://anaulin.org/blog/hugo-raw-html-shortcode/

treasunew commented 1 year ago

To insert HTML into Markdown in Hugo, you need to create a new shortcode:

You can read about it here: https://anaulin.org/blog/hugo-raw-html-shortcode/

To insert HTML into Markdown in Hugo, you need to create a new shortcode:

You can read about it here: https://anaulin.org/blog/hugo-raw-html-shortcode/

Thank you for your generous guidance.

nixentric commented 1 year ago

You're welcome. It was my pleasure. 😄