From 5dba88ca71f22c6cfd635f2558da8d04636f481c Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 11 May 2022 18:01:22 +0200 Subject: Add preview of articles in home page --- index.rhtml | 48 ++++++++---------------------------------------- index.rhtml.config | 2 +- 2 files changed, 9 insertions(+), 41 deletions(-) diff --git a/index.rhtml b/index.rhtml index 12595c0..4337b51 100644 --- a/index.rhtml +++ b/index.rhtml @@ -8,54 +8,22 @@
-
-
+ <% listarticles("articles/**/*", 6).each { |p| %> +
+
-
Gravi vulnerabilità in Log4j
- 13 dicembre 2021 -

Le vulnerabilità sfruttano le - funzionalità JNDI di Log4j consentendo ad un attaccante di - utilizzare un servizio LDAP per eseguire codice malevolo da - remoto.

+
<%= p.title %>
+ <%= p.date.strftime("%d/%m/%Y") %> +

<%= p.description %>

- -
-
-
-
Installare certificati con certbot
- 20 aprile 2021 -

Come installere i certificati su un server - web utilizzando certbot.

-
- -
-
- -
-
-
-
Programmare con le socket (Parte 1)
- 06 giugno 2009 -

La socket (in inglese "presa") è una particolare astrazione - software che permette ai processi messi in comunicazione di inviare e - ricevere dati. Le socket sono nate intorno agli anni ’80, il primo kernel - a implementarle fu BSD 4.2 nel 1983.

-
- -
-
+ <% } %>
diff --git a/index.rhtml.config b/index.rhtml.config index ff57307..cfb888b 100644 --- a/index.rhtml.config +++ b/index.rhtml.config @@ -1,2 +1,2 @@ title: "Home" -pageName: "home" +category: "home" -- cgit v1.2.3