Commit graph

28 commits

Author SHA1 Message Date
Sean Killeen
297989c1be
Add giscus support (#3022)
* Add script in same style as utterances

But adjusted for the various filed differences

* Add initial script

* Add default settings

* Update changelog

* Add feature to readme

* Add comments html

* add comment provider include

* update config in docs

* Add URL for additional reference

* docs for giscus comments

* Unrelated bugfix: add missing version separator

So that things match the "history" doc.

* add space

* update history doc

* update about doc

* add to test config yaml

* remove unnecessary / incorrect async attribute

* probably should pass the right config paths

* lowercase the repo name

* Update docs to address '1' and '0' for reactions_enabled

Figured I'd match the giscus format rather than convert a boolean to an int there.

* update two additional docs

* docs wording fix
2021-07-05 16:08:28 -04:00
Vincent Tam
2301fdf5a7
Remove all references to official public Staticman API instance. (#2831)
* Updated Staticman docs

* remove any ref to official public instance in docs

* remove fallback instance for staticman v2

left staticman v1 untouched as I dunno how to deal with that
2021-04-13 15:55:51 -04:00
Michael Rose
3ab6ba0b1f Replace custom comment hardcoded HTML with include
Also add custom_scripts.html include for custom comment provider JavaScript that loads in the footer.

Close #2549
2020-06-02 22:33:08 -04:00
Akhyar Amarullah
7607fcf7b6 Fix staticman v2/v3 comments (#2351)
According to the most recent docs, `branch` and `endpoint` should be inside `site.comments.staticman` config.
2019-12-19 11:38:51 -05:00
Michael Rose
59111d1e01 Remove Google+
Google+ is being shutdown on April 2, 2019. Social sharing buttong, comment provider, and author link configs have been removed from the theme.

ref: https://support.google.com/plus/answer/9195133
2019-03-05 18:53:30 -05:00
Michael Rose
a2620d34f6
Add support for utterances (#1966)
* Add support for utterances
* Add utterances config documentation
* Update CHANGELOG and history

Close #1909
2018-11-21 14:59:14 -05:00
Maxime Michel
4bd6efc323 Allow custom Staticman endpoints (#1845) 2018-09-21 09:49:58 -04:00
Michael Rose
2248a4b1ba Add conditionals for showing reCaptcha keys in form 2018-03-30 18:39:54 -04:00
Michael Rose
3e922ddf58
Upgrade Font Awesome to version 5 (#1446)
Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
2018-01-04 14:27:27 -05:00
Michael Rose
9af1e8d548 Replace fieldset elements with div.form-group
Move Staticman v2 comment logic above v1 as it will be deprecated soon.
2017-10-05 09:56:54 -04:00
Michael Rose
ab09e1bb43 Add support for Staticman v2 endpoint and reCAPTCHA
Ref: #803
2017-10-04 16:04:24 -04:00
Michael Rose
93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00
Lars Olesen
2939d45ecc Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
2017-08-22 14:46:18 -04:00
Michael Rose
8e51d4b8f1 Fix indentation and formatting 2017-07-05 12:04:53 -04:00
Zobair Shahadat
ede0654d4f Google+ page comments updated. 2017-07-05 00:38:24 -04:00
Geoff Hutchison
b86240b26a Fix bug - include section for Discourse embedded comments (#825) 2017-02-08 15:52:39 -05:00
Michael Rose
3a7dd49734 Rename #comments to something more specific
- Close #582
2016-11-17 12:12:55 -05:00
Michael Rose
c3c0fc3f51 Replace base_path with absolute_url filter where possible 2016-10-06 15:40:30 -04:00
Michael Rose
06a8249a69 Make "honeypot" input less obvious for spam bots 2016-08-21 17:22:37 -04:00
Michael Rose
804b2171a6 Improve UX of comment form
- Remove modal and insert notices above submit button
- Disable form on successfully submission
- Add "loading..." icon and text to button on submit
- Remove unused text string translations
2016-08-11 22:32:27 -04:00
Michael Rose
7aa4e3ca3d Move comments above form elements and add missing English UI text strings 2016-08-11 10:14:27 -04:00
Michael Rose
fdcaf16e2f Add includes for static-based comments powered by Staticman
- Configure Staticman with sane defaults
- Build comment form to capture new comments and ajax data to Staticman
- Build comments view that iterates over `_data/comments/post-slug/*.yml` files
2016-08-10 16:08:13 -04:00
Michael Rose
cc0b266541 Add en default text to site.locale strings
- Close #407
2016-07-29 12:16:53 -04:00
Michael Rose
d7df394a5e Make base_path available to all includes that need it 2016-04-14 14:45:48 -04:00
Michael Rose
7f42a0e4c2 Fix collapsing floats 2016-03-23 16:33:21 -04:00
Michael Rose
0e365ee248 Organize comments providers includes and make FB fill parent container 2016-03-23 12:55:36 -04:00
Michael Rose
9fecb03081 Add title to comments section
- Style .page__comments-title
- Add comments label text to data file
- Add .html extension to comment provider _includes
2016-03-17 22:36:20 -04:00
Michael Rose
f63b8fe294 Add file extensions back to non-helper _includes 2016-03-10 21:13:01 -05:00
Renamed from _includes/comments (Browse further)