GeneralApp add
This commit is contained in:
SDE
2023-06-19 17:19:18 +03:00
parent b0ad8e41d2
commit b2bd830b6e
69 changed files with 5337 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
def get_ld_FAQ(data_Dict):
FAQ_list = []
for key, val in data_Dict.items():
FAQ_list.append({
"@type": "Question",
"name": key,
"acceptedAnswer": {
"@type": "Answer",
"text": val
}
})
data = {
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": FAQ_list
}
return data