ElectricRCAircraftGuy / ElectricRCAircraftGuy.github.io

My github pages website at gabrielstaples.com
https://gabrielstaples.com/
5 stars 1 forks source link

https://gabrielstaples.com/github-pages-comments/ #103

Open utterances-bot opened 7 months ago

utterances-bot commented 7 months ago

How to add comments in blog posts on GitHub Pages websites | GabrielStaples.com

This, https://gabrielstaples.com/, is my Github Pages static website and blog, powered by the Jekyll static site generator, based on a custom-modified version of the Minimal Mistakes Jekyll theme, and written in the efficient, fast, and easy-to-read markup language called markdown.

https://gabrielstaples.com/github-pages-comments/

ElectricRCAircraftGuy commented 7 months ago

This is a test comment. You can use markdown formatting.

List:

Numbered list:

  1. some
  2. cool
  3. things

italics
bold
bold and italics

C code: hello_world_extra_basic.c from my eRCaGuy_hello_world repo:

///usr/bin/env ccache gcc -Wall -Wextra -Werror -O3 -std=gnu17 "$0" -o /tmp/a -lm && /tmp/a "$@"; exit
// For the line just above, see my answer here: https://stackoverflow.com/a/75491834/4561887

/*
This file is part of eRCaGuy_hello_world:
https://github.com/ElectricRCAircraftGuy/eRCaGuy_hello_world
...
*/

#include <stdbool.h> // For `true` (`1`) and `false` (`0`) macros in C
#include <stdint.h>  // For `uint8_t`, `int8_t`, etc.
#include <stdio.h>   // For `printf()`

// int main(int argc, char *argv[])  // alternative prototype
int main()
{
    printf("Hello World.\n\n");

    return 0;
}
jackyyeh5111 commented 6 months ago

test comments

baribeau commented 5 months ago

Nice! Thanks for the tutorial. Have some bold text.

limegimlet commented 4 months ago

Thanks a lot for doing this. It's cool for us GH users, but I'll need to find something that more universal. Or create another blog.

FuhuXia commented 4 months ago

Nice work. Was thinking about the possibility of doing this and found out in stackexchange that you have made it happen.

One question, if I don't use custom domain for the github pages, do I still need to do the "Sign in to GitHub to continue to utterances" thing?

Thanks! ps. test to see if I ~have~ can do emoji. :beer: pss. see I can do edit! :smile:

ElectricRCAircraftGuy commented 4 months ago

@FuhuXia , thanks. Glad people are finding this.

you have made it happen.

Not exactly. I didn't make this tool, I only wrote about it and am using it.

One question, if I don't use custom domain for the github pages, do I still need to do the "Sign in to GitHub to continue to utterances" thing?

I'd say yes. The instructions state:

Make sure the utterances app is installed on the repo, otherwise users will not be able to post comments.

I don't think the custom domain changes anything in this regard.

sutrosoftware commented 3 months ago

testing one two three

datadexa commented 3 months ago

Thank you for the informative post. Can people without a github account leave a comment?

ElectricRCAircraftGuy commented 3 months ago

@datadexa , no. They'll see this (as viewed from an incognito tab in Chrome):

image

eerio commented 3 weeks ago

perfect! will use it for my website:) (test)