Customized Footer

Ndichiri kutora iyo demo purojekiti semuenzaniso, .i18n/htm/foot.pug mune md dhairekitori inotsanangura iyo yepasi pewebhusaiti.

Footer Style

Kune matatu css mafaera pasi md/.i18n/htm mune demo chirongwa.

Icon Font

Iyo yepasi icon inogadzirwa nekugadzira font inonzi iconfont.cn F Chirungu vhezheni /中文版).

Ndokumbirawo ugadzire yako icon font uye tsiva iyo icon font mukumisikidzwa conf.css :

@font-face {
  font-family: "F";
  src: url(//p.3ti.site/ico1.woff2) format("woff2");
}

#Ft>b>a.site {
  background: url("//p.3ti.site/i18n.svg") 0 0 / cover;
  display: block;
  height: 24px;
  opacity: 0.8;
  width: 115px;
  flex-shrink: 0;
}

Ndokumbira usataure zvakananga iyo font faira ye iconfont.cn nekuti haigone kurodha pasafari browser.

Multilingual Footer

Kodhi .i18n/htm/foot.pug ndeiyi inotevera :

#Ft
  b
    a.site(href="/")
    b ${I18N.C}

Pano ${I18N.C} inoenderana en/i18n.yml :

C: Power By <a class="a" href="https://i18n.site">i18n.site</a>

Uchishandisa ${I18N.xxx} yakafanana neiyi nzira yekunyora, yakasanganiswa i18n.yml , unogona kuwana mitauro yakawanda yepasirese yepasi.

Kuwedzera class="a" kune chinongedzo ndiko kudzivirira chinongedzo kubva MarkDown Ona : HTML YAML : Markdown