Botlaaseng Bo Ikhethileng

E ntse e nka morero oa demo e le mohlala, .i18n/htm/foot.pug bukeng ea md e hlalosa botlaaseng ba sebaka sa marang-rang.

Setaele Sa Maoto

Ho na le lifaele tse tharo css tlasa md/.i18n/htm morerong oa demo.

Fonte Ea Setšoantšo

Letšoao la botlaaseng le hlahisoa ka ho theha mohala F iconfont.cn mofuta oa Senyesemane /中文版).

Ka kopo iketsetse fonte ea hau ea setšoantšo 'me u emise fonte ea setšoantšo sebakeng sa tlhophiso ho 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;
}

Ka kopo u se ke ua bua ka ho toba faele ea fonte ea iconfont.cn hobane e ke ke ea kenngoa ho sebatli sa safari.

Botlaaseng Ba Lipuo Tse Ngata

Khoutu ho .i18n/htm/foot.pug e tjena :

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

Mona ${I18N.C} e tsamaellana le en/i18n.yml :

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

U sebelisa ${I18N.xxx} e ts'oanang le mokhoa ona oa ho ngola, o kopantsoe le i18n.yml , o ka fihlella lipuo tse ngata tsa machaba tsa botlaaseng.

Ho eketsa class="a" ho sehokelo ke ho thibela sehokelo hore se fetohe ho MarkDown Bona : YAML : ka thibela joang hore sehokelo HTML se fetohe ho Markdown .