sreehari32 / blog

0 stars 0 forks source link

Reply to the email #1

Closed kaisugi closed 5 months ago

kaisugi commented 5 months ago

Hi, I'm the author of the HugoTeX theme. I read your email. Thanks for using my theme!

I'm not 100% sure, but the issue in your repository may be caused by static directory settings. Hugo accepts /static as the directory of static files. You specify the different name /assets. Therefore Hugo cannot recognize it Please look at the following link https://gohugo.io/content-management/static-files/

kaisugi commented 5 months ago

I confirmed that the image is displayed when using /static https://kaisugi.github.io/debug-hugo-theme/img1.png

sreehari32 commented 5 months ago

hi sir, thanks for your time , But the problem remains unsolved pls see my hugo.toml file. Its the same as you have given.

i renamed the image to accuracy_1.png and moved to static folder:- Result >> image not displayed

i tried multiple image paths [trial and error]

image

but when blog is hosted it looks like this

image
sreehari32 commented 5 months ago

if you can tell me where i can see the hugo created html code, may be we can change the file path accordingly.

kaisugi commented 5 months ago

Please try this:

<img src="../../accuracy_1.png" alt="alt text">

sreehari32 commented 5 months ago

Thank you sir, this worked... Thanks a lot for the help..

I would like to know the details of who all visit my page, like how many people visited in a day etc. Is there a way to do that.?

kaisugi commented 5 months ago

You can use external tools such as Google Analytics. You could implement web counters or something by yourself, but I don't recommend it. The best practice in the web development is to stand on the giant shoulders (use external tools as possible) 😃

sreehari32 commented 5 months ago

Hi, Thank your sir for your guidance. I will read about incorporating google analytics and get back to you. Sincerely Sreehari

On Fri, Apr 12, 2024 at 5:37 PM Kaito Sugimoto @.***> wrote:

You can use external tools such as Google Analytics. You could implement web counters or something by yourself, but I don't recommend it. The best practice in the web development is to stand on the giant shoulders (use external tools as possible) 😃

— Reply to this email directly, view it on GitHub https://github.com/sreehari32/blog/issues/1#issuecomment-2051634405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMLYGJICJJ5WUY5MEFSCAITY47FANAVCNFSM6AAAAABGCLA7BWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRGYZTINBQGU . You are receiving this because you commented.Message ID: @.***>