File tree Expand file tree Collapse file tree
portfolio/templates/portfolio Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% load static %}
2+ {% load markdown_extras %}
23
34< li class ="w-full ">
45 < article >
1718 </ h3 >
1819 < p class ="text-xs sm:text-sm text-gray-600 dark:text-gray-400 mt-2
1920 line-clamp-3 break-words leading-relaxed ">
20- {{ post.excerpt|truncatewords:20|striptags }}
21+ {{ post.excerpt|markdown|striptags| truncatewords:20 }}
2122 </ p >
2223 </ div >
2324 </ a >
Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22
33{% load static %}
4+ {% load markdown_extras %}
45
56{% block title %}Saved Posts{% endblock %}
67
@@ -35,7 +36,7 @@ <h3 class="text-base sm:text-lg font-semibold text-gray-900 dark:text-gray-100 b
3536 </ h3 >
3637 {% if post.excerpt %}
3738 < p class ="text-sm text-gray-600 dark:text-gray-400 mt-2 line-clamp-2 ">
38- {{ post.excerpt|truncatewords:20|striptags }}
39+ {{ post.excerpt|markdown|striptags| truncatewords:20 }}
3940 </ p >
4041 {% endif %}
4142 </ a >
You can’t perform that action at this time.
0 commit comments