Skip to content

Commit

Permalink
fix excerpt by stripping out html
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgordonbell committed May 6, 2024
1 parent 7419526 commit 7e5f83d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog/_includes/archive-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h2 class="archive__item-title no_toc heading mt-4 pl-2 pr-2 text-xl font-semibo
{% endif %}

{% include archive__meta.html type=include.type %}
{% if post.excerpt %}<p class="archive__item-excerpt pl-2 pt-1 pr-2" itemprop="description">{{ post.excerpt | truncate: 160 }}</p>{% endif %}
{% if post.excerpt %}<p class="archive__item-excerpt pl-2 pt-1 pr-2" itemprop="description">{{ post.excerpt | strip_html | truncate: 160 }}</p>{% endif %}
</div>
</article>
</div>
4 changes: 2 additions & 2 deletions blog/_posts/2024-04-30-python-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ internal-links:
- best python libraries for data science
- top python libraries for data science
- top 10 python libraries for data science
excerpt: |
This article provides an overview of the top Python Libraries for data science. These include Beautiful Soup, Keras, TensorFlow, Matplotlib and some other interesting libs.
-excerpt: |
This article provides an overview of the top Python Libraries for data science. These include Beautiful Soup, Keras, TensorFlow, Matplotlib and some other interesting libraries.
---

One of the main reasons why Python is the go-to programming language for data science is its [vast ecosystem](https://learnpython.com/blog/python-modules-packages-libraries-frameworks/) of libraries, packages, and frameworks, many of which are geared toward data science.
Expand Down

0 comments on commit 7e5f83d

Please sign in to comment.