Skip to content

Commit b3f56f4

Browse files
authored
Merge pull request #82 from it176131/include-comments
Include comments
2 parents 67d807a + a0ff06c commit b3f56f4

21 files changed

+60
-342
lines changed

_includes/comments.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<script src="https://giscus.app/client.js"
2+
data-repo="it176131/it176131.github.io"
3+
data-repo-id="R_kgDOK1ukqg"
4+
data-category="Announcements"
5+
data-category-id="DIC_kwDOK1ukqs4CcOnS"
6+
data-mapping="pathname"
7+
data-strict="0"
8+
data-reactions-enabled="1"
9+
data-emit-metadata="0"
10+
data-input-position="top"
11+
data-theme="light"
12+
data-lang="en"
13+
data-loading="lazy"
14+
crossorigin="anonymous"
15+
async>
16+
</script>

_layouts/post.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
---
4+
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5+
6+
<header class="post-header">
7+
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8+
<p class="post-meta">
9+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11+
{{ page.date | date: date_format }}
12+
</time>
13+
{%- if page.author -%}
14+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
15+
{%- endif -%}</p>
16+
</header>
17+
18+
<div class="post-content e-content" itemprop="articleBody">
19+
{{ content }}
20+
</div>
21+
22+
{% include comments.html %}
23+
24+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
25+
</article>

_posts/2024-01-10-comments.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -135,21 +135,4 @@ I don't actually know what that means, so I dropped it at the bottom of this pos
135135
Turns out that works 😅
136136
I'll eventually make edits when I "add the script to my website's template,"
137137
but until then, happy commenting!
138-
Oh, and do please be respectful 🙇.
139-
140-
<script src="https://giscus.app/client.js"
141-
data-repo="it176131/it176131.github.io"
142-
data-repo-id="R_kgDOK1ukqg"
143-
data-category="Announcements"
144-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
145-
data-mapping="pathname"
146-
data-strict="0"
147-
data-reactions-enabled="1"
148-
data-emit-metadata="0"
149-
data-input-position="top"
150-
data-theme="light"
151-
data-lang="en"
152-
data-loading="lazy"
153-
crossorigin="anonymous"
154-
async>
155-
</script>
138+
Oh, and do please be respectful 🙇.

_posts/2024-01-21-classification-report.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -202,21 +202,4 @@ While the first model did classify more patients correctly, it completely missed
202202
The second model did mislabel some patients as having cancer, which has its own cost ramifications,
203203
but it may be better to be safe than sorry.
204204

205-
Next time you hear someone say their model achieved 99% accuracy, ask them for a classification report.
206-
207-
<script src="https://giscus.app/client.js"
208-
data-repo="it176131/it176131.github.io"
209-
data-repo-id="R_kgDOK1ukqg"
210-
data-category="Announcements"
211-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
212-
data-mapping="pathname"
213-
data-strict="0"
214-
data-reactions-enabled="1"
215-
data-emit-metadata="0"
216-
data-input-position="top"
217-
data-theme="light"
218-
data-lang="en"
219-
data-loading="lazy"
220-
crossorigin="anonymous"
221-
async>
222-
</script>
205+
Next time you hear someone say their model achieved 99% accuracy, ask them for a classification report.

_posts/2024-02-06-sklearn-pipeline.html

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9475,21 +9475,4 @@ <h1 id="Conclusion">Conclusion<a class="anchor-link" href="#Conclusion">¶</a></
94759475
</div>
94769476
</main>
94779477
</body>
9478-
</html>
9479-
9480-
<script src="https://giscus.app/client.js"
9481-
data-repo="it176131/it176131.github.io"
9482-
data-repo-id="R_kgDOK1ukqg"
9483-
data-category="Announcements"
9484-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
9485-
data-mapping="pathname"
9486-
data-strict="0"
9487-
data-reactions-enabled="1"
9488-
data-emit-metadata="0"
9489-
data-input-position="top"
9490-
data-theme="light"
9491-
data-lang="en"
9492-
data-loading="lazy"
9493-
crossorigin="anonymous"
9494-
async>
9495-
</script>
9478+
</html>

_posts/2024-02-17-sklearn-pipeline-pt2.html

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8967,21 +8967,4 @@ <h1 id="Conclusion">Conclusion<a class="anchor-link" href="#Conclusion">¶</a></
89678967
</div>
89688968
</main>
89698969
</body>
8970-
</html>
8971-
8972-
<script src="https://giscus.app/client.js"
8973-
data-repo="it176131/it176131.github.io"
8974-
data-repo-id="R_kgDOK1ukqg"
8975-
data-category="Announcements"
8976-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
8977-
data-mapping="pathname"
8978-
data-strict="0"
8979-
data-reactions-enabled="1"
8980-
data-emit-metadata="0"
8981-
data-input-position="top"
8982-
data-theme="light"
8983-
data-lang="en"
8984-
data-loading="lazy"
8985-
crossorigin="anonymous"
8986-
async>
8987-
</script>
8970+
</html>

_posts/2024-03-09-stack-overflow-api.html

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8105,21 +8105,4 @@ <h1 id="Conclusion">Conclusion<a class="anchor-link" href="#Conclusion">¶</a></
81058105
</div>
81068106
</main>
81078107
</body>
8108-
</html>
8109-
8110-
<script src="https://giscus.app/client.js"
8111-
data-repo="it176131/it176131.github.io"
8112-
data-repo-id="R_kgDOK1ukqg"
8113-
data-category="Announcements"
8114-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
8115-
data-mapping="pathname"
8116-
data-strict="0"
8117-
data-reactions-enabled="1"
8118-
data-emit-metadata="0"
8119-
data-input-position="top"
8120-
data-theme="light"
8121-
data-lang="en"
8122-
data-loading="lazy"
8123-
crossorigin="anonymous"
8124-
async>
8125-
</script>
8108+
</html>

_posts/2024-03-12-ipynb-to-post.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -120,21 +120,4 @@ A post produced by an annoyance, that came from a post produced by a missing fea
120120
I'll refrain from anymore promises until I keep the one I've delayed 😉.
121121

122122
> P.S. here's a link to the
123-
> [_ipynb_to_post.py_](https://github.com/it176131/it176131.github.io/blob/main/ipynb_to_post.py) script.
124-
125-
<script src="https://giscus.app/client.js"
126-
data-repo="it176131/it176131.github.io"
127-
data-repo-id="R_kgDOK1ukqg"
128-
data-category="Announcements"
129-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
130-
data-mapping="pathname"
131-
data-strict="0"
132-
data-reactions-enabled="1"
133-
data-emit-metadata="0"
134-
data-input-position="top"
135-
data-theme="light"
136-
data-lang="en"
137-
data-loading="lazy"
138-
crossorigin="anonymous"
139-
async>
140-
</script>
123+
> [_ipynb_to_post.py_](https://github.com/it176131/it176131.github.io/blob/main/ipynb_to_post.py) script.

_posts/2024-03-23-contributing.html

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8045,21 +8045,4 @@ <h1 id="Submit">Submit<a class="anchor-link" href="#Submit">¶</a></h1>
80458045
</div>
80468046
</main>
80478047
</body>
8048-
</html>
8049-
8050-
<script src="https://giscus.app/client.js"
8051-
data-repo="it176131/it176131.github.io"
8052-
data-repo-id="R_kgDOK1ukqg"
8053-
data-category="Announcements"
8054-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
8055-
data-mapping="pathname"
8056-
data-strict="0"
8057-
data-reactions-enabled="1"
8058-
data-emit-metadata="0"
8059-
data-input-position="top"
8060-
data-theme="light"
8061-
data-lang="en"
8062-
data-loading="lazy"
8063-
crossorigin="anonymous"
8064-
async>
8065-
</script>
8048+
</html>

_posts/2024-03-24-contributing-pt2.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,4 @@ The hardest part was figuring out how to word everything and then link to a PR t
259259
In the end it came out looking alright.
260260
I pushed my code to my forked repo and opened a pull request.
261261
Now I wait for feedback from the author and any other contributors.
262-
[Following along here!](https://github.com/rasbt/mlxtend/pull/1087)
263-
264-
<script src="https://giscus.app/client.js"
265-
data-repo="it176131/it176131.github.io"
266-
data-repo-id="R_kgDOK1ukqg"
267-
data-category="Announcements"
268-
data-category-id="DIC_kwDOK1ukqs4CcOnS"
269-
data-mapping="pathname"
270-
data-strict="0"
271-
data-reactions-enabled="1"
272-
data-emit-metadata="0"
273-
data-input-position="top"
274-
data-theme="light"
275-
data-lang="en"
276-
data-loading="lazy"
277-
crossorigin="anonymous"
278-
async>
279-
</script>
262+
[Following along here!](https://github.com/rasbt/mlxtend/pull/1087)

0 commit comments

Comments
 (0)