fix: Use correct generator namein example config

This commit is contained in:
oSumAtrIX 2023-10-30 00:11:11 +01:00
parent 0ce6af1d45
commit 3181265623
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 5 additions and 5 deletions

View File

@ -102,11 +102,11 @@ class ConnectionsGenerator(Generator):
super().__init__("connections", api)
def generate(self, config, path):
new_social = config["connections"]
new_connections = config["connections"]
social_path = join(path, f"connections.json")
connections_path = join(path, f"connections.json")
write_json(new_social, social_path)
write_json(new_connections, connections_path)
class TeamGenerator(Generator):

View File

@ -10,9 +10,9 @@
},
{
"generators": [
"social"
"connections"
],
"socials": {
"connections": {
"website": "https://yourwebsite.com"
}
},