aboutsummaryrefslogtreecommitdiff
path: root/cgi
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
parent4fcdc3b6a057ea4b0902245ca98a3c94eb2f611d (diff)
downloadweabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.tar.gz
weabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.tar.xz
weabot-3a906dcf0051a8d7e2f5320b4affe78d889ffb7b.zip
Fix + Test + nofollow
Diffstat (limited to 'cgi')
-rw-r--r--cgi/templates/txt_archive.html13
-rw-r--r--cgi/templates/txt_thread.en.html10
-rw-r--r--cgi/templates/txt_thread.html10
3 files changed, 15 insertions, 18 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>
diff --git a/cgi/templates/txt_thread.en.html b/cgi/templates/txt_thread.en.html
index 2e811cb..20b2954 100644
--- a/cgi/templates/txt_thread.en.html
+++ b/cgi/templates/txt_thread.en.html
@@ -7,10 +7,10 @@
<a href="#{boards_url}#{board}/">■Return to BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Entire thread</a>
<?py if thread['length'] > 100: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100">First 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100" rel="nofollow">First 100</a>
<?py #endif ?>
<?py if thread['length'] > 51: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Last 50</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50" rel="nofollow">Last 50</a>
<?py #endif ?>
<a href="#bottom">&#9660;Bottom&#9660;</a>
</div>
@@ -76,13 +76,13 @@
<a href="#{boards_url}#{board}">■Return to BBS■</a>
<a href="#{boards_url}#{board}/read/#{thread['timestamp']}/">Entire thread</a>
<?py if prevrange: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}">Previous 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{prevrange}" rel="nofollow">Previous 100</a>
<?py #endif ?>
<?py if nextrange: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}">Next 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/#{nextrange}" rel="nofollow">Next 100</a>
<?py #endif ?>
<?py if thread['length'] > 51: ?>
- <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50">Last 50</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/l50" rel="nofollow">Last 50</a>
<?py #endif ?>
<a href="#top">&#9650;Top&#9650;</a>
</div>
diff --git a/cgi/templates/txt_thread.html b/cgi/templates/txt_thread.html
index b01a126..4ce6009 100644
--- a/cgi/templates/txt_thread.html
+++ b/cgi/templates/txt_thread.html
@@ -7,10 +7,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">Primeros 100</a>
+ <a href="#{boards_url}#{board}/read/#{thread['timestamp']}/-100" rel="nofollow">Primeros 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="#bottom">&#9660;Bajar&#9660;</a>
</div>
@@ -71,13 +71,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>
</div>