Skip to content

Commit 567dba2

Browse files
authored
Merge pull request #16 from 42-AI/dev
2 parents 9935102 + b6c52ad commit 567dba2

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

_config.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ title: 42 Artificial Intelligence # the main title
1818

1919
tagline: # it will display as the subtitle
2020

21-
description: # used by seo meta and the atom feed
22-
fr: Association étudiante dédiée à la découverte, à la promotion et à l'apprentissage de l'Intelligence Artificielle.
23-
en: Free learning resources for python, machine learning and deep learning. 42 Paris student association.
24-
21+
# used by seo meta and the atom feed
22+
description: 42 Paris student association dedicated to fostering learning, discussion and interest for Artificial Intelligence. Free learning resources for python, machine learning and deep learning. AI lovers.
2523

2624
# Fill in the protocol & hostname for your site.
2725
# E.g. 'https://username.github.io', note that it does not end with a '/'.

_data/locales/tabs/home.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Interested in knowing more ? Find out all the relevant information in the <a hre
4242
en: "Write a blog post"
4343
url:
4444
fr: /42students#contribuer-en-publiant-un-billet-de-blog
45-
en: /42students/#contributing-by-publishing-a-blog-article
45+
en: /42students#contributing-by-publishing-a-blog-article
4646
last_activity:
4747
fr: "Dernières actualités"
4848
en: "Last news"

_includes/42ai_home.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- ***************************************** -->
2-
<!-- 42AI HOME IMPORTS : importing relevant language variables and creating custom classes for homepage -->
2+
<!-- 42AI HOME IMPORTS : importing relevant language variables and creating custom HTML and CSS for homepage -->
33
<!-- ***************************************** -->
44

55
{% assign 42ai_home = /site.data.locales["tabs"]['home'].home %}
@@ -83,10 +83,8 @@ <h3>{{42ai_home.welcome[lang]}}</h3>
8383
<!-- //Social media Icons Links list -->
8484
</div>
8585
<!-- // TLDR -->
86-
8786

8887
<hr/>
89-
9088

9189
<!-- QUICK ACCESS -->
9290
<div style="margin: 25px 15px 15px 15px;">
@@ -131,7 +129,6 @@ <h3>{{ 42ai_home.quick_access.text[site.active_lang] }}
131129

132130
<hr/>
133131

134-
135132
<!-- ACTIVITY / LAST POSTS -->
136133
<div style="margin: 25px 15px 25px 15px;">
137134

_includes/update-list.html

+17-14
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
{% assign all_list = '' | split: '' %}
66

77
{% for post in site.posts %}
8-
{% assign datetime = post.last_modified_at | default: post.date %}
8+
<!-- Modif 42AI -->
9+
{% assign datetime = default: post.date %}
10+
<!-- Initial line : -->
11+
<!-- {% assign datetime = post.last_modified_at | default: post.date %} -->
12+
<!-- Fin Modif42AI -->
913

1014
{% capture elem %}
1115
{{- datetime | date: "%Y%m%d%H%M%S" -}}::{{- forloop.index0 -}}
@@ -14,7 +18,7 @@
1418
{% assign all_list = all_list | push: elem %}
1519
{% endfor %}
1620

17-
{% assign all_list = all_list | sort | reverse %}
21+
{% assign all_list = all_list | sort | reverse %}
1822

1923
{% assign update_list = '' | split: '' %}
2024

@@ -24,7 +28,7 @@
2428

2529
{% if update_list.size > 0 %}
2630
<section id="access-lastmod">
27-
<h2 class="panel-heading">{{- site.data.locales[site.active_lang].panel.lastmod -}}<img style="margin: 0px auto 5px 5px" width="12px" src="/assets/img/corner.png"/></h2>
31+
<h2 class="panel-heading">{{- site.data.locales[site.active_lang].panel.lastmod -}}<img style="margin: 0px auto 5px 5px; width:12px" src="/assets/img/corner.png"/></h2>
2832
<ul class="content list-unstyled ps-0 pb-1 ms-1 mt-2">
2933
{% for item in update_list %}
3034
{% assign index = item | split: '::' | last | plus: 0 %}
@@ -36,17 +40,16 @@ <h2 class="panel-heading">{{- site.data.locales[site.active_lang].panel.lastmod
3640
{% endfor %}
3741

3842
</ul>
39-
<!-- Ajout 42AI -->
40-
<a href="/categories">
41-
<button class="post-tag btn btn-outline-primary" style="background-color: lightgrey; margin-top: 05px;
42-
border-radius: 5px; font-family: roboto;">
43-
{% if site.active_lang == 'fr' %}Voir tous les posts
44-
{% elsif site.active_lang == 'en' %}See all posts
45-
{% endif %}
46-
</button>
47-
48-
</a>
49-
<!-- //Ajout 42AI -->
43+
<!-- Ajout 42AI -->
44+
<a href="/categories">
45+
<button class="post-tag btn btn-outline-primary" style="background-color: lightgrey; margin-top: 05px;
46+
border-radius: 5px; font-family: roboto;">
47+
{% if site.active_lang == 'fr' %}Voir tous les posts
48+
{% elsif site.active_lang == 'en' %}See all posts
49+
{% endif %}
50+
</button>
51+
</a>
52+
<!-- //Ajout 42AI -->
5053

5154
</section>
5255
<!-- #access-lastmod -->

_posts/2024-06-28-Vendred'IA.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Au programme de cette conférence introductive :
2424

2525
Cette conférence est ouverte à tous, et ne nécessite aucune expertise en IA.
2626

27-
📅 Vendredi 28 Juin à 19h
27+
- 📅 Vendredi 28 Juin à 19h -
2828

2929
📍 BESS, Café des Associations
3030

_tabs/posts-en.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,22 @@ 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

17-
> [Create a blog article on 42AI's site](/42students/#contributing-by-publishing-a-blog-article)
19+
> [Create a blog article on 42AI's site](/en/42students#contributing-by-publishing-a-blog-article)
1820
1921
## Articles
2022

2123
<div id="post-list" class="flex-grow-1 px-xl-1" style="max-width: 90%; margin: 0 5% 0 5%;">
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>

_tabs/posts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ display_metadata: False
1414

1515
## Contributions
1616

17-
> [Publier un article](/42students/#contribuer-en-publiant-un-billet-de-blog)
17+
> [Publier un article](/42students#contribuer-en-publiant-un-billet-de-blog)
1818
1919
## Articles
2020

0 commit comments

Comments
 (0)