Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/layouts/index_site.jet.html
kilo 2cca143121 Hide "support pantsu"" if announcement is there (#1340)
* add no-center class if announcement exist

* add no-center class that hides .no-center > center

* Update index_site.jet.html
2017-08-04 10:10:46 +10:00

21 lignes
603 o
HTML

{* We extend the base template *}
{{ extends "partials/base" }}
{{import "partials/helpers/search"}}
{* We apply the menu in the base template *}
{{ block menu()}}
{{include "partials/menu/site"}}
{{end}}
{{block titleBase()}} - {{block title()}}{{end}}{{end}}
{{ block content_body_base()}}
{{ if isset(Infos["system"])}}
{{ range Infos["system"]}}
<div id="announce"><span style="font-weight:bold;">{{T("announcement")}}</span><br>{{ .|raw }}</div>
{{ end }}
{{ end }}
{{ yield search_refine(url=URL.Parse("/search")) }}
{{ block content_body()}}{{end}}
{{end}}