Parcourir la source

feat: update author archetype

To reflect changes to author data model in 601620c .
George Cushen il y a 5 ans
Parent
commit
3e74580053
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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