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

Update disqus.html #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

volosianko77
Copy link

  1. Renamed disqus variable to disqusIdentifier for better clarity.
  2. Used ternary operator to set disqusIdentifier based on conditions.
  3. Used disqusIdentifier in the Disqus script source URL.
  4. Replaced config.extra.disqus with disqusIdentifier in the Disqus script source URL.
  5. Consolidated if conditions to check if disqusIdentifier is truthy before rendering the Disqus section.



1.  Renamed `disqus` variable to `disqusIdentifier` for better clarity.
2.  Used ternary operator to set `disqusIdentifier` based on conditions.
3.  Used `disqusIdentifier` in the Disqus script source URL.
4.  Replaced `config.extra.disqus` with `disqusIdentifier` in the Disqus script source URL.
5. Consolidated `if` conditions to check if `disqusIdentifier` is truthy before rendering the Disqus section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant