Skip to content

Commit

Permalink
fixed a regression in the banner header.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Jun 23, 2016
1 parent 3d05883 commit ae4a92c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v2/lua/openresty_org/templates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ template_map['header.tt2'] = function (context)
local output = {}
local i = 0

i = i + 1 output[i] = '<header>\n <p class="site-name left">\n <a href=".">OpenResty <span class="trade">&trade;</span></a>\n <small>'
i = i + 1 output[i] = '<header role="header">\n <p class="site-name left">\n <a href=".">OpenResty <span class="trade">&trade;</span></a>\n <small>'
-- line 4 "header.tt2"
i = i + 1 output[i] = stash_get(stash, {'c', 0, 'l', { 'Scalable Web Platform by Extending NGINX with Lua' }})
i = i + 1 output[i] = '</small>\n </p><!-- / site-name -->\n\n <form action="search.html" class="right">\n <fieldset>\n <input type="search" name="query" id="search"'
Expand Down
2 changes: 1 addition & 1 deletion v2/templates/header.tt2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<header>
<header role="header">
<p class="site-name left">
<a href=".">OpenResty <span class="trade">&trade;</span></a>
<small>[% c.l("Scalable Web Platform by Extending NGINX with Lua") %]</small>
Expand Down

0 comments on commit ae4a92c

Please sign in to comment.