Selaa lähdekoodia

rewrite contact.md with inline yaml

Xi Ruoyao 2 vuotta sitten
vanhempi
commit
caceabceff
1 muutettua tiedostoa jossa 21 lisäystä ja 16 poistoa
  1. 21 16
      content/home/contact.md

+ 21 - 16
content/home/contact.md

@@ -1,17 +1,22 @@
-+++
-widget = "contact"
-headless = "true"
-title = "Contact"
-subtitle = ""
-weight = 70
-active = true
+---
+widget: "contact"
+headless: true
+title: Contact
+subtitle:
+weight: 70
 
-content.email = "xry111@mengyan1223.wang"
-content.address.street = "266 Xifeng Road"
-content.address.city = "Xi'an"
-content.address.region = 'Shaanxi'
-content.address.postcode = '710126'
-content.address.country = 'China'
-content.address.country_code = 'CN'
-content.gnupg_key = '12E9D32E766A57DC069D76B0D95E4716CCBB34DC'
-+++
+content:
+  email: "xry111@mengyan1223.wang"
+  address:
+    street: "266 Xifeng Road"
+    city: "Xi'an"
+    region: 'Shaanxi'
+    postcode: '710126'
+    country: 'China'
+    country_code: 'CN'
+  contact_links:
+    - icon: key
+      icon_pack: fa
+      name: GnuPG Key
+      link: "https://keys.openpgp.org/vks/v1/by-fingerprint/12E9D32E766A57DC069D76B0D95E4716CCBB34DC"
+---