Selaa lähdekoodia

feat: update author archetype

To reflect changes to author data model in 601620c .
George Cushen 5 vuotta sitten
vanhempi
commit
3e74580053
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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