aboutsummaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-12-03 00:57:32 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-03 00:57:32 +0100
commita54aa19dc7f8cd344cdfb199ee94c01e0b90becc (patch)
treebcbfa7efbefaa459accf71dafc02f210e965bc28 /app/views/index
parent00dbde68fbaf7da68ccf191c33f2de88d3603aa8 (diff)
Fix: double main tags (#4014)
* replace div with main * include the slider into main * format source * add close icon for the extension slider * replace div with main * Update shortcut.phtml * fixed the nits
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/about.phtml4
-rw-r--r--app/views/index/logs.phtml4
-rw-r--r--app/views/index/tos.phtml4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/views/index/about.phtml b/app/views/index/about.phtml
index fedf6ff0b..cd8cfcade 100644
--- a/app/views/index/about.phtml
+++ b/app/views/index/about.phtml
@@ -2,7 +2,7 @@
<?php $this->partial('aside_configure'); ?>
<?php } ?>
-<div class="post content">
+<main class="post content">
<?php if (FreshRSS_Auth::hasAccess()) {?>
<div class="link-back-wrapper">
<a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
@@ -28,4 +28,4 @@
<h2><?= _t('index.about.credits') ?></h2>
<p><?= _t('index.about.credits_content') ?></p>
-</div>
+</main>
diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml
index c2b940e5c..bcdc5b073 100644
--- a/app/views/index/logs.phtml
+++ b/app/views/index/logs.phtml
@@ -1,4 +1,4 @@
-<div class="post content">
+<main class="post content">
<div class="link-back-wrapper">
<a class="link-back" href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
</div>
@@ -27,4 +27,4 @@
<?php } else { ?>
<p class="alert alert-warn"><?= _t('index.log.empty') ?></p>
<?php } ?>
-</div>
+</main>
diff --git a/app/views/index/tos.phtml b/app/views/index/tos.phtml
index 38dd0add6..f8240ed29 100644
--- a/app/views/index/tos.phtml
+++ b/app/views/index/tos.phtml
@@ -1,4 +1,4 @@
-<div class="post content">
+<main class="post content">
<?php if ($this->can_register) { ?>
<a href="<?= _url('auth', 'register') ?>">
<?= _t('gen.action.back') ?>
@@ -10,4 +10,4 @@
<?php } ?>
<?= $this->terms_of_service ?>
-</div>
+</main>