瀏覽代碼

:gear: Adds projects collection

Jeff Triplett 3 月之前
父節點
當前提交
dd4f5f1cf9
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      _config.yml

+ 6 - 0
_config.yml

@@ -14,6 +14,7 @@ plugins:
   - jekyll-optional-front-matter
   - jekyll-seo-tag
 include:
+  - "_projects"
   - README.md
 exclude:
   - "*.md"
@@ -42,6 +43,11 @@ defaults:
       permalink: "/"
       layout: "default"
 
+collections:  # process the _data folder
+  projects:
+    output: false
+    permalink: /:collection/:name/
+
 aux_links:
   "Awesome Django on GitHub":
     - "//github.com/wsvincent/awesome-django"