Skip to content

Commit 9abbad2

Browse files
committed
FIX broken relative links
1 parent 9ce3f54 commit 9abbad2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_tabs/posts-en.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permalink: /blog
1212
display_metadata: False
1313
---
1414

15+
{% assign default = site.posts | where_exp: 'item', 'item.pin != true and item.hidden != true' %}
16+
1517
## Contributions
1618

1719
> [Create a blog article on 42AI's site](/en/42students#contributing-by-publishing-a-blog-article)
@@ -22,10 +24,10 @@ display_metadata: False
2224
{% for post in site.posts %}
2325
{% if post.is_blog_post == true %}
2426
<a href="{{ post.url | relative_url }}" class="row g-0 flex-md-row-reverse">
25-
<article class="card-wrapper card" style="background-image: url(assets/img/banners/blog_card_background_img2.png); background-dimensions: cover; margin-top: 15px">
27+
<article class="card-wrapper card" style="background-image: url(assets/img/banners/blog_card_background_img2.png); background-dimensions: cover; margin-top: 15px;">
2628
<div class="col-md-{{ card_body_col }}">
2729
<div class="card-body d-flex flex-column">
28-
<h2 class="card-title my-2 mt-md-0">{{ post.title }}</h2>
30+
<h3 class="card-title my-2 mt-md-0" style="">{{ post.title }}</h3>
2931
<div class="card-text content mt-0 mb-3">
3032
<p>{% include post-description.html %}</p>
3133
</div>

0 commit comments

Comments
 (0)