From 67dbeae4e90f98ef205b9e31c4ea65745a42e206 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 16 Apr 2023 14:22:30 -0300 Subject: [PATCH] =?UTF-8?q?Mi=20webring:=20hacer=20m=C3=A1s=20simple?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit inspirado en https://j3s.sh --- Mi webring.gen | 15 +++++++-------- drip.css | 24 ------------------------ 2 files changed, 7 insertions(+), 32 deletions(-) diff --git a/Mi webring.gen b/Mi webring.gen index 4451ed8..fea77b7 100755 --- a/Mi webring.gen +++ b/Mi webring.gen @@ -1,21 +1,20 @@ -#!/usr/bin/env lua5.1 +#!/usr/bin/env lua local template = [[
+
    {{range .Articles}} -
    -

    - {{.Title}} -

    -

    {{.Summary}}

    +
  • + {{.Title}} via {{.SourceTitle}} - {{.Date | datef "January 2, 2006"}} -
  • + ({{.Date | datef "January 2, 2006"}}) + {{end}} +

Generado usando diff --git a/drip.css b/drip.css index b634e1d..3ae65c7 100644 --- a/drip.css +++ b/drip.css @@ -81,30 +81,6 @@ a { content: "↜ "; } -.webring .articles { - display: flex; - flex-wrap: wrap; -} -.webring .title { - margin: 0; -} -.webring .article { - flex: 1 1 0; - display: flex; - flex-direction: column; - margin: 0.5rem; - padding: 0.5rem; - min-width: 10rem; -} -.webring .summary { - font-size: 0.8rem; - flex: 1 1 0; -} -.webring .attribution { - text-align: right; - font-size: 0.8rem; -} - .main-title { color: red; margin-top: 0;