Skip to content

Commit

Permalink
feat: sources
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Mar 2, 2018
1 parent 51ba6b4 commit 85b1bc1
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
3 changes: 3 additions & 0 deletions _config.demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ paginate_path: /blog/page:num
excerpt_separator: <!--more-->
excerpt_type: html # text | html

## Sources ##
# sources: bootcss #eg: bootcss | unpkg

## Build ##
markdown: kramdown
highlighter: rouge
Expand Down
3 changes: 3 additions & 0 deletions _config.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ paginate_path: /blog/page:num
excerpt_separator: <!--more-->
excerpt_type: html # text | html

## Sources ##
# sources: bootcss #eg: bootcss | unpkg

## Build ##
markdown: kramdown
highlighter: rouge
Expand Down
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ paginate_path: /blog/page:num
excerpt_separator: <!--more-->
excerpt_type: text # text | html

## Sources ##
# sources: bootcss #eg: bootcss | unpkg

## Build ##
markdown: kramdown
highlighter: rouge
Expand Down
24 changes: 12 additions & 12 deletions _data/variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ default:
all: /all.html
rss: /feed.xml
lang: zh
sources: world
sources: bootcss
toc:
selectors: 'h1,h2,h3'

sources:
world:
jquery: 'https://unpkg.com/jquery@3.3.1/dist/jquery.min.js'
leancloud_js_sdk: '//cdn1.lncld.net/static/js/3.4.1/av-min.js'
chart: 'https://unpkg.com/chart.js@2.7.1/dist/Chart.min.js'
gitalk:
js: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.min.js'
css: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.css'
mathjax: 'https://unpkg.com/mathjax@2.7.3/unpacked/MathJax.js?config=TeX-MML-AM_CHTML'
mermaid: 'https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js'
cn:
bootcss:
jquery: 'https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js'
leancloud_js_sdk: '//cdn1.lncld.net/static/js/3.4.1/av-min.js'
chart: 'https://cdn.bootcss.com/Chart.js/2.7.1/Chart.bundle.min.js'
gitalk:
js: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.js'
css: 'https://cdn.bootcss.com/gitalk/1.2.2/gitalk.min.css'
mathjax: 'https://cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML'
mermaid: 'https://cdn.bootcss.com/mermaid/7.1.2/mermaid.min.js'
mermaid: 'https://cdn.bootcss.com/mermaid/7.1.2/mermaid.min.js'
unpkg:
jquery: 'https://unpkg.com/jquery@3.3.1/dist/jquery.min.js'
leancloud_js_sdk: '//cdn1.lncld.net/static/js/3.4.1/av-min.js'
chart: 'https://unpkg.com/chart.js@2.7.1/dist/Chart.min.js'
gitalk:
js: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.min.js'
css: 'https://unpkg.com/gitalk@1.2.2/dist/gitalk.css'
mathjax: 'https://unpkg.com/mathjax@2.7.3/unpacked/MathJax.js?config=TeX-MML-AM_CHTML'
mermaid: 'https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js'
3 changes: 3 additions & 0 deletions test/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ paginate_path: /blog/page:num
excerpt_separator: <!--more-->
excerpt_type: text # text | html

## Sources ##
# sources: bootcss #eg: bootcss | unpkg

## Build ##
markdown: kramdown
highlighter: rouge
Expand Down

0 comments on commit 85b1bc1

Please sign in to comment.