This commit is contained in:
SDE
2023-05-16 17:14:16 +03:00
commit c17da7eaab
157 changed files with 14503 additions and 0 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