Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Graphe des révisions

4 commits

Auteur SHA1 Message Date
Ramon Dantas
1968d2ae54 Move translation func to template variables (#652)
* Add T field to template variables

* Remove languages.SetTranslationFromRequest

* Add Tfunc on handlers

* Remove T and Ts from template_functions

* Update templates

Change the templates to use the local Tfunc, instead of the global one.
Also changed the signature of the fields on template_variables.go, so that
they return a template.HTML to avoid escaping problems.

* Remove unnecessary variable
2017-05-21 08:38:28 +10:00
ElegantMonkey
0cfa2bff21 Extract strings from 404 page and FAQ 2017-05-08 16:12:58 -03:00
bakape
8d24850687 Scale 404 image better 2017-05-07 16:59:55 +03:00
Andrew Zhao
c2606a37ed added custom 404 page 2017-05-06 23:59:45 -07:00