This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git


The following commit(s) were added to refs/heads/main by this push:
     new 07f0cf0  Add definition for Abdera
07f0cf0 is described below

commit 07f0cf051fbc3ea23eaacfd88c95dd27eeeff62c
Author: Sebb <[email protected]>
AuthorDate: Thu Oct 9 23:09:37 2025 +0100

    Add definition for Abdera
    
    Note: existing banner in home page will be removed later
---
 _data/projects/abdera.yaml | 2 +-
 scripts/attic_filter.lua   | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/_data/projects/abdera.yaml b/_data/projects/abdera.yaml
index a5da37b..5329b8b 100644
--- a/_data/projects/abdera.yaml
+++ b/_data/projects/abdera.yaml
@@ -2,7 +2,7 @@
 retirement_date: 2017-02-27
 attic_issue: ATTIC-163
 attic_date: 2017-04-04
-attic_banner: false
+attic_banner: true
 project_description: >-
     Abdera was a project to build a functionally-complete, high-performance 
implementation
     of the IETF Atom Syndication Format (RFC 4287) and Atom Publishing 
Protocol (RFC 5023) specifications.
diff --git a/scripts/attic_filter.lua b/scripts/attic_filter.lua
index 6ea53eb..1283e32 100644
--- a/scripts/attic_filter.lua
+++ b/scripts/attic_filter.lua
@@ -38,12 +38,14 @@ local OVERRIDES = {
   twill = 'c',
   eagle = 'd',
   metamodel = 'e',
+  abdera = 'f',
   -- Shorthand names for testing using VAR_NAME override
   _a = 'a',
   _b = 'b',
   _c = 'c',
   _d = 'd',
-  _e = 'e'
+  _e = 'e',
+  _f = 'f',
 }
 
 function output_filter(r)
@@ -103,6 +105,9 @@ function output_filter(r)
         elseif style == 'e'
         then
             output = bucket:gsub('</nav>', div..'</nav>', 1):gsub('<div 
class="topNav">', divnew..'<div class="topNav">', 1)
+        elseif style == 'f' -- old-style Java and project websites
+        then
+            output = bucket:gsub('<body>', '<body>'..div, 1):gsub('<A 
NAME="navbar_top">', divnew..'<A NAME="navbar_top">', 1)
         else
             output = bucket
         end

Reply via email to