doctype html
include @/helper/helper.pug
include @/helper/ui.pug

html(lang="zh-cn")
  block var
  head
    meta(charset="UTF-8")
    meta(http-equiv="X-UA-Compatible", content="IE=edge")
    link(rel="shortcut  icon" href="/public/favicon.ico" type="image/x-icon")
    meta(name="viewport", content="width=device-width, initial-scale=1.0")
    title #{title || 'WEB'}
    link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css", integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx", crossorigin="anonymous")
    link(rel="stylesheet", href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css")
    +css("style/common/style.css")
    block head
  body
    include @/helper/flush.pug
    if !hideHeader
        +header()
    block content
    script(src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js", integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa", crossorigin="anonymous")
    block script
    //- include @/helper/rain.pug