gin-gonic / website

Official website and document for Gin
https://gin-gonic.com/
MIT License
121 stars 202 forks source link

website have many ad when use Disqus. #76

Open thinkerou opened 5 years ago

thinkerou commented 5 years ago

So, we could remove it, or use other instead.

VincentTam commented 5 years ago

Hi, this is the maintainer of @staticmanlab, a public GitLab instance of Staicman. Disqus has a plethora of shortcomings that deter many bloggers, say

  1. privacy issues
  2. slow load speed
  3. no markdown support
  4. poor SEO
  5. high cost of migration

You may avoid these problems by switching to static comments powered by Staticman, which makes use of GitHub/GitLab Pull/Merge Requests. Under Staticman's model, static comments are YML/JSON files stored in the remote GitHub/GitLab repo (usually under data/comments, configurable through the path parameter in root-level staticman.yml), and through a static blog generator (Jekyll/Hugo/etc), the stored data are rendered as part of the content. This gives a total ownership of a static site's comments.

For working examples of Staticman, you may see

  1. a popular Jekyll theme called Beautiful Jekyll, which has incorporated my port of Minimal Mistake's Staticman integration.
  2. zcrc.me Source: a personal Jekyll blog with Markdown support and preview.
  3. my personal blog Source powered by my tweaked Beautiful Hugo, with nested comments and comments preview.
  4. a group of my Staticman demo sites on Framagit.

:information_source: There're many ways to Rome, say JAMstack, Netlify comments, etc.

thinkerou commented 5 years ago

@VincentTam thanks, I will check it later on.