File tree 1 file changed +2
-2
lines changed
web/pandas/community/blog
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
{% for post in blog.posts %}
5
5
< div class ="card ">
6
6
< 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 >
8
8
< h6 class ="card-subtitle text-muted small mb-4 "> Source: {{ post.feed }} | Author: {{ post.author }} | Published: {{ post.published.strftime("%b %d, %Y") }}</ h6 >
9
9
< 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 >
11
11
</ div >
12
12
</ div >
13
13
{% endfor %}
You can’t perform that action at this time.
0 commit comments