Skip to content

Commit 1f0eb65

Browse files
committed
add google analytics and disqus
1 parent 6ff88f6 commit 1f0eb65

28 files changed

Lines changed: 609 additions & 32 deletions

_site/book/appendix_csvs.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,5 +486,29 @@ <h3 id="_implementing_a_repository_and_unit_of_work_for_csvs">Implementing a Rep
486486
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
487487
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
488488
</style>
489-
</body>
489+
<div><div id="disqus_thread" style="margin: 10px"></div>
490+
<script>
491+
492+
var disqus_config = function () {
493+
this.page.url = 'https://cosmicpython.com';
494+
this.page.identifier = 'appendix_csvs';
495+
};
496+
497+
(function() { // DON'T EDIT BELOW THIS LINE
498+
var d = document, s = d.createElement('script');
499+
s.src = 'https://cosmic-python.disqus.com/embed.js';
500+
s.setAttribute('data-timestamp', +new Date());
501+
(d.head || d.body).appendChild(s);
502+
})();
503+
</script>
504+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
505+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
506+
<script>
507+
window.dataLayer = window.dataLayer || [];
508+
function gtag(){dataLayer.push(arguments);}
509+
gtag('js', new Date());
510+
511+
gtag('config', 'UA-40928035-3');
512+
</script>
513+
</head></html></body>
490514
</html>

_site/book/appendix_django.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,5 +728,29 @@ <h3 id="_steps_along_the_way">Steps Along the Way</h3>
728728
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
729729
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
730730
</style>
731-
</body>
731+
<div><div id="disqus_thread" style="margin: 10px"></div>
732+
<script>
733+
734+
var disqus_config = function () {
735+
this.page.url = 'https://cosmicpython.com';
736+
this.page.identifier = 'appendix_django';
737+
};
738+
739+
(function() { // DON'T EDIT BELOW THIS LINE
740+
var d = document, s = d.createElement('script');
741+
s.src = 'https://cosmic-python.disqus.com/embed.js';
742+
s.setAttribute('data-timestamp', +new Date());
743+
(d.head || d.body).appendChild(s);
744+
})();
745+
</script>
746+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
747+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
748+
<script>
749+
window.dataLayer = window.dataLayer || [];
750+
function gtag(){dataLayer.push(arguments);}
751+
gtag('js', new Date());
752+
753+
gtag('config', 'UA-40928035-3');
754+
</script>
755+
</head></html></body>
732756
</html>

_site/book/appendix_ds1_table.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,29 @@ <h2 id="appendix_ds1_table">Appendix A: Summary Diagram and Table</h2>
223223
Last updated 2020-03-16 11:03:29 UTC
224224
</div>
225225
</div>
226-
</body>
226+
<div><div id="disqus_thread" style="margin: 10px"></div>
227+
<script>
228+
229+
var disqus_config = function () {
230+
this.page.url = 'https://cosmicpython.com';
231+
this.page.identifier = 'appendix_ds1_table';
232+
};
233+
234+
(function() { // DON'T EDIT BELOW THIS LINE
235+
var d = document, s = d.createElement('script');
236+
s.src = 'https://cosmic-python.disqus.com/embed.js';
237+
s.setAttribute('data-timestamp', +new Date());
238+
(d.head || d.body).appendChild(s);
239+
})();
240+
</script>
241+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
242+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
243+
<script>
244+
window.dataLayer = window.dataLayer || [];
245+
function gtag(){dataLayer.push(arguments);}
246+
gtag('js', new Date());
247+
248+
gtag('config', 'UA-40928035-3');
249+
</script>
250+
</head></html></body>
227251
</html>

_site/book/appendix_project_structure.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,5 +716,29 @@ <h3 id="_wrap_up">Wrap-Up</h3>
716716
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
717717
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
718718
</style>
719-
</body>
719+
<div><div id="disqus_thread" style="margin: 10px"></div>
720+
<script>
721+
722+
var disqus_config = function () {
723+
this.page.url = 'https://cosmicpython.com';
724+
this.page.identifier = 'appendix_project_structure';
725+
};
726+
727+
(function() { // DON'T EDIT BELOW THIS LINE
728+
var d = document, s = d.createElement('script');
729+
s.src = 'https://cosmic-python.disqus.com/embed.js';
730+
s.setAttribute('data-timestamp', +new Date());
731+
(d.head || d.body).appendChild(s);
732+
})();
733+
</script>
734+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
735+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
736+
<script>
737+
window.dataLayer = window.dataLayer || [];
738+
function gtag(){dataLayer.push(arguments);}
739+
gtag('js', new Date());
740+
741+
gtag('config', 'UA-40928035-3');
742+
</script>
743+
</head></html></body>
720744
</html>

_site/book/appendix_validation.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,5 +795,29 @@ <h3 id="_validating_pragmatics">Validating Pragmatics</h3>
795795
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
796796
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
797797
</style>
798-
</body>
798+
<div><div id="disqus_thread" style="margin: 10px"></div>
799+
<script>
800+
801+
var disqus_config = function () {
802+
this.page.url = 'https://cosmicpython.com';
803+
this.page.identifier = 'appendix_validation';
804+
};
805+
806+
(function() { // DON'T EDIT BELOW THIS LINE
807+
var d = document, s = d.createElement('script');
808+
s.src = 'https://cosmic-python.disqus.com/embed.js';
809+
s.setAttribute('data-timestamp', +new Date());
810+
(d.head || d.body).appendChild(s);
811+
})();
812+
</script>
813+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
814+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
815+
<script>
816+
window.dataLayer = window.dataLayer || [];
817+
function gtag(){dataLayer.push(arguments);}
818+
gtag('js', new Date());
819+
820+
gtag('config', 'UA-40928035-3');
821+
</script>
822+
</head></html></body>
799823
</html>

_site/book/chapter_01_domain_model.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,5 +1295,29 @@ <h4 id="_exceptions_can_express_domain_concepts_too">Exceptions Can Express Doma
12951295
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
12961296
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
12971297
</style>
1298-
</body>
1298+
<div><div id="disqus_thread" style="margin: 10px"></div>
1299+
<script>
1300+
1301+
var disqus_config = function () {
1302+
this.page.url = 'https://cosmicpython.com';
1303+
this.page.identifier = 'chapter_01_domain_model';
1304+
};
1305+
1306+
(function() { // DON'T EDIT BELOW THIS LINE
1307+
var d = document, s = d.createElement('script');
1308+
s.src = 'https://cosmic-python.disqus.com/embed.js';
1309+
s.setAttribute('data-timestamp', +new Date());
1310+
(d.head || d.body).appendChild(s);
1311+
})();
1312+
</script>
1313+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1314+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
1315+
<script>
1316+
window.dataLayer = window.dataLayer || [];
1317+
function gtag(){dataLayer.push(arguments);}
1318+
gtag('js', new Date());
1319+
1320+
gtag('config', 'UA-40928035-3');
1321+
</script>
1322+
</head></html></body>
12991323
</html>

_site/book/chapter_02_repository.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,5 +1294,29 @@ <h3 id="_wrap_up">Wrap-Up</h3>
12941294
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
12951295
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
12961296
</style>
1297-
</body>
1297+
<div><div id="disqus_thread" style="margin: 10px"></div>
1298+
<script>
1299+
1300+
var disqus_config = function () {
1301+
this.page.url = 'https://cosmicpython.com';
1302+
this.page.identifier = 'chapter_02_repository';
1303+
};
1304+
1305+
(function() { // DON'T EDIT BELOW THIS LINE
1306+
var d = document, s = d.createElement('script');
1307+
s.src = 'https://cosmic-python.disqus.com/embed.js';
1308+
s.setAttribute('data-timestamp', +new Date());
1309+
(d.head || d.body).appendChild(s);
1310+
})();
1311+
</script>
1312+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1313+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
1314+
<script>
1315+
window.dataLayer = window.dataLayer || [];
1316+
function gtag(){dataLayer.push(arguments);}
1317+
gtag('js', new Date());
1318+
1319+
gtag('config', 'UA-40928035-3');
1320+
</script>
1321+
</head></html></body>
12981322
</html>

_site/book/chapter_03_abstractions.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,5 +1073,29 @@ <h3 id="_wrap_up">Wrap-Up</h3>
10731073
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
10741074
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
10751075
</style>
1076-
</body>
1076+
<div><div id="disqus_thread" style="margin: 10px"></div>
1077+
<script>
1078+
1079+
var disqus_config = function () {
1080+
this.page.url = 'https://cosmicpython.com';
1081+
this.page.identifier = 'chapter_03_abstractions';
1082+
};
1083+
1084+
(function() { // DON'T EDIT BELOW THIS LINE
1085+
var d = document, s = d.createElement('script');
1086+
s.src = 'https://cosmic-python.disqus.com/embed.js';
1087+
s.setAttribute('data-timestamp', +new Date());
1088+
(d.head || d.body).appendChild(s);
1089+
})();
1090+
</script>
1091+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1092+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
1093+
<script>
1094+
window.dataLayer = window.dataLayer || [];
1095+
function gtag(){dataLayer.push(arguments);}
1096+
gtag('js', new Date());
1097+
1098+
gtag('config', 'UA-40928035-3');
1099+
</script>
1100+
</head></html></body>
10771101
</html>

_site/book/chapter_04_service_layer.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,5 +1221,29 @@ <h4 id="_the_dip_in_action">The DIP in Action</h4>
12211221
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
12221222
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
12231223
</style>
1224-
</body>
1224+
<div><div id="disqus_thread" style="margin: 10px"></div>
1225+
<script>
1226+
1227+
var disqus_config = function () {
1228+
this.page.url = 'https://cosmicpython.com';
1229+
this.page.identifier = 'chapter_04_service_layer';
1230+
};
1231+
1232+
(function() { // DON'T EDIT BELOW THIS LINE
1233+
var d = document, s = d.createElement('script');
1234+
s.src = 'https://cosmic-python.disqus.com/embed.js';
1235+
s.setAttribute('data-timestamp', +new Date());
1236+
(d.head || d.body).appendChild(s);
1237+
})();
1238+
</script>
1239+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1240+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
1241+
<script>
1242+
window.dataLayer = window.dataLayer || [];
1243+
function gtag(){dataLayer.push(arguments);}
1244+
gtag('js', new Date());
1245+
1246+
gtag('config', 'UA-40928035-3');
1247+
</script>
1248+
</head></html></body>
12251249
</html>

_site/book/chapter_05_high_gear_low_gear.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,5 +788,29 @@ <h3 id="_wrap_up">Wrap-Up</h3>
788788
pre.pygments .tok-vm { color: #bb60d5 } /* Name.Variable.Magic */
789789
pre.pygments .tok-il { color: #40a070 } /* Literal.Number.Integer.Long */
790790
</style>
791-
</body>
791+
<div><div id="disqus_thread" style="margin: 10px"></div>
792+
<script>
793+
794+
var disqus_config = function () {
795+
this.page.url = 'https://cosmicpython.com';
796+
this.page.identifier = 'chapter_05_high_gear_low_gear';
797+
};
798+
799+
(function() { // DON'T EDIT BELOW THIS LINE
800+
var d = document, s = d.createElement('script');
801+
s.src = 'https://cosmic-python.disqus.com/embed.js';
802+
s.setAttribute('data-timestamp', +new Date());
803+
(d.head || d.body).appendChild(s);
804+
})();
805+
</script>
806+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
807+
</div><html><head><script async src="https://www.googletagmanager.com/gtag/js?id=UA-40928035-3"></script>
808+
<script>
809+
window.dataLayer = window.dataLayer || [];
810+
function gtag(){dataLayer.push(arguments);}
811+
gtag('js', new Date());
812+
813+
gtag('config', 'UA-40928035-3');
814+
</script>
815+
</head></html></body>
792816
</html>

0 commit comments

Comments
 (0)