Itemplate Yeblogi

i18n/conf.yml ngaphandle kwe use: Blog ithetha ukusebenzisa itemplate yeblogi yokunikezelwa.

Ifayile engu markdown yeposti yebhlog idinga ukuqwalasela ulwazi lwemeta.

Ulwazi lweMeta kufuneka lube ekuqaleni kwefayile, luqale ngo --- kwaye luphele ngo --- Ifomati yolwazi loqwalaselo oluphakathi luyi YAML .

Ifayile yedemo iqwalaselwe ngolu hlobo lulandelayo:

---

brief: |
  this is a demo brief
  you can write multiline

---

# title

… …

brief ibonisa isishwankathelo somxholo, esiza kuboniswa kwiphepha lesalathisi seblogi.

Ngoncedo luka YMAL ' | `Isintaksi, ungabhala izishwankathelo zemigca emininzi.

Uqwalaselo lomthi wolawulo kwicala lasekunene lebhlog kwakhona ziifayile TOC (bona isahluko sangaphambili kuphela ngamanqaku adweliswe kwi TOC aya kuvela kwisalathiso sephepha lasekhaya lebhlog.

Amanqaku angenalo ulwazi lwemeta akayi kuvela kwiphepha lasekhaya leblogi, kodwa angavela kulawulo lomthi osekunene.

Ulwazi Lombhali

Ulwazi lombhali lunokubhalwa kwimeta yolwazi lwenqaku, njenge:

author: marlowe

Emva koko uhlele author.yml kuluhlu lolwimi lwemvelaphi kwaye wongeze ulwazi lombhali, olunje :

marlowe:
  name: Eleanor Marlowe
  title: Senior Translator
  url: https://github.com/i18n-site

name , url kunye title zonke zikhetho. Ukuba name ayimiselwanga, igama eliphambili (apha marlowe ) liya kusetyenziswa njenge name .

Jonga iprojekthi yedemo begin.md kunye ne author.yml

Inqaku Eliphiniweyo

Ukuba ufuna ukuqhobosha inqaku phezulu, nceda sebenzisa i18n.site kwaye uhlele iifayile xxx.yml ngezantsi .i18n/data/blog , kwaye utshintshe isitampu sexesha kwinani elithabathayo (amanani amaninzi athabathayo azakuhlelwa ukusuka kwenkulu ukuya kwelincinci).