Browse Source

feat: update author archetype

To reflect changes to author data model in 601620c .
George Cushen 5 năm trước cách đây
mục cha
commit
3e74580053
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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