We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Hello Annie! I just wanted to thank you for this post, it has been truly helpful to develop my own website (https://brain-lab.netlify.a...... All the best! Carlos
Hi Carlos. Thanks for your kind word. Glad you find it helpful! Delighted to see your website. Nice job!
Thank you again Annie! All the best from Sheffield, UK! Carlos
Hi Sid. Good question. I modified my config.toml file and set
copyright = "Code with <i class='fas fa-heart'></i> and <i class='fab fa-r-project'></i> <a href='https://bookdown.org/yihui/blogdown/'>Blogdown</a><br>© Annie Lyu, {year}"
And I deleted the two files content/privacy.md and content/terms.md.
Hi Annie, thanks for the tutorial (one of the comments already solved one of my issues!), I wanted to know how you set up the social sharing buttons on the bottom of your post. I can successfully publish posts using a rmarkdown file, but cannot figure out where to set the social media buttons specific to that post.
Thanks!
Hi ajb474, glad to know this post is helpful to you. To enable those buttons, I set `sharing = true` in the file `config/_default/params.toml`.
Hi Annie, thanks for the response. I see the buttons you are referring to (the red ones in the attached image) but how about the other buttons (the black ones in the attached image)? https://uploads.disquscdn.c...
Emm. That's weird. For me, `sharing = true/false` will turn on/off those sharing buttons in black. The red social icons are linked to my social profile pages and they are configured in `content/authors/annielyu/_index.md`. Do you happen to use a different theme other than "gcushen/hugo-academic"? In that case, the configuration files may work differently.
sorry for the clutter, please see my response above for the correct one...
Hi Annie, how did you add search functionality for the posts that happen completely on client side? this is so that I can have basic search implemented without internet connection
Hi Sam, thanks for putting forward the question. I'm not sure if I quite understand your need. The search widget on the menu bar of my site is provided by this hugo theme. I configure this feature using the code in the file `config/_default/params.toml`. That's all I did :)
Hi Annie. Very useful turorial. I've already set the basics for my own website.
There is one thing I've cannot done, though.
¿Could you explain how can you add a thumbail image for your posts? I've been searching in stackoverflow, etc for hours now, and any of the solutions work for me.
Thanks :)
Hi, Martin. Thank you for using this tutorial.
To add a featured image to your post, you need to create a sub folder (under content/post) containing a Markdown file ("index") and a featured image ("featured"). DO NOT rename the two files. The same trick works for a publication page as well. You can find an exmaple in my talk and my GitHub repo.
I hope this information is helpful. Good luck!
Thanks Annie :)
I've ended up picking the Tranquilpeak theme.
It looks like you have to introduce "thumbailImage" in YALM and link an url with the image you want.
Thanks again :)
No problem. It's awesome you figured it out. Glad to hear this tutorial is useful for other hugo themes too. Thanks for letting me know :)
Hi Annie, Thank you for the tutorial! I successfully deploy using netlify, and customised my google domain to the netlify DNS. However, the connection is unstable from time to time. I am thinking maybe I didn't set up in the right way. Should I simply redirect my google domain to the netlify default domain?
Hi Zhiling, I'm so glad to hear that you find this tutorial useful! By saying the connection is unstable, did you mean your custom domain is sometimes directing visitor to `404 not found`?
Hi Annie, thank you for your response! My problem has been solved!
The error message was "server IP not found". That happened after around 20 hours after I direct my google domain to netlify DNS. I believe it takes time for google to finish up the DNS setting. The problem disappeared after 24 hours.
Wonderful! I bet that's the reason. I also experienced a waiting time of 24 hrs (sometimes 48 hrs) the first time I set up the DNS of my custom domain. Thank you for commenting. I believe this can be useful information for other people too!
Some `blogdown` posts that have quoted this tutorial (thank you!!!):
- Building your personal website with R blogdown by Yabin Da
- Showcasing Your #rstats Skills with blogdown by Anthony Scotina
- First post by heffjos
- New website made with blogdown by James Robbins
- Comments for Hugo Academic (Wowchemy) with Utterances by David Fong | 方拔萃
To be continued...