Ver código fonte

feat: update author archetype

To reflect changes to author data model in 601620c .
George Cushen 5 anos atrás
pai
commit
3e74580053
1 arquivos alterados com 2 adições e 2 exclusões
  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