fix: skill issue
All checks were successful
Deploy via SSH on push / deploy-via-ssh (push) Successful in 20s

This commit is contained in:
2025-12-01 12:52:06 +00:00
parent 36633ebd2b
commit c889db8c76
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import os,random import os,random
from flask import Flask, render_template, send_from_directory from flask import Flask, render_template, send_from_directory
from projects import projects from projects import projects_list
app = Flask(__name__) app = Flask(__name__)
@@ -8,7 +8,7 @@ app = Flask(__name__)
def home(): def home():
bg_files = os.listdir("static/img/backgrounds") bg_files = os.listdir("static/img/backgrounds")
bg = random.choice(bg_files) bg = random.choice(bg_files)
return render_template("index.html", title="Accueil", background=bg, projects=projects[:3]) return render_template("index.html", title="Accueil", background=bg, projects=projects_list[:3])
@app.route("/projects") @app.route("/projects")
def projects(): def projects():

View File

@@ -1,4 +1,4 @@
projects = [ projects_list = [
{ {
"title": "Kernel From Scratch", "title": "Kernel From Scratch",
"description": "Création d'un kernel en Zig 0.13 avec pilotes claviers et graphiques, IDT, GDT, gestion mémoire et shell intégré", "description": "Création d'un kernel en Zig 0.13 avec pilotes claviers et graphiques, IDT, GDT, gestion mémoire et shell intégré",