File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
web/pandas/community/blog Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44 {% for post in blog.posts %}
55 < div class ="card ">
66 < div class ="card-body ">
7- < h5 class ="card-title "> < a href ="{{ base_url }}{{ post.link }} " target ="_blank "> {{ post.title }}</ a > </ h5 >
7+ < h5 class ="card-title "> < a href ="{% if not post.link.startswith( " http ") %}{{ base_url }}{% endif %}{{ post.link }}" target="_blank "> {{ post.title }}</ a > </ h5 >
88 < h6 class ="card-subtitle text-muted small mb-4 "> Source: {{ post.feed }} | Author: {{ post.author }} | Published: {{ post.published.strftime("%b %d, %Y") }}</ h6 >
99 < div class ="card-text mb-2 "> {{ post.summary }}</ div >
10- < a class ="card-link small " href ="{{ base_url }}{{ post.link }} " target ="_blank "> Read more</ a >
10+ < a class ="card-link small " href ="{% if not post.link.startswith( " http ") %}{{ base_url }}{% endif %}{{ post.link }}" target="_blank "> Read more</ a >
1111 </ div >
1212 </ div >
1313 {% endfor %}
You can’t perform that action at this time.
0 commit comments