123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- # NOTE:
- # some of the settings in this file get overwritten in later config
- # files like _prod.yml, _dev.yml, and _defaults.yml
- # =======
- # Site settings
- # =======
- title: Cordova 中文网
- title_suffix: "Cordova 中文网"
- url: "https://cordova.apache.org" # the base hostname & protocol
- baseurl: "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
- rss_path: /feed.xml
- description: >
- Apache Cordova 是一组设备 api,允许 web 移动应用程序开发人员通过 JavaScript 访问本机设备功能。
- excerpt_separator: <!--more-->
- # the version to which /latest/ points
- # NOTE:
- # this value gets overwritten in _version.yml, which is a generated file
- latest_docs_version: dev
- # the docs version that is shown by default when clicking on docs links on the site
- default_linked_docs_version: latest
- # the language that serves as the source for the translations
- src_language: zh-cn
- # NOTE:
- # this value _might_ get overwritten on some pages;
- # see _defaults.yml, which is a generated file
- language: zh-cn
- # NOTE:
- # this value gets overwritten in _defaults.yml, which is a generated file
- defaults:
- # =======
- # Build settings
- # =======
- source: www
- destination: build-dev
- # don't erase these files in the output directory
- keep_files: [".git", ".svn", "wiki-images", "images", "downloads"]
- lsi: false # don't produce an index for related posts
- safe: false # disables plugins
- markdown: redcarpet
- redcarpet:
- extensions:
- # this enables code blocks denoted by backticks, like in GFM
- # NOTE:
- # this is turned on by default by Jekyll, but is still
- # specified explicitly here in case the defaults change
- - fenced_code_blocks
- # this allows code blocks and HTML blocks to
- # not have a leading or trailing newline
- - lax_spacing
- # allows tables
- - tables
- # surrounds highlighted text with <mark>s
- - highlight
- highlighter: rouge
- kramdown:
- input: GFM
- hard_wrap: false
- syntax_highlighter: rouge
- # exclude these directories from the build
- exclude:
- - static/css-src
- algolia_api_key: "0a916ab198bd93d031aa70611271e42e"
|