You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@attic.apache.org by bu...@apache.org on 2021/07/14 12:22:01 UTC

svn commit: r1891538 - /attic/site/docs/scripts/attic_filter.lua

Author: buildbot
Date: Wed Jul 14 12:22:01 2021
New Revision: 1891538

URL: http://svn.apache.org/viewvc?rev=1891538&view=rev
Log:
Automatic Site Publish by Buildbot

Modified:
    attic/site/docs/scripts/attic_filter.lua

Modified: attic/site/docs/scripts/attic_filter.lua
URL: http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1891538&r1=1891537&r2=1891538&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Wed Jul 14 12:22:01 2021
@@ -18,16 +18,16 @@ function output_filter(r)
     -- add header:
     -- get TLP part of hostname
     local host = r.hostname:match("^([^.]+)")
-    -- Prettify (TODO: look up real name)
-    local name = host:gsub("^%l", string.upper)
+
     local sty1 = 'font-size:x-large;padding:15px;color:white;background:red;' ;
     local sty2 = 'color:white;text-decoration:underline' ;
     local div = ([[
       <div style='%s'>
-        Project <i>%s</i> has retired. For details please refer to its
+        This project has retired. For details please refer to its
         <a style='%s' href="https://attic.apache.org/projects/%s.html">
         Attic page</a>.
-      </div>]]):format(sty1, name, sty2, host)
+      </div>]]):format(sty1, sty2, host)
+
     -- special processing needed for some hosts
     if host == 'predictionio' or host == 'eagle' or host == 'metamodel'
     then