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

disable feedback section #17

Open
devopstoday11 opened this issue Nov 14, 2022 · 8 comments
Open

disable feedback section #17

devopstoday11 opened this issue Nov 14, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@devopstoday11
Copy link
Contributor

How to disable this feedback / public-commenting section from the page?
I want to be able to disable it by using a parameter, instead of you completely removing that feature.

This is what I added in the blogs but I still see the feedbacks section when I publish the site (not seeing it in my local) :-
feedback: false
draft: false

image

@devopstoday11 devopstoday11 added the bug Something isn't working label Nov 14, 2022
@devopstoday11 devopstoday11 changed the title disable feedback session disable feedback section Nov 14, 2022
@devopstoday11
Copy link
Contributor Author

@tfsojon
Copy link
Collaborator

tfsojon commented Nov 15, 2022

NOTE: If you want to use Feedback then you have to generate your own disqusShortname from https://disqus.com/

Mainly feedback is comes from /config/_default/config.toml in line no. 03

image

If you make this field empty like this, then the feedback will disable for all blog posts!

image

If you don't want to disable feedback for all blog posts then use your disqusShortname for example:

image

and on the blog post use feedback: false or true to enable or disable feedback for that specific blog-post

image

@tfsojon
Copy link
Collaborator

tfsojon commented Nov 15, 2022

To un-publish any markdown page in Hugo site, use draft: true

image

@tfsojon
Copy link
Collaborator

tfsojon commented Nov 15, 2022

Added height-width Option for blog-post cover image

image

also for content image. check DevOps - What and Why? post

image

{{< image src="images/blog/blog2.png" alt="alter-text" height="" width="400px" class="img-fluid" caption="image caption" webp="false" position="float-left" >}}

Available parameters:

  • src: image source
  • alt: image alt text
  • height: image height
  • width: image width
  • class: image class
  • caption: image caption
  • webp: generate webp image | default: true
  • position: image position |center or left or right or float-left or float-right or empty

@devopstoday11
Copy link
Contributor Author

This is really good. Nice work. That's what I was looking for. Thank you. @tfsojon

@devopstoday11
Copy link
Contributor Author

@tfsojon
new feedback here,
https://www.loom.com/share/4d520f8926ab4d3ea41f5aeaa8d1a4d2

@tfsojon
Copy link
Collaborator

tfsojon commented Nov 21, 2022

We should have aimage param for SEO, social-share thumbnail images etc. so I kept the image params.
the image param is for thumbnail.
& you can see 4 new options to manage blog-post cover image like the image below

  • check failed-pixie-deployment-on-civo-kubernetes post and update this for other posts.

image

@devopstoday11
Copy link
Contributor Author

I will check this and let you know @tfsojon
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants