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

How to use utterances in generated blog? #32

Open
gricn opened this issue Feb 16, 2022 · 1 comment
Open

How to use utterances in generated blog? #32

gricn opened this issue Feb 16, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@gricn
Copy link

gricn commented Feb 16, 2022

First of all, thanks for your project. Your code is precise and well written. I really like your code and learned a lot from it.

I saw your personal blog and find utterances component in your page. That is the mainly reason I use notablog instead of other Notion blog CMS tools like notion-blog to build my new version of GitHub Page.

When I try to put it to prod, however, I find no utterances relative items in folder. I also read source code in your GitHub Page repo and find utterances config file, css files and relevant setting.

So, how do you implement it? Is there any way to generate utterances using notablog cli?

@dragonman225
Copy link
Owner

dragonman225 commented Feb 25, 2022

Hi, I followed the steps on https://utteranc.es/ and insert the final <script> snippet after this line in Notablog's default theme.
I also edited this CSS in the theme to adjust the layout of the comment box. (the result is here)

@dragonman225 dragonman225 added the documentation Improvements or additions to documentation label Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants