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-docker.git
The following commit(s) were added to refs/heads/main by this push: new 4f0f86d Add twill fix 4f0f86d is described below commit 4f0f86dcf8c10702dfc7ceeba470f9eec0ad2d42 Author: Sebb <s...@apache.org> AuthorDate: Wed Mar 26 12:08:41 2025 +0000 Add twill fix --- config/attic_filter.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/attic_filter.lua b/config/attic_filter.lua index 70f2a8f..760b647 100644 --- a/config/attic_filter.lua +++ b/config/attic_filter.lua @@ -49,7 +49,7 @@ function output_filter(r) -- add header: -- special processing needed for some hosts - if host == 'predictionio' or host == 'eagle' or host == 'metamodel' or host == 'mxnet' + if host == 'predictionio' or host == 'eagle' or host == 'metamodel' or host == 'mxnet' or host == 'mxnet' then coroutine.yield('') else @@ -67,6 +67,10 @@ function output_filter(r) then local output = bucket:gsub('</header>', div..'</header>', 1) coroutine.yield(output) + elseif host == 'twill' + then + local output = bucket:gsub('</header>', div..'</header>', 1):gsub('<div class="topNav">', div..'<div class="topNav">', 1) + coroutine.yield(output) elseif host == 'eagle' then local output = bucket:gsub('</nav>', '</nav>'..div, 1)