diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-26 13:00:49 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-09-26 13:00:49 +0200 |
| commit | 2e0945412f9046ae83ebfe17fcc23dd396be7701 (patch) | |
| tree | 21b43e18b19700603e75d9c44f998f1adb20ac66 | |
| parent | b15eebe233013e6f44db24fd19bf380cc7ea03f3 (diff) | |
Remove <header> element from index pages
The <header> element represents a group of introductory or navigational
aids. It is semantically incorrect to use it with only one element
inside.
The <header> element was introduced in commit 87014fa08f. That commit
describes the correct usage of <header> element with multiple elements
inside <header>.
This bug was introduced in commit fd566d3d7f.
| -rw-r--r-- | pages/index.swig | 4 | ||||
| -rw-r--r-- | pages/indexca.swig | 4 | ||||
| -rw-r--r-- | pages/nojs.swig | 4 | ||||
| -rw-r--r-- | pages/nojsca.swig | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/pages/index.swig b/pages/index.swig index 38fe1e2..ff7db42 100644 --- a/pages/index.swig +++ b/pages/index.swig @@ -24,9 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. {% block body %} <div class="jumbotron"> - <header> - <h1>Pantsu~</h1> - </header> + <h1>Pantsu~</h1> <p class="lead">Max upload size is {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p> {% include "check_script.swig" %} {% include "check_fileapi.swig" %} diff --git a/pages/indexca.swig b/pages/indexca.swig index e38ab9d..d7b468c 100644 --- a/pages/indexca.swig +++ b/pages/indexca.swig @@ -25,9 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. {% block body %} <div class="jumbotron"> - <header> - <h1>Pantsu~</h1> - </header> + <h1>Pantsu~</h1> <p class="lead">Màxima grandària de pujada {{max_upload_size}}MiB, llig la <a href="faqca.html">FAQ</a></p> {% include "check_scriptca.swig" %} {% include "check_fileapica.swig" %} diff --git a/pages/nojs.swig b/pages/nojs.swig index 91cd6d2..24d702b 100644 --- a/pages/nojs.swig +++ b/pages/nojs.swig @@ -24,9 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. {% block body %} <div class="jumbotron"> - <header> - <h1>Pantsu~</h1> - </header> + <h1>Pantsu~</h1> <p class="lead">Max upload size is {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p> {% include "check_fileapi.swig" %} {% include "upload_form_nojs.swig" %} diff --git a/pages/nojsca.swig b/pages/nojsca.swig index d972c96..76378ff 100644 --- a/pages/nojsca.swig +++ b/pages/nojsca.swig @@ -25,9 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. {% block body %} <div class="jumbotron"> - <header> - <h1>Pantsu~</h1> - </header> + <h1>Pantsu~</h1> <p class="lead">Màxima grandària de pujada: {{max_upload_size}}MiB, llig la <a href="faqca.html">FAQ</a></p> {% include "check_fileapica.swig" %} {% include "upload_form_nojs.swig" %} |
