Skip to content

Commit ce78f63

Browse files
authored
Update README.md
1 parent 233cc73 commit ce78f63

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

README.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,23 @@ See the [actions tab](https://github.com/actions/javascript-action/actions) for
140140
|`Erçetin Güler`|
141141
|`Çetin Düzgün`|
142142

143+
import { Disqus } from 'gatsby-plugin-disqus';
144+
145+
const Template = () => (
146+
/* Page contents */
147+
148+
<Disqus
149+
config={
150+
/* Replace PAGE_URL with your post's canonical URL variable */
151+
url: 'PAGE_URL',
152+
/* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
153+
identifier: 'PAGE_IDENTIFIER',
154+
/* Replace PAGE_TITLE with the title of the page */
155+
title: 'PAGE_TITLE',
156+
}
157+
/>
158+
);
159+
143160
<script type='text/javascript'>
144161
var disqus_shortname = 'starteknoloji-space';
145162
// DON'T EDIT BELOW THIS LINE
@@ -253,19 +270,4 @@ See the [actions tab](https://github.com/actions/javascript-action/actions) for
253270
</script>
254271
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
255272
<script id="dsq-count-scr" src="//starteknoloji-space.disqus.com/count.js" async></script>
256-
import { Disqus } from 'gatsby-plugin-disqus';
257-
258-
const Template = () => (
259-
/* Page contents */
260273

261-
<Disqus
262-
config={
263-
/* Replace PAGE_URL with your post's canonical URL variable */
264-
url: 'PAGE_URL',
265-
/* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
266-
identifier: 'PAGE_IDENTIFIER',
267-
/* Replace PAGE_TITLE with the title of the page */
268-
title: 'PAGE_TITLE',
269-
}
270-
/>
271-
);

0 commit comments

Comments
 (0)