Author: henkp
Date: Wed Apr 11 15:55:27 2018
New Revision: 1828911

URL: http://svn.apache.org/viewvc?rev=1828911&view=rev
Log:
init attic_filter.lua

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=1828911&r1=1828910&r2=1828911&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Wed Apr 11 15:55:27 2018
@@ -1,18 +1,19 @@
 function output_filter(r)
     -- We only filter text/html types
     if not r.content_type:match(".*text/html.*") then return end
- 
+
     -- add header:
     local host = r.hostname:match("^([^.]+)") -- get TLP part of hostname
     coroutine.yield(([[
         <div style='width: 100%; height: 32px; color: #FFF; background: #C00;'>
-            This project has retired! See %s's
-            <a href='https://attic.apache.org/projects/%s.html'>attic</a> page.
+            This project has retired! See
+            <a 
href='https://attic.apache.org/%s.html'>attic.apache.org/%s.html</a>.
         </div>
         ]]):format(host, host))
- 
+
     -- spit out the actual page
     while bucket do
         coroutine.yield(bucket)
     end
+
 end


Reply via email to