change demo url

This commit is contained in:
hillerliao
2020-04-12 18:04:36 +08:00
parent a0bfac9f3e
commit ea01b359c1
5 changed files with 24 additions and 23 deletions

View File

@@ -25,9 +25,9 @@ def ctx(category=''):
posts = json.loads(res.text)['data']
items = list(map(parse, posts))
return {
'title': f'快讯 - 未央网',
'description': f'快讯 - 未央网',
'link': f'{domain}/category/express',
'title': f'{category} - 文章 - 未央网',
'description': f'文章 - 未央网',
'link': f'{domain}/tag/{category}',
'author': f'hillerliao',
'items': items
}