aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/txt_archive.html
diff options
context:
space:
mode:
authorLibravatar Terry 2019-03-29 01:58:39 -0300
committerLibravatar Terry 2019-03-29 01:58:39 -0300
commit3a906dcf0051a8d7e2f5320b4affe78d889ffb7b (patch)
tree165a233475635294103edba19799d875690e7dde /cgi/templates/txt_archive.html
parent4fcdc3b6a057ea4b0902245ca98a3c94eb2f611d (diff)
downloadweabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.tar.gz
weabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.tar.xz
weabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.zip
Fix + Test + nofollow
Diffstat (limited to 'cgi/templates/txt_archive.html')
-rw-r--r--cgi/templates/txt_archive.html13
1 files changed, 5 insertions, 8 deletions
diff --git a/cgi/templates/txt_archive.html b/cgi/templates/txt_archive.html
index b1e25db..8d0f49d 100644
--- a/cgi/templates/txt_archive.html
+++ b/cgi/templates/txt_archive.html
@@ -35,13 +35,10 @@
<a href="#{boards_url}#{board}/">■Volver al BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Hilo completo</a>
<?py if thread['length'] > 100: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100">1-</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100" rel="nofollow">Primeros 100</a>
<?py #endif ?>
- <?py for i in range(thread['length'] / 100): ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{(i+1)*100+1}-#{(i+2)*100}">#{(i+1)*100+1}-</a>
- <?py #endfor ?>
<?py if thread['length'] > 51: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Últimos 50</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50" rel="nofollow">Últimos 50</a>
<?py #endif ?>
<a href="#bottom">&#9660;Bajar&#9660;</a>
</div>
@@ -86,13 +83,13 @@
<a href="#{boards_url}#{board}/">■Volver al BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Hilo completo</a>
<?py if prevrange: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}">Anteriores 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}" rel="nofollow">Anteriores 100</a>
<?py #endif ?>
<?py if nextrange: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}">Próximos 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}" rel="nofollow">Próximos 100</a>
<?py #endif ?>
<?py if thread['length'] > 51: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Últimos 50</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50" rel="nofollow">Últimos 50</a>
<?py #endif ?>
<a href="#top">&#9650;Subir&#9650;</a>
</form>