YAMLResume

HTML 引擎

HTML 引擎生成乾淨、適用於網路的 HTML 版本履歷。這特別適用於在網站中嵌入履歷、線上分享或創建基於網路的作品集。

配置

要使用 HTML 引擎,請在佈局配置中指定 engine: html

layouts:
  - engine: html
    template: calm
    # ... 其他選項

章節

sections 選項允許您自定義章節標題及其順序。更多資訊,請參見章節文件

layouts:
  - engine: html
    sections:
      aliases:
        work: "Professional Experience"
        education: "Education"
        skills: "Skills"
      order:
        - basics
        - work
        - education

模板

template 選項允許您從各種模板中選擇。每個模板都有獨特的設計和佈局。您可以在模板文件中找到可用模板的列表。

layouts:
  - engine: html
    template: calm

排版

typography 選項允許您自定義履歷中使用的字體樣式。

字體大小

fontSize 選項允許您設置文件的基本字體大小。 HTML 引擎支援從 14px20px 的字體大小。

字體家族

fontFamily 選項允許您指定字體家族名稱和/或通用家族名稱的優先列表。 這與 CSS 的 font-family 屬性完全相同。

layouts:
  - engine: html
    typography:
      fontSize: 16px
      fontFamily: "Merriweather, serif"

進階設置

advanced 選項允許您配置 HTML 引擎的進階設置。

layouts:
  - engine: html
    advanced:
      showIcons: true
      # HTML 文件的自定義標題。
      title: "我的自定義履歷標題"
      # HTML 文件的自定義頁尾。
      footer: "由 <a href=\"https://yamlresume.dev\">YAMLResume</a> 生成"
      # HTML 文件的 Meta 描述。
      description: "用於 SEO 的履歷簡短描述。"
      # HTML 文件的 Meta 關鍵字。
      keywords: "履歷, CV, yamlresume"
Edit on GitHub

Last updated on