瀏覽代碼

feat: update author archetype

To reflect changes to author data model in 601620c .
George Cushen 5 年之前
父節點
當前提交
3e74580053
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      archetypes/authors/_index.md

+ 2 - 2
archetypes/authors/_index.md

@@ -1,10 +1,10 @@
 ---
 # Display name
-name: "{{ replace .Name "-" " " | title }}"
+title: "{{ replace .Name "-" " " | title }}"
 
 # Username (this should match the folder name and the name on publications)
 authors:
-- Name "{{ replace .Name "-" " " | title }}"
+- "{{ urlize .Name }}"
 
 # Is this the primary user of the site?
 superuser: false