diff --git a/_data/variables.yml b/_data/variables.yml index a0868277946..9ddfebc2d5d 100644 --- a/_data/variables.yml +++ b/_data/variables.yml @@ -7,4 +7,15 @@ default: rss: /feed.xml lang: zh toc: - selectors: 'h1,h2,h3' \ No newline at end of file + selectors: 'h1,h2,h3' + +sources: + 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' + toc: 'https://cdn.bootcss.com/toc/0.3.2/toc.min.js' + chart: 'https://cdn.bootcss.com/Chart.js/2.7.1/Chart.bundle.min.js' + gitalk: + js: '//unpkg.com/gitalk/dist/gitalk.min.js' + css: '//unpkg.com/gitalk/dist/gitalk.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' diff --git a/_includes/components/tags.html b/_includes/components/tags.html index 08a2b818c93..6992cc319df 100644 --- a/_includes/components/tags.html +++ b/_includes/components/tags.html @@ -15,10 +15,10 @@ {%- if gap_size < 1 -%} {%- assign gap_size = 1 -%} {%- endif -%} -
-{%- include snippets/page-title.html -%} - + \ No newline at end of file diff --git a/_layouts/base.html b/_layouts/base.html new file mode 100644 index 00000000000..9d3f490e5f1 --- /dev/null +++ b/_layouts/base.html @@ -0,0 +1,37 @@ + +{%- include snippets/get-lang.html -%} + + + {%- include common-head.html -%} + {%- include head-icons-rel.html -%} + {%- assign __path = '/assets/css/blog.css' -%} + {%- include snippets/prepend-baseurl.html -%} + + {%- include scripts/utils.html -%} + + +